From 9047a58437bee88f64d2a3cf694f5dd36e108e3c Mon Sep 17 00:00:00 2001 From: txl Date: Thu, 27 Jul 2023 20:57:41 +0800 Subject: [PATCH] =?UTF-8?q?l0l1=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: txl --- build/BUILD.gn | 24 ++++++++++++++++++++++++ bundle.json | 2 +- xts_acts_config.gn | 14 ++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 build/BUILD.gn create mode 100644 xts_acts_config.gn diff --git a/build/BUILD.gn b/build/BUILD.gn new file mode 100644 index 000000000..7d67a7dbb --- /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 06b05f88b..689ebc5c7 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 000000000..6cb6fb273 --- /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 -- GitLab