Pull Request已成功合入, 合并人@openharmony_ci
(感谢 ding_hong_4 的贡献)开始进行AI检视!
AI review has been started, please wait...


| check type | result | report |
|---|---|---|
| start ai_review | pass | - |


感谢提交 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.


您好,Committer @dongqingran ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。
Hello, Committer @dongqingran . 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.


相关的Issue
https://gitcode.com/openharmony/notification_distributed_notification_service/issues/4367
原因(目的、解决的问题等)
为 CJ FFI 共享库添加 version_script,仅导出 FFI 边界符号,其余符号本地化,缩小动态符号表、避免符号污染。
描述(做了什么,变更了什么)
新增 frameworks/cj/ffi/libcj_notification_manager_ffi.map(global 导出 extern "C" Ffi*,local: *),并在 BUILD.gn 的 cj_notification_manager_ffi 目标新增 version_script,控制 .so 动态符号导出。
验证结果(新增、改动、可能影响的功能)
本地完成符号审计与文本核对;构建目标后确认 .so 仅导出预期符号、历史符号无遗漏。