已合并
CJ module integration with version script #194
CJ module integration with version script #194
已合并
刘涵创建于 25 天前
共 2 个文件变更+24-0
@@ -49,6 +49,9 @@ ohos_shared_library("cj_config_policy_ffi") {
49 if (current_os == "mingw") {49 if (current_os == "mingw") {
50 defines += [ "WINDOWS_PLATFORM" ]50 defines += [ "WINDOWS_PLATFORM" ]
51 }51 }
52+ 
53+ version_script = "libcj_config_policy_ffi.map"
54+ 
52 branch_protector_ret = "pac_ret"55 branch_protector_ret = "pac_ret"
53 innerapi_tags = [ "platformsdk" ]56 innerapi_tags = [ "platformsdk" ]
54 subsystem_name = "customization"57 subsystem_name = "customization"
@@ -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+ CJ*;
18+ };
19+ local:
20+ *;
21+};