diff --git a/build_lite/BUILD.gn b/build_lite/BUILD.gn index 831b3a17162cd6bdcc05a1ca0c1193265ad7c74a..652c5eb4e87991f599a48ddbdf5532b690f760a0 100644 --- a/build_lite/BUILD.gn +++ b/build_lite/BUILD.gn @@ -13,6 +13,7 @@ import("//build/lite/config/subsystem/aafwk/config.gni") import("//test/xts/tools/lite/build/suite_lite.gni") +import("//build/lite/config/test.gni") lite_component("acts_component") { all_features = [] @@ -93,7 +94,7 @@ lite_component("acts_component") { } } - if (ohos_build_type == "debug") { + if (ohos_build_type == "debug" && ohos_test_args != "notest") { _all_features = "" _product_json = rebase_path("${product_path}/config.json") foreach(one_feature, all_features) {