From 15affaa36aa64a0fdc3451e99031ac60852ff53d Mon Sep 17 00:00:00 2001 From: jiyong Date: Fri, 10 Dec 2021 19:41:02 +0800 Subject: [PATCH] jiyong@huawei.com Signed-off-by: jiyong --- account/OsAccountTest_js/BUILD.gn | 9 +-------- ace/ace_standard/BUILD.gn | 9 +-------- applications/kitframework/BUILD.gn | 2 -- communication/ipcrpc_standard/ipcrpcservice/BUILD.gn | 3 +-- communication/ipcrpc_standard/ipcrpctest/BUILD.gn | 3 +-- communication/wifi_standard/BUILD.gn | 9 +-------- compileruntime/process_lib_standard/BUILD.gn | 9 +-------- compileruntime/url_lib_standard/BUILD.gn | 9 +-------- compileruntime/util_lib_standard/BUILD.gn | 9 +-------- compileruntime/worker_lib_standard/BUILD.gn | 9 +-------- demo/hjsunit_sample/BUILD.gn | 7 +------ distributeddatamgr/appdatamgrjstest/hap/BUILD.gn | 9 +-------- distributeddatamgr/distributeddatamgrjstest/hap/BUILD.gn | 9 +-------- global/i18n_standard/intljs/BUILD.gn | 9 +-------- global/resmgr_standard/resmgrjs/BUILD.gn | 9 +-------- graphic/windowstandard/BUILD.gn | 9 +-------- hiviewdfx/hiappeventtest/hiappeventjstest/BUILD.gn | 9 +-------- miscservices/TimeTest_js/BUILD.gn | 9 +-------- miscservices/TimerTest_js/BUILD.gn | 9 +-------- multimedia/audio/audio_js_standard/audioManager/BUILD.gn | 9 +-------- multimedia/audio/audio_js_standard/audioPlayer/BUILD.gn | 9 +-------- .../audio/audio_js_standard/audioPlayer_API/BUILD.gn | 9 +-------- .../audio/audio_js_standard/audioRecorder/BUILD.gn | 9 +-------- powermgr/powermgrbattery/BUILD.gn | 9 +-------- startup/startup_standard/BUILD.gn | 9 +-------- storage/storagedsmjstest/BUILD.gn | 9 +-------- storage/storagedsmstabilityjstest/BUILD.gn | 9 +-------- storage/storagefileconcurrentjstest/BUILD.gn | 9 +-------- storage/storagefileioerrorjstest/BUILD.gn | 9 +-------- storage/storagefileiojstest/BUILD.gn | 9 +-------- storage/storagefileioperformancejstest/BUILD.gn | 9 +-------- storage/storagefileioreliabilityjstest/BUILD.gn | 9 +-------- storage/storagefileiostabilityjstest/BUILD.gn | 9 +-------- storage/storagefilestabilityjstest/BUILD.gn | 9 +-------- storage/storagefmspublicjstest/BUILD.gn | 9 +-------- storage/storagefmssharejstest/BUILD.gn | 9 +-------- storage/storagestatfsjstest/BUILD.gn | 9 +-------- updater/update_test/BUILD.gn | 9 +-------- 38 files changed, 37 insertions(+), 284 deletions(-) diff --git a/account/OsAccountTest_js/BUILD.gn b/account/OsAccountTest_js/BUILD.gn index c9e4a0e65..1029b594c 100755 --- a/account/OsAccountTest_js/BUILD.gn +++ b/account/OsAccountTest_js/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("ActsOsAccountJSApiTest") { hap_profile = "./src/main/config.json" deps = [ ":osaccount_js_assets", ":osaccount_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsOsAccountJSApiTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("osaccount_js_assets") { source_dir = "./src/main/js/default" diff --git a/ace/ace_standard/BUILD.gn b/ace/ace_standard/BUILD.gn index f64a48dfb..160261507 100755 --- a/ace/ace_standard/BUILD.gn +++ b/ace/ace_standard/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("ace_standard_test") { hap_profile = "./src/main/config.json" deps = [ ":ace_js_assets", ":ace_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsAceStandardTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("ace_js_assets") { source_dir = "./src/main/js/default" diff --git a/applications/kitframework/BUILD.gn b/applications/kitframework/BUILD.gn index 9bc284e14..1c8dc4392 100644 --- a/applications/kitframework/BUILD.gn +++ b/applications/kitframework/BUILD.gn @@ -15,9 +15,7 @@ import("//test/xts/tools/lite/build/suite_lite.gni") hctest_suite("ActsKitFwkApiTest") { suite_name = "acts" - sources = [ "kitfwk_oem_api_test.c" ] - include_dirs = [ "//test/xts/tools/lite/hctest/include", "//third_party/unity/src", diff --git a/communication/ipcrpc_standard/ipcrpcservice/BUILD.gn b/communication/ipcrpc_standard/ipcrpcservice/BUILD.gn index a3ef163c8..3eaf97834 100644 --- a/communication/ipcrpc_standard/ipcrpcservice/BUILD.gn +++ b/communication/ipcrpc_standard/ipcrpcservice/BUILD.gn @@ -12,15 +12,14 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("ipcrpcService") { hap_profile = "./entry/src/main/config.json" deps = [ ":ipcrpcService_assets", ":ipcrpcService_resources", ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsIpcRpcServiceTest" } ohos_js_assets("ipcrpcService_assets") { diff --git a/communication/ipcrpc_standard/ipcrpctest/BUILD.gn b/communication/ipcrpc_standard/ipcrpctest/BUILD.gn index b4b6063c5..499ad67f0 100644 --- a/communication/ipcrpc_standard/ipcrpctest/BUILD.gn +++ b/communication/ipcrpc_standard/ipcrpctest/BUILD.gn @@ -12,15 +12,14 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("ipcrpcTest") { hap_profile = "./entry/src/main/config.json" deps = [ ":ipcrpcTest_assets", ":ipcrpcTest_resources", ] - certificate_profile = "./signature/openharmony_sx.p7b" - hap_name = "ActsIpcRpcTest" } ohos_js_assets("ipcrpcTest_assets") { diff --git a/communication/wifi_standard/BUILD.gn b/communication/wifi_standard/BUILD.gn index 5496fe740..ec29255d4 100755 --- a/communication/wifi_standard/BUILD.gn +++ b/communication/wifi_standard/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("wifi_standard_test") { hap_profile = "./src/main/config.json" deps = [ ":wifi_js_assets", ":wifi_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsWifiJSApiTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("wifi_js_assets") { source_dir = "./src/main/js/default" diff --git a/compileruntime/process_lib_standard/BUILD.gn b/compileruntime/process_lib_standard/BUILD.gn index 7101aaee3..101287b11 100644 --- a/compileruntime/process_lib_standard/BUILD.gn +++ b/compileruntime/process_lib_standard/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("process_js_test") { hap_profile = "./src/main/config.json" deps = [ ":process_js_assets", ":process_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsProcessJSApiTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("process_js_assets") { source_dir = "./src/main/js/default" diff --git a/compileruntime/url_lib_standard/BUILD.gn b/compileruntime/url_lib_standard/BUILD.gn index 6ca4ca6ad..595e22cca 100644 --- a/compileruntime/url_lib_standard/BUILD.gn +++ b/compileruntime/url_lib_standard/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("url_js_test") { hap_profile = "./src/main/config.json" deps = [ ":url_js_assets", ":url_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsUrlJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("url_js_assets") { source_dir = "./src/main/js/default" diff --git a/compileruntime/util_lib_standard/BUILD.gn b/compileruntime/util_lib_standard/BUILD.gn index e159a6d4c..6b45dbc24 100644 --- a/compileruntime/util_lib_standard/BUILD.gn +++ b/compileruntime/util_lib_standard/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("util_js_test") { hap_profile = "./src/main/config.json" deps = [ ":util_js_assets", ":util_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsUtilJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("util_js_assets") { source_dir = "./src/main/js/default" diff --git a/compileruntime/worker_lib_standard/BUILD.gn b/compileruntime/worker_lib_standard/BUILD.gn index 049d92a8c..4906a546e 100644 --- a/compileruntime/worker_lib_standard/BUILD.gn +++ b/compileruntime/worker_lib_standard/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("worker_js_hap") { hap_profile = "./src/main/config.json" deps = [ ":worker_js_assets", ":worker_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsWorkerJSTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("worker_js_assets") { source_dir = "./src/main/js/default" diff --git a/demo/hjsunit_sample/BUILD.gn b/demo/hjsunit_sample/BUILD.gn index e2ed3b544..ca7ed6d21 100755 --- a/demo/hjsunit_sample/BUILD.gn +++ b/demo/hjsunit_sample/BUILD.gn @@ -12,20 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("hjs_demo_test") { hap_profile = "./src/main/config.json" deps = [ ":hjs_demo_js_assets", ":hjs_demo_resources", ] -# shared_libraries = [ - # "//third_party/giflib:libgif", -# "//third_party/libpng:libpng", -# ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "Hjsdemotest" -# part_name = "prebuilt_hap" -# subsystem_name = "xts" } ohos_js_assets("hjs_demo_js_assets") { source_dir = "./src/main/js/default" diff --git a/distributeddatamgr/appdatamgrjstest/hap/BUILD.gn b/distributeddatamgr/appdatamgrjstest/hap/BUILD.gn index cc04dda80..e686a2fba 100755 --- a/distributeddatamgr/appdatamgrjstest/hap/BUILD.gn +++ b/distributeddatamgr/appdatamgrjstest/hap/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("appdatamgr_js_test") { hap_profile = "./src/main/config.json" deps = [ ":appdatamgr_js_assets", ":appdatamgr_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsAppdatamagrJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("appdatamgr_js_assets") { source_dir = "./src/main/js/default" diff --git a/distributeddatamgr/distributeddatamgrjstest/hap/BUILD.gn b/distributeddatamgr/distributeddatamgrjstest/hap/BUILD.gn index 5c40805d3..2da01bb85 100755 --- a/distributeddatamgr/distributeddatamgrjstest/hap/BUILD.gn +++ b/distributeddatamgr/distributeddatamgrjstest/hap/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("distributeddatamgr_js_test") { hap_profile = "./src/main/config.json" deps = [ ":distributeddatamgr_js_assets", ":distributeddatamgr_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsDistributedDatamgrJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("distributeddatamgr_js_assets") { source_dir = "./src/main/js/default" diff --git a/global/i18n_standard/intljs/BUILD.gn b/global/i18n_standard/intljs/BUILD.gn index 6850ea63e..b9acd9a5c 100755 --- a/global/i18n_standard/intljs/BUILD.gn +++ b/global/i18n_standard/intljs/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("intljs_test") { hap_profile = "./src/main/config.json" deps = [ ":intljs_assets", ":intljs_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsIntlJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("intljs_assets") { source_dir = "./src/main/js/default" diff --git a/global/resmgr_standard/resmgrjs/BUILD.gn b/global/resmgr_standard/resmgrjs/BUILD.gn index c05fdc529..cb5b1c730 100755 --- a/global/resmgr_standard/resmgrjs/BUILD.gn +++ b/global/resmgr_standard/resmgrjs/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("resmgrjs_test") { hap_profile = "./src/main/config.json" deps = [ ":resmgrjs_assets", ":resmgrjs_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsResMgrJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("resmgrjs_assets") { source_dir = "./src/main/js/default" diff --git a/graphic/windowstandard/BUILD.gn b/graphic/windowstandard/BUILD.gn index c3c61bfff..c190120b2 100755 --- a/graphic/windowstandard/BUILD.gn +++ b/graphic/windowstandard/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("window_hap_test") { hap_profile = "./src/main/config.json" deps = [ ":window_js_assets", ":window_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsWindowHapTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("window_js_assets") { source_dir = "./src/main/js/default" diff --git a/hiviewdfx/hiappeventtest/hiappeventjstest/BUILD.gn b/hiviewdfx/hiappeventtest/hiappeventjstest/BUILD.gn index cba681c0a..8b3f223d8 100755 --- a/hiviewdfx/hiappeventtest/hiappeventjstest/BUILD.gn +++ b/hiviewdfx/hiappeventtest/hiappeventjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("ActsHiAppEventJsTest") { hap_profile = "./src/main/config.json" deps = [ ":hiappevent_js_assets", ":hiappevent_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHiAppEventJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("hiappevent_js_assets") { source_dir = "./src/main/js/default" diff --git a/miscservices/TimeTest_js/BUILD.gn b/miscservices/TimeTest_js/BUILD.gn index e66236feb..18656b825 100755 --- a/miscservices/TimeTest_js/BUILD.gn +++ b/miscservices/TimeTest_js/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("time_js_test") { hap_profile = "./src/main/config.json" deps = [ ":time_js_assets", ":time_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsTimeJSApiTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("time_js_assets") { source_dir = "./src/main/js/default" diff --git a/miscservices/TimerTest_js/BUILD.gn b/miscservices/TimerTest_js/BUILD.gn index f88139e04..2f8401161 100644 --- a/miscservices/TimerTest_js/BUILD.gn +++ b/miscservices/TimerTest_js/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("timer_js_test") { hap_profile = "./src/main/config.json" deps = [ ":time_js_assets", ":time_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsTimeJSApiTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("time_js_assets") { source_dir = "./src/main/js/default" diff --git a/multimedia/audio/audio_js_standard/audioManager/BUILD.gn b/multimedia/audio/audio_js_standard/audioManager/BUILD.gn index e76d16d2a..545dba03b 100755 --- a/multimedia/audio/audio_js_standard/audioManager/BUILD.gn +++ b/multimedia/audio/audio_js_standard/audioManager/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("audio_manager_js_hap") { hap_profile = "./src/main/config.json" deps = [ ":audio_manager_js_assets", ":audio_manager_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsAudioManagerJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("audio_manager_js_assets") { source_dir = "./src/main/js/default" diff --git a/multimedia/audio/audio_js_standard/audioPlayer/BUILD.gn b/multimedia/audio/audio_js_standard/audioPlayer/BUILD.gn index fce6a2f1d..892d53943 100755 --- a/multimedia/audio/audio_js_standard/audioPlayer/BUILD.gn +++ b/multimedia/audio/audio_js_standard/audioPlayer/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("audio_player_js_hap") { hap_profile = "./src/main/config.json" deps = [ ":audio_player_js_assets", ":audio_player_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsAudioPlayerJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("audio_player_js_assets") { source_dir = "./src/main/js/default" diff --git a/multimedia/audio/audio_js_standard/audioPlayer_API/BUILD.gn b/multimedia/audio/audio_js_standard/audioPlayer_API/BUILD.gn index 2bd14c1ef..240cee80e 100755 --- a/multimedia/audio/audio_js_standard/audioPlayer_API/BUILD.gn +++ b/multimedia/audio/audio_js_standard/audioPlayer_API/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("audio_player_api_js_hap") { hap_profile = "./src/main/config.json" deps = [ ":audio_player_api_js_assets", ":audio_player_api_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsAudioPlayerApiJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("audio_player_api_js_assets") { source_dir = "./src/main/js/default" diff --git a/multimedia/audio/audio_js_standard/audioRecorder/BUILD.gn b/multimedia/audio/audio_js_standard/audioRecorder/BUILD.gn index 47ea7f697..a91e5e187 100644 --- a/multimedia/audio/audio_js_standard/audioRecorder/BUILD.gn +++ b/multimedia/audio/audio_js_standard/audioRecorder/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("audio_recorder_js_hap") { hap_profile = "./src/main/config.json" deps = [ ":audio_recorder_js_assets", ":audio_recorder_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsAudioRecorderJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("audio_recorder_js_assets") { source_dir = "./src/main/js/default" diff --git a/powermgr/powermgrbattery/BUILD.gn b/powermgr/powermgrbattery/BUILD.gn index 12725acd5..6eb240a76 100755 --- a/powermgr/powermgrbattery/BUILD.gn +++ b/powermgr/powermgrbattery/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("powermgr_battery_test") { hap_profile = "./src/main/config.json" deps = [ ":powermgr_battery_js_assets", ":powermgr_battery_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsPowerMgrBatteryTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("powermgr_battery_js_assets") { source_dir = "./src/main/js/default" diff --git a/startup/startup_standard/BUILD.gn b/startup/startup_standard/BUILD.gn index 99fff2be8..377c9998f 100755 --- a/startup/startup_standard/BUILD.gn +++ b/startup/startup_standard/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("startup_js_test") { hap_profile = "./src/main/config.json" deps = [ ":startup_js_assets", ":startup_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStartupJSApiTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("startup_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagedsmjstest/BUILD.gn b/storage/storagedsmjstest/BUILD.gn index 80617f287..4275032b4 100644 --- a/storage/storagedsmjstest/BUILD.gn +++ b/storage/storagedsmjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagedsm_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagedsm_js_assets", ":storagedsm_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFmsPublicJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagedsm_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagedsmstabilityjstest/BUILD.gn b/storage/storagedsmstabilityjstest/BUILD.gn index 739d3983a..61dd14fc2 100644 --- a/storage/storagedsmstabilityjstest/BUILD.gn +++ b/storage/storagedsmstabilityjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagedsmstability_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagedsmstability_js_assets", ":storagedsmstability_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFmsPublicJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagedsmstability_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefileconcurrentjstest/BUILD.gn b/storage/storagefileconcurrentjstest/BUILD.gn index 00e31889e..b842aaa27 100644 --- a/storage/storagefileconcurrentjstest/BUILD.gn +++ b/storage/storagefileconcurrentjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefileconcurrent_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefileconcurrent_js_assets", ":storagefileconcurrent_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFileConcurrentJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefileconcurrent_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefileioerrorjstest/BUILD.gn b/storage/storagefileioerrorjstest/BUILD.gn index df4da91ab..eede7742f 100644 --- a/storage/storagefileioerrorjstest/BUILD.gn +++ b/storage/storagefileioerrorjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefileioerror_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefileioerror_js_assets", ":storagefileioerror_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFileIoErrorJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefileioerror_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefileiojstest/BUILD.gn b/storage/storagefileiojstest/BUILD.gn index d7b5a143e..3b1f9b4a6 100644 --- a/storage/storagefileiojstest/BUILD.gn +++ b/storage/storagefileiojstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefileio_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefileio_js_assets", ":storagefileio_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFileIoJSTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefileio_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefileioperformancejstest/BUILD.gn b/storage/storagefileioperformancejstest/BUILD.gn index 1a3d93aa7..c9b2a9aeb 100644 --- a/storage/storagefileioperformancejstest/BUILD.gn +++ b/storage/storagefileioperformancejstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefileioperformance_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefileioperformance_js_assets", ":storagefileioperformance_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFileIoPerformanceJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefileioperformance_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefileioreliabilityjstest/BUILD.gn b/storage/storagefileioreliabilityjstest/BUILD.gn index 572f28091..d5e278abe 100644 --- a/storage/storagefileioreliabilityjstest/BUILD.gn +++ b/storage/storagefileioreliabilityjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefileioreliability_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefileioreliability_js_assets", ":storagefileioreliability_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFileIoreLiabilityJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefileioreliability_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefileiostabilityjstest/BUILD.gn b/storage/storagefileiostabilityjstest/BUILD.gn index 818b4cdf9..5ade4aafb 100644 --- a/storage/storagefileiostabilityjstest/BUILD.gn +++ b/storage/storagefileiostabilityjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefileiostability_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefileiostability_js_assets", ":storagefileiostability_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFileIoStabilityJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefileiostability_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefilestabilityjstest/BUILD.gn b/storage/storagefilestabilityjstest/BUILD.gn index 1af83ba2a..31cb61534 100644 --- a/storage/storagefilestabilityjstest/BUILD.gn +++ b/storage/storagefilestabilityjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefilestability_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefilestability_js_assets", ":storagefilestability_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFileStabilityJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefilestability_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefmspublicjstest/BUILD.gn b/storage/storagefmspublicjstest/BUILD.gn index bc767157e..897f3e313 100644 --- a/storage/storagefmspublicjstest/BUILD.gn +++ b/storage/storagefmspublicjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefmspublic_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefmspublic_js_assets", ":storagefmspublic_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFmsPublicJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefmspublic_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagefmssharejstest/BUILD.gn b/storage/storagefmssharejstest/BUILD.gn index ff67c3a24..13891fb68 100644 --- a/storage/storagefmssharejstest/BUILD.gn +++ b/storage/storagefmssharejstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagefmsshare_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagefmsshare_js_assets", ":storagefmsshare_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageFmsShareJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagefmsshare_js_assets") { source_dir = "./src/main/js/default" diff --git a/storage/storagestatfsjstest/BUILD.gn b/storage/storagestatfsjstest/BUILD.gn index 74cdbe6b6..ed9af42c8 100644 --- a/storage/storagestatfsjstest/BUILD.gn +++ b/storage/storagestatfsjstest/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("storagestatfs_js_test") { hap_profile = "./src/main/config.json" deps = [ ":storagestatfs_js_assets", ":storagestatfs_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsStorageStatfsJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("storagestatfs_js_assets") { source_dir = "./src/main/js/default" diff --git a/updater/update_test/BUILD.gn b/updater/update_test/BUILD.gn index 101cbdcf7..d48f41e37 100644 --- a/updater/update_test/BUILD.gn +++ b/updater/update_test/BUILD.gn @@ -12,22 +12,15 @@ # limitations under the License. import("//test/xts/tools/build/suite.gni") + ohos_js_hap_suite("update_js_test") { hap_profile = "./src/main/config.json" deps = [ ":update_js_assets", ":update_js_resources", ] - - # shared_libraries = [ - # "//third_party/giflib:libgif", - # "//third_party/libpng:libpng", - # ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsUpdateJsTest" - - # part_name = "prebuilt_hap" - # subsystem_name = "xts" } ohos_js_assets("update_js_assets") { source_dir = "./src/main/js/default" -- GitLab