提交 183fc0f8 编写于 作者: H hu0475

修改gn格式相关问题

Signed-off-by: Nhu0475 <huyanqiang5@huawei.com>
...@@ -17,8 +17,8 @@ group("global") { ...@@ -17,8 +17,8 @@ group("global") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"crossplatform/resourcemanageretstest:resourceManager_ets_test",
"crossplatform/i18netstest:i18n_ets_test", "crossplatform/i18netstest:i18n_ets_test",
"crossplatform/resourcemanageretstest:resourceManager_ets_test",
"global_napi_test:ActsGlobalNapiTest", "global_napi_test:ActsGlobalNapiTest",
"global_stage:global_stage_hap", "global_stage:global_stage_hap",
"i18n_standard/intljs:intljs_test", "i18n_standard/intljs:intljs_test",
......
...@@ -21,6 +21,7 @@ ohos_js_hap_suite("i18n_ets_test") { ...@@ -21,6 +21,7 @@ ohos_js_hap_suite("i18n_ets_test") {
] ]
ets2abc = true ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
# hap_name: HAP的名字,可选,默认为目标名 # hap_name: HAP的名字,可选,默认为目标名
hap_name = "i18n_ets_test" hap_name = "i18n_ets_test"
subsystem_name = "global" subsystem_name = "global"
...@@ -29,6 +30,7 @@ ohos_js_hap_suite("i18n_ets_test") { ...@@ -29,6 +30,7 @@ ohos_js_hap_suite("i18n_ets_test") {
ohos_app_scope("windowStage_app_profile") { ohos_app_scope("windowStage_app_profile") {
# app_profile: HAP的AppScope中的app.json,只在Stage模型下使用 # app_profile: HAP的AppScope中的app.json,只在Stage模型下使用
app_profile = "AppScope/app.json" app_profile = "AppScope/app.json"
# sources: 资源文件路径 # sources: 资源文件路径
sources = [ "AppScope/resources" ] sources = [ "AppScope/resources" ]
} }
...@@ -39,8 +41,10 @@ ohos_js_assets("windowStage_js_assets") { ...@@ -39,8 +41,10 @@ ohos_js_assets("windowStage_js_assets") {
ohos_resources("windowStage_resources") { ohos_resources("windowStage_resources") {
# sources: 资源文件路径 # sources: 资源文件路径
sources = [ "src/main/resources" ] sources = [ "src/main/resources" ]
# deps: 当前目标的依赖 # deps: 当前目标的依赖
deps = [ ":windowStage_app_profile" ] deps = [ ":windowStage_app_profile" ]
# hap_profile: HAP的config.json,Stage模型对应module.json # hap_profile: HAP的config.json,Stage模型对应module.json
hap_profile = "src/main/module.json" hap_profile = "src/main/module.json"
} }
...@@ -20,6 +20,7 @@ ohos_js_hap_suite("resourceManager_ets_test") { ...@@ -20,6 +20,7 @@ ohos_js_hap_suite("resourceManager_ets_test") {
] ]
ets2abc = true ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
# hap_name: HAP的名字,可选,默认为目标名 # hap_name: HAP的名字,可选,默认为目标名
hap_name = "resourceManager_ets_test" hap_name = "resourceManager_ets_test"
subsystem_name = "global" subsystem_name = "global"
...@@ -28,6 +29,7 @@ ohos_js_hap_suite("resourceManager_ets_test") { ...@@ -28,6 +29,7 @@ ohos_js_hap_suite("resourceManager_ets_test") {
ohos_app_scope("windowStage_app_profile") { ohos_app_scope("windowStage_app_profile") {
# app_profile: HAP的AppScope中的app.json,只在Stage模型下使用 # app_profile: HAP的AppScope中的app.json,只在Stage模型下使用
app_profile = "AppScope/app.json" app_profile = "AppScope/app.json"
# sources: 资源文件路径 # sources: 资源文件路径
sources = [ "AppScope/resources" ] sources = [ "AppScope/resources" ]
} }
...@@ -38,8 +40,10 @@ ohos_js_assets("windowStage_js_assets") { ...@@ -38,8 +40,10 @@ ohos_js_assets("windowStage_js_assets") {
ohos_resources("windowStage_resources") { ohos_resources("windowStage_resources") {
# sources: 资源文件路径 # sources: 资源文件路径
sources = [ "src/main/resources" ] sources = [ "src/main/resources" ]
# deps: 当前目标的依赖 # deps: 当前目标的依赖
deps = [ ":windowStage_app_profile" ] deps = [ ":windowStage_app_profile" ]
# hap_profile: HAP的config.json,Stage模型对应module.json # hap_profile: HAP的config.json,Stage模型对应module.json
hap_profile = "src/main/module.json" hap_profile = "src/main/module.json"
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册