From ba02b02c6b38900750a1ce9ad5d5ca9675e2710b Mon Sep 17 00:00:00 2001 From: hekun Date: Thu, 2 Feb 2023 20:05:20 +0800 Subject: [PATCH] fix the build.gn Signed-off-by: hekun --- arkui/ace_ets_component_ui/BUILD.gn | 50 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/arkui/ace_ets_component_ui/BUILD.gn b/arkui/ace_ets_component_ui/BUILD.gn index 26344b9c3..a86488820 100644 --- a/arkui/ace_ets_component_ui/BUILD.gn +++ b/arkui/ace_ets_component_ui/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (C) 2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -11,31 +11,29 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//test/xts/tools/build/suite.gni") - -ohos_js_hap_suite("ActsAceEtsComponentUITest") { - hap_profile = "entry/src/main/module.json" - js_build_mode = "debug" +group("arkui") { + testonly = true deps = [ - ":ace_ets_component_ui_js_assets", - ":ace_ets_component_ui_resources", + "ace_ets_component:ActsAceEtsComponentTest", + "ace_ets_component_apilack:ActsAceEtsApiLackTest", + "ace_ets_component_attrlack:ActsAceEtsAttrLackTest", + "ace_ets_component_five:ActsAceEtsComponentFiveTest", + "ace_ets_component_four:ActsAceEtsComponentFourTest", + "ace_ets_component_three:ActsAceEtsComponentThreeTest", + "ace_ets_component_two:ActsAceEtsComponentTwoTest", + "ace_ets_component_ui:ActsAceEtsComponentUITest", + "ace_ets_dev:ActsAceDevTest", + "ace_ets_standard:ActsAceEtsStTest", + "ace_ets_test:ActsAceEtsTest", + "ace_ets_third_test:ActsAceEtsThirdTest", + "ace_ets_web_dev:ActsAceWebDevTest", + "ace_ets_web_dev_three:ActsAceWebDevThreeTest", + "ace_ets_web_dev_two:ActsAceWebDevTwoTest", + "ace_ets_xcomponent:ActsAceXComponentEtsTest", + "ace_js_attribute_api:ActsAceJsApiTest", + "ace_napi_test:ActsAceNapiEtsTest", + "ace_standard:ActsAceStandardTest", + "ace_standard_video:ActsAceStandardVideoTest", + "libuv:libuvTest", ] - ets2abc = true - certificate_profile = "signature/openharmony_sx.p7b" - hap_name = "ActsAceEtsComponentUITest" -} - -ohos_app_scope("ace_ets_component_ui_app_profile") { - app_profile = "AppScope/app.json" - sources = [ "AppScope/resources" ] -} - -ohos_js_assets("ace_ets_component_ui_js_assets") { - source_dir = "entry/src/main/ets" -} - -ohos_resources("ace_ets_component_ui_resources") { - sources = [ "entry/src/main/resources" ] - deps = [ ":ace_ets_component_ui_app_profile" ] - hap_profile = "entry/src/main/module.json" } -- GitLab