From a89474b842d624af37fb21e2091846bb47655d1a Mon Sep 17 00:00:00 2001 From: jiyong Date: Thu, 9 Dec 2021 09:45:53 +0800 Subject: [PATCH] jiyong@huawei.com Signed-off-by: jiyong --- .../serviceability/stserviceabilityserversecond/BUILD.gn | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/BUILD.gn b/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/BUILD.gn index 8866bf524..4c39eddfa 100644 --- a/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/BUILD.gn +++ b/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/BUILD.gn @@ -13,14 +13,18 @@ import("//test/xts/tools/build/suite.gni") -ohos_js_hap_suite("amsStServiceAilityServerSecond") { +ohos_hap("amsStServiceAilityServerSecond") { hap_profile = "./entry/src/main/config.json" + hap_name = "amsStServiceAilityServerSecond" + subsystem_name = XTS_SUITENAME + final_hap_path = + "${SUITES_OUTPUT_ROOT}/${XTS_SUITENAME}/testcases/${hap_name}.hap" + testonly = true deps = [ ":hjs_demo_js_assets", ":hjs_demo_resources", ] certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "amsStServiceAilityServerSecond" } ohos_js_assets("hjs_demo_js_assets") { source_dir = "./entry/src/main/js/default" -- GitLab