提交 9da5519e 编写于 作者: H hu0475

'修改buildgn'

Signed-off-by: Nhu0475 <huyanqiang5@huawei.com>
上级 67251fa2
......@@ -17,8 +17,8 @@ group("request") {
deps = [
"RequestTest_Stage:ActsRequestStageTest",
"RequestTest_ets:ActsRequestETSApiTest",
"crossplatform/RequestTest_ets:ActsRequestETSApiCrossplatformTest",
"newRequestAuthorityTest:ActsRequestAuthorityTest",
"newRequestTest:ActsRequestNewTest",
"crossplatform/RequestTest_ets:ActsRequestETSApiCrossplatformTest"
]
}
......@@ -21,6 +21,7 @@ ohos_js_hap_suite("ActsRequestETSApiCrossplatformTest") {
]
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
# hap_name: HAP的名字,可选,默认为目标名
hap_name = "ActsRequestETSApiCrossplatformTest"
subsystem_name = "request"
......@@ -29,6 +30,7 @@ ohos_js_hap_suite("ActsRequestETSApiCrossplatformTest") {
ohos_app_scope("windowStage_app_profile") {
# app_profile: HAP的AppScope中的app.json,只在Stage模型下使用
app_profile = "AppScope/app.json"
# sources: 资源文件路径
sources = [ "AppScope/resources" ]
}
......@@ -39,8 +41,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
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册