diff --git a/frameworks/ans/BUILD.gn b/frameworks/ans/BUILD.gn index c0b17fc2ecd1cbaff7fb247203d1836b3397a912..f930ffb37365306142d895fb20cae8ab95273c75 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 0000000000000000000000000000000000000000..38adbb8bcf27f9b96dc5f32f5cdf39f4273cfd02 --- /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*; +};