From aaa4792aa3f0444a6000d97e7ebed646798c6dac Mon Sep 17 00:00:00 2001 From: yangming_ha Date: Thu, 16 Sep 2021 00:04:08 -0700 Subject: [PATCH] remove lite_subsystem template Signed-off-by: yangming_ha --- BUILD.gn | 46 +++++++++++++++++++++------------------------- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 6f1e00b..ec47e73 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,26 +1,22 @@ -# Copyright (c) 2020 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 +# Copyright (c) 2020 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/lite/config/subsystem/lite_subsystem.gni") -import("//build/lite/config/component/lite_component.gni") - -lite_subsystem("iot") { - subsystem_components = [ - ":link" - ] -} - -lite_component("link") { - features = [ - ] -} + +import("//build/lite/config/component/lite_component.gni") + +group("iot") { + deps = [ ":link" ] +} + +lite_component("link") { + features = [] +} -- GitLab