refactor: 工程规范化,唯一入口为 products/phone

- entry 模块改为 har(静态共享包),移除 abilities 和入口能力
- entry/build-profile.json5 简化,删除 release 混淆配置
- 根 build-profile.json5 移除 entry 模块,phone 为唯一入口
- 保留 entry 的 requestPermissions 作为依赖参考
This commit is contained in:
root
2026-05-01 09:22:54 +08:00
parent 5ae2143822
commit 5e4fb8222a
3 changed files with 1 additions and 62 deletions

View File

@ -1,38 +1,8 @@
{
"apiType": "stageMode",
"buildOption": {
"resOptions": {
"copyCodeResource": {
"enable": false
}
}
},
"buildOptionSet": [
{
"name": "release",
"arkOptions": {
"obfuscation": {
"ruleOptions": {
"enable": true,
"files": [
"./obfuscation-rules.txt"
]
}
}
},
"resOptions": {
"copyCodeResource": {
"enable": false
}
}
},
],
"targets": [
{
"name": "default"
},
{
"name": "ohosTest",
}
]
}