diff --git a/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/BUILD.gn b/aafwk/aafwk_standard/serviceability/stserviceabilityserversecond/BUILD.gn index 8866bf52443f3c28f7855c90a06b0bc9ab2bc98a..4c39eddfaba85f5bfd3615a337a85ac09b3692bf 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"