已合并
feature: add version_script for cj_settings_ffi to control symbol export #1090
ding_hong_4创建于 16 天前
feature: add version_script for cj_settings_ffi to control symbol export #1090
已合并
共 2 个文件变更+24-1
| @@ -1,4 +1,4 @@ | |||
| 1 | -# Copyright (c) 2024 Huawei Device Co., Ltd. | 1 | +# Copyright (c) 2024-2026 Huawei Device Co., Ltd. |
| 2 | # Licensed under the Apache License, Version 2.0 (the "License"); | 2 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | # you may not use this file except in compliance with the License. | 3 | # you may not use this file except in compliance with the License. |
| 4 | # You may obtain a copy of the License at | 4 | # You may obtain a copy of the License at |
| @@ -24,6 +24,8 @@ ohos_shared_library("cj_settings_ffi") { | |||
| 24 | 24 | ||
| 25 | deps = [] | 25 | deps = [] |
| 26 | 26 | ||
| 27 | + version_script = "libcj_settings_ffi.map" | ||
| 28 | + | ||
| 27 | external_deps = [ | 29 | external_deps = [ |
| 28 | "ability_runtime:ability_manager", | 30 | "ability_runtime:ability_manager", |
| 29 | "ability_runtime:abilitykit_native", | 31 | "ability_runtime:abilitykit_native", |
| @@ -0,0 +1,21 @@ | |||
| 1 | +# Copyright (c) 2026 Huawei Device Co., Ltd. | ||
| 2 | +# Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 3 | +# you may not use this file except in compliance with the License. | ||
| 4 | +# You may obtain a copy of the License at | ||
| 5 | +# | ||
| 6 | +# http://www.apache.org/licenses/LICENSE-2.0 | ||
| 7 | +# | ||
| 8 | +# Unless required by applicable law or agreed to in writing, software | ||
| 9 | +# distributed under the License is distributed on an "AS IS" BASIS, | ||
| 10 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 11 | +# See the License for the specific language governing permissions and | ||
| 12 | +# limitations under the License. | ||
| 13 | + | ||
| 14 | +{ | ||
| 15 | + global: | ||
| 16 | + extern "C" { | ||
| 17 | + Ffi*; | ||
| 18 | + }; | ||
| 19 | + local: | ||
| 20 | + *; | ||
| 21 | +}; | ||