diff --git a/build/BUILD.gn b/build/BUILD.gn new file mode 100644 index 0000000000000000000000000000000000000000..7d67a7dbb4c4c5e78fb25bdf326688407975dfd3 --- /dev/null +++ b/build/BUILD.gn @@ -0,0 +1,24 @@ +# Copyright (c) 2023 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import("//build/ohos.gni") +import("//test/xts/acts/xts_acts_config.gni") + +group("acts_group") { + deps = [] + if (os_level == "standard") { + deps += [ "${xts_acts_path}:acts" ] + } else { + deps += [ "${xts_acts_path}/build_lite:acts" ] + } +} \ No newline at end of file diff --git a/bundle.json b/bundle.json index 06b05f88b70a90a5e0db5052f5cd2d8eb5025aa3..689ebc5c76f95771b1482fc3a7a0c4e140ae0aef 100644 --- a/bundle.json +++ b/bundle.json @@ -28,7 +28,7 @@ "build": { "sub_component": [], "inner_kits": [], - "test": [ "//test/xts/acts:acts" ] + "test": [ "//test/xts/acts.build:acts" ] } } } \ No newline at end of file diff --git a/xts_acts_config.gn b/xts_acts_config.gn new file mode 100644 index 0000000000000000000000000000000000000000..6cb6fb273e175230a1b0d4030babfde6d65acae2 --- /dev/null +++ b/xts_acts_config.gn @@ -0,0 +1,14 @@ +# Copyright (C) 2023 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +xts_acts_path = "//test/xts/acts" \ No newline at end of file