diff --git a/global/crossplatform/intletstest/BUILD.gn b/global/crossplatform/intletstest/BUILD.gn index fdaa7a0586ae3017920a57033673117a24441da8..8cf1c0c22a3ed96b64d1a904262a94e3e91856a4 100644 --- a/global/crossplatform/intletstest/BUILD.gn +++ b/global/crossplatform/intletstest/BUILD.gn @@ -20,6 +20,7 @@ ohos_js_hap_suite("intl_ets_test") { ] ets2abc = true certificate_profile = "./signature/openharmony_sx.p7b" + # hap_name: HAP的名字,可选,默认为目标名 hap_name = "intl_ets_test" subsystem_name = "global" @@ -28,6 +29,7 @@ ohos_js_hap_suite("intl_ets_test") { ohos_app_scope("windowStage_app_profile") { # app_profile: HAP的AppScope中的app.json,只在Stage模型下使用 app_profile = "AppScope/app.json" + # sources: 资源文件路径 sources = [ "AppScope/resources" ] } @@ -38,8 +40,10 @@ ohos_js_assets("windowStage_js_assets") { ohos_resources("windowStage_resources") { # sources: 资源文件路径 sources = [ "src/main/resources" ] + # deps: 当前目标的依赖 deps = [ ":windowStage_app_profile" ] + # hap_profile: HAP的config.json,Stage模型对应module.json hap_profile = "src/main/module.json" -} \ No newline at end of file +}