diff --git a/BUILD.gn b/BUILD.gn index 613cfdfcbbf6176b1bbad8a2ed894309dc2b2ee1..062160d164df62e0c84c3994174bdcf8e287e6b6 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -13,18 +13,20 @@ #import("//hit/build/suite.gni") import("test_packages.gni") -ohos_test_suite("acts") { - deps = selected_packages -} +if (os_level == "standard") { + ohos_test_suite("acts") { + deps = selected_packages + } -ohos_test_suite("acts_ivi") { - deps = selected_packages_ivi -} + ohos_test_suite("acts_ivi") { + deps = selected_packages_ivi + } -ohos_test_suite("acts_intellitv") { - deps = selected_packages_intellitv -} + ohos_test_suite("acts_intellitv") { + deps = selected_packages_intellitv + } -ohos_test_suite("acts_wearable") { - deps = selected_packages_wearable + ohos_test_suite("acts_wearable") { + deps = selected_packages_wearable + } } diff --git a/build/BUILD.gn b/build/BUILD.gn index 893474b7eaf220e3b4c47e4f9145838ebc546b47..c4b97ea7bb8d88eb729ae3871fba3c411cca1a9f 100644 --- a/build/BUILD.gn +++ b/build/BUILD.gn @@ -19,7 +19,12 @@ group("acts_group") { deps = [] if (os_level == "standard") { deps += [ "${xts_acts_path}:acts" ] - } else { + } +} + +group("acts_lite") { + deps = [] + if (os_level != "standard") { deps += [ "${xts_acts_path}/build_lite:acts" ] } -} \ No newline at end of file +} diff --git a/bundle.json b/bundle.json index 8aa9dac5612be18340b4ab9a94419bb0ed087e05..37afbf4c5dc2322803267e059c34ac2bea3b9539 100644 --- a/bundle.json +++ b/bundle.json @@ -26,7 +26,7 @@ "third_party": [] }, "build": { - "sub_component": [], + "sub_component": [ "//test/xts/acts/build:acts_lite" ], "inner_kits": [], "test": [ "//test/xts/acts/build:acts_group" ] }