diff --git a/communication/bluetooth_ble/BUILD.gn b/communication/bluetooth_ble/BUILD.gn index 76822f7d21a8467cd6c5b7bf5ca2b495d114d277..62f8c12f1d6649f4ccefab31a5342b1d563a59de 100644 --- a/communication/bluetooth_ble/BUILD.gn +++ b/communication/bluetooth_ble/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsBluetoothBleJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsBluetoothBleHapTest" + part_name = "bluetooth" + subsystem_name = "communication" } ohos_js_assets("bluetooth_js_assets") { js2abc = true diff --git a/communication/bluetooth_on/BUILD.gn b/communication/bluetooth_on/BUILD.gn index 054097df174f6eed58d4b75b78e3f2f1e33d3222..d29d25d54bad216a86562d0794c9403f390115f8 100644 --- a/communication/bluetooth_on/BUILD.gn +++ b/communication/bluetooth_on/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsBluetoothOnJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsBluetoothOnHapTest" + part_name = "bluetooth" + subsystem_name = "communication" } ohos_js_assets("bluetooth_js_assets") { js2abc = true diff --git a/communication/bluetooth_profile/BUILD.gn b/communication/bluetooth_profile/BUILD.gn index c41a862eacf6d44fb81f81fb2b00c898ba652415..1823dbcfac9b20ae3aa03c53bd534be4d434eb9a 100644 --- a/communication/bluetooth_profile/BUILD.gn +++ b/communication/bluetooth_profile/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsBluetoothProFileJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsBluetoothProFileJsTest" + part_name = "bluetooth" + subsystem_name = "communication" } ohos_js_assets("bluetooth_js_assets") { js2abc = true diff --git a/communication/bluetooth_standard/BUILD.gn b/communication/bluetooth_standard/BUILD.gn index 16ee0ff6013900066eda7c5b8e243974bf68fe80..67c7b344e5cdcc928ea0b7dabead5e7f4e578841 100644 --- a/communication/bluetooth_standard/BUILD.gn +++ b/communication/bluetooth_standard/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsBluetoothJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsBluetoothHapTest" + part_name = "bluetooth" + subsystem_name = "communication" } ohos_js_assets("bluetooth_js_assets") { js2abc = true diff --git a/communication/wifi_p2p/BUILD.gn b/communication/wifi_p2p/BUILD.gn index d46d69c0fc1ff7ef669940c7742c4ae5c72418f1..94309f29b2fccd393b71ecb687a4e190dc35a649 100644 --- a/communication/wifi_p2p/BUILD.gn +++ b/communication/wifi_p2p/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsP2PJSTest") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsP2PJSApiTest" + part_name = "wifi" + subsystem_name = "communication" } ohos_js_assets("wifi_js_assets") { js2abc = true diff --git a/communication/wifi_standard/BUILD.gn b/communication/wifi_standard/BUILD.gn index 0231731227dbac2d8c17289c28bcc8cc8a758b2d..2b257dfa97f7efab9fc33558b4052febf59dda87 100644 --- a/communication/wifi_standard/BUILD.gn +++ b/communication/wifi_standard/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsWifiJSTest") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsWifiJSApiTest" + part_name = "wifi" + subsystem_name = "communication" } ohos_js_assets("wifi_js_assets") { js2abc = true diff --git a/location/geolocation_standard/BUILD.gn b/location/geolocation_standard/BUILD.gn index 94a47226561adde2bed6d8ebad2084dd430cbbfd..582e15fd942175b016885184b05ecd5c7dc53991 100644 --- a/location/geolocation_standard/BUILD.gn +++ b/location/geolocation_standard/BUILD.gn @@ -25,9 +25,8 @@ ohos_js_hap_suite("ActslocationJsTest") { # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActslocationJSApiTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" + part_name = "location" + subsystem_name = "location" } ohos_js_assets("geolocation_js_assets") { source_dir = "./src/main/js/default"