已开启
[Enhancement]: 为 applications_contacts_data 的 contact_cj 共享库 添加 version_script 符号导出控制 #238
ding_hong_4创建于  10 天前
ding_hong_4
ding_hong_4
10 天前 创建

为 applications_contacts_data 仓库的 CJ FFI 共享库添加 version_script,控制动态符号导出。

目的:

  • 仅导出 CJ FFI 边界符号(Ffi 前缀的 C 链接函数,及历史导出符号),其余符号全部本地化
  • 缩小动态符号表、避免符号污染,并配合 --gc-sections / --icf 做裁剪

修改内容:

  • 新增 contactsCJ/libcj_contact_ffi.map
  • contactsCJ/BUILD.gn:contact_cj 目标新增 version_script

(本 issue 为关联 issue,具体以 PR 为准)

likedislike
ding_hong_4ding_hong_4
10 天前 添加了label:enhancement
openharmony_ci
openharmony_ci成员
10 天前 评论:

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@songxinjing](https://gitcode.com/songxinjing) [@yanghaoqian](https://gitcode.com/yanghaoqian) 。如果需要调整订阅PR、Issue的变更状态,请访问链接


Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
10 天前 添加了label:waiting_for_assign
ding_hong_4ding_hong_4
10 天前 关联了pull request:feature: add version_script for contact_cj to control symbol export