2024-02-23 06:54:19 +00:00
|
|
|
|
# asset
|
|
|
|
|
|
2023-08-15 08:23:08 +00:00
|
|
|
|
## 环境配置
|
|
|
|
|
1. 单框架代码下载:
|
|
|
|
|
mkdir hmos_trunk
|
|
|
|
|
cd hmos_trunk
|
|
|
|
|
repo init -u http://mgit-tm.rnd.huawei.com/platform/manifest -m system_general.xml -b hmos_trunk --repo-branch=stable --no-repo-verify --repo-branch=stable_py3
|
|
|
|
|
|
|
|
|
|
2. asset代码下载:
|
|
|
|
|
cd base/security
|
2023-09-02 03:49:36 +00:00
|
|
|
|
git clone ssh://git@szv-y.codehub.huawei.com:2222/y00522150/asset.git
|
2023-08-15 08:23:08 +00:00
|
|
|
|
|
2023-08-15 09:01:41 +00:00
|
|
|
|
## 编译运行待补充
|
2023-08-23 09:19:52 +00:00
|
|
|
|
在vendor/huawei/build/component_config/system/generic_generic_arm_64only/hisi_higeneric/newphone_standard/part_config.json添加
|
2023-08-15 09:01:41 +00:00
|
|
|
|
"security:asset":{},
|
|
|
|
|
|
2023-08-23 09:19:52 +00:00
|
|
|
|
编译指令: ./build_system.sh --abi-type generic_generic_arm_64only --device-type hisi_higeneric_newphone_standard --ccache --build-variant root --build-target out/generic_generic_arm_64only/hisi_higeneric_newphone_standard/build_configs/security/asset:asset --build-target out/generic_generic_arm_64only/hisi_higeneric_newphone_standard/build_configs/security/asset:asset_test
|
|
|
|
|
|
|
|
|
|
支持SA自启:各种脚本/push_asset_cfg.bat ,解压执行bat脚本即可。
|
|
|
|
|
|
2023-09-02 03:49:36 +00:00
|
|
|
|
推包命令: 各种脚本/push_asset.bat 修改小包目录位置,执行即可。
|