From a5830712c9987a5d2e7efebf53ac073498a7d998 Mon Sep 17 00:00:00 2001 From: cheerful_ricky Date: Fri, 5 Sep 2025 16:47:33 +0800 Subject: [PATCH] add version_script for ans_innerkit Signed-off-by: cheerful_ricky --- frameworks/ans/BUILD.gn | 1 + frameworks/ans/libans_innerkits.map | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 frameworks/ans/libans_innerkits.map diff --git a/frameworks/ans/BUILD.gn b/frameworks/ans/BUILD.gn index c0b17fc2e..f930ffb37 100644 --- a/frameworks/ans/BUILD.gn +++ b/frameworks/ans/BUILD.gn @@ -67,6 +67,7 @@ ohos_shared_library("ans_innerkits") { debug = false } branch_protector_ret = "pac_ret" + version_script = "libans_innerkits.map" include_dirs = [ "${inner_api_path}" ] diff --git a/frameworks/ans/libans_innerkits.map b/frameworks/ans/libans_innerkits.map new file mode 100644 index 000000000..38adbb8bc --- /dev/null +++ b/frameworks/ans/libans_innerkits.map @@ -0,0 +1,20 @@ +# Copyright (c) 2025 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License")*; +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +1.0 { + global: + *; + local: + *mutex*; + *Mutex*; +}; -- Gitee