Files
developtools_integration_ve…/tools/deps_guard
handyohos ab2f6e4c76 Feature: add deps_guard rule for SA libraries
1) SA modules not in whitelist can not be depended, except setting version_script
2) print warning for SA modules without setting shlib_type = "sa"
3) error when non SA modules setting shlib_type = "sa"

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: Icb671422eee5a7c64f62cf74644ddcd4fa3ac7e8

#I69DRG
2023-01-09 09:27:11 +08:00
..
2022-12-24 11:00:50 +08:00

依赖关系看护系统

依赖关系看护系统用于根据编译产物分析各个ELF文件之间的架构依赖关系,对违规的依赖关系进行拦截。

支持的拦截规则如下:

规则名 规则说明
NO-Depends-On-NAPI 所有安装到/system/lib{64}/module目录下的napi模块都不允许被其它模块依赖。
NO-Depends-On-SA 所有的系统SA模块都不允许被其它模块依赖。
ChipsetSDK 所有能被芯片组件模块依赖的系统组件ChipsetSDK模块都需白名单管理,不能依赖白名单之外的系统组件模块。