已开启
feature: add version_script for contact_cj to control symbol export #331
feature: add version_script for contact_cj to control symbol export #331
已开启
ding_hong_4创建于 6 天前
ding_hong_4
ding_hong_4
6 天前

相关的Issue

https://gitcode.com/openharmony/applications_contacts_data/issues/238

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

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

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

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

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

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

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

感谢提交 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成员
6 天前 添加了label:dco检查成功
ding_hong_4ding_hong_4
2 天前 强制推送  1 个提交:d5e81de8-feature: add version_script for contact_cj to control symbol export
openharmony_ci
openharmony_ci成员
2 天前 评论:

感谢提交 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
2 天前 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2 天前 评论:

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

likedislike
openharmony_ciopenharmony_ci成员
2 天前 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
2 天前 添加了label:冒烟测试失败
openharmony_ci
openharmony_ci成员
2 天前 评论:

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

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success failed(ecotest timeout) >>>
2 dayu200_tdd success NA >>>
3 master_inner_build failed(联合门禁失败) NA >>>
4 ohos-host_mini_tdd success NA >>>
5 dayu600_7885 success success >>>
6 x86_64_virt success NA >>>

likedislike
ding_hong_4
ding_hong_4
2 天前 评论:

start build

likedislike
openharmony_ciopenharmony_ci成员
2 天前 删除了label:冒烟测试失败
openharmony_ci
openharmony_ci成员
2 天前 评论:

部分构建失败,仅触发失败构建
门禁构建开始,包含代码编译和测试【dayu200测试, dayu200编译, master_inner_build编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a959fdf64650f998b33ecff/runlist

likedislike
openharmony_ciopenharmony_ci成员
2 天前 添加了label:编译成功
openharmony_ciopenharmony_ci成员
1 天前 添加了label:冒烟测试成功
openharmony_ciopenharmony_ci成员
1 天前 通过测试
openharmony_ci
openharmony_ci成员
1 天前 评论:

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

# Device build result test result package
1 dayu200 success success >>>
2 master_inner_build success NA >>>

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

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


Hello, Committer @songxinjing @yanghaoqian . 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