已开启
feature: add version_script for cj_settings_ffi to control symbol export #1090
feature: add version_script for cj_settings_ffi to control symbol export #1090
已开启
ding_hong_4创建于 13 天前
ding_hong_4
ding_hong_4
13 天前

相关的Issue

https://gitcode.com/openharmony/applications_settings/issues/960

原因(目的、解决的问题等)

为 CJ FFI 共享库添加 version_script,仅导出 FFI 边界符号,其余符号本地化,缩小动态符号表、避免符号污染。

描述(做了什么,变更了什么)

新增 cj/settings/libcj_settings_ffi.map(global 导出 extern "C" Ffi*,local: *),并在 BUILD.gn 的 cj_settings_ffi 目标新增 version_script,控制 .so 动态符号导出。

验证结果(新增、改动、可能影响的功能)

本地完成符号审计与文本核对;构建目标后确认 .so 仅导出预期符号、历史符号无遗漏。

likedislike
合并受阻
ding_hong_4ding_hong_4
13 天前 关联了issue:[Enhancement]: 为 applications_settings 的 cj_settings_ffi 共享库 添加 version_script 符号导出控制
openharmony_ciopenharmony_ci成员
13 天前 添加了label:waiting_on_author
openharmony_ci
openharmony_ci成员
13 天前 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
13 天前 添加了label:dco检查成功
ding_hong_4ding_hong_4
9 天前 强制推送  1 个提交:063466ee-feature: add version_script for cj_settings_ffi to control symbol export
openharmony_ci
openharmony_ci成员
9 天前 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
ding_hong_4ding_hong_4
9 天前 强制推送  1 个提交:0cba4f00-feature: add version_script for cj_settings_ffi to control symbol export
openharmony_ci
openharmony_ci成员
9 天前 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
ding_hong_4ding_hong_4
9 天前 强制推送  1 个提交:08c7dd62-feature: add version_script for cj_settings_ffi to control symbol export
openharmony_ci
openharmony_ci成员
9 天前 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
ding_hong_4
ding_hong_4
9 天前 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
9 天前 评论:

首次触发
门禁构建开始,包含静态检查、代码编译和测试【dayu600_7885编译, dayu200编译, x86_64_virt编译, master_inner_build编译, dayu600_7885测试, ohos-host_mini_tdd编译, hap_build编译, dayu200测试】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a959feb64650f998b33f221/runlist

likedislike
openharmony_ciopenharmony_ci成员
9 天前 添加了label:编译成功
openharmony_ciopenharmony_ci成员
9 天前 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
9 天前 添加了label:冒烟测试成功
openharmony_ciopenharmony_ci成员
9 天前 通过测试
openharmony_ci
openharmony_ci成员
9 天前 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a959feb64650f998b33f221/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success success >>>
2 hap_build failed(IGNORE)(compile failed) NA >>>
3 master_inner_build success NA >>>
4 ohos-host_mini_tdd success NA >>>
5 dayu600_7885 success success >>>
6 x86_64_virt success NA >>>

likedislike
openharmony_ciopenharmony_ci成员
9 天前 删除了label:waiting_on_author
openharmony_ciopenharmony_ci成员
9 天前 添加了label:waiting_for_review
openharmony_ci
openharmony_ci成员
9 天前 评论:

您好,Committer @liangweiwei @wuminnan ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。


Hello, Committer @liangweiwei @wuminnan . Please assign someone to review the PR. You can assign a reviewer by using the command "assign [@someone_id]", or you can comment "assign" to review the PR by yourself.

likedislike