1# Copyright (c) 2021-2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13import("//base/startup/init/begetd.gni") 14 15group("parameter") { 16 deps = [] 17 18 # parameter only support linux for l2 and l1 19 if (defined(ohos_lite)) { 20 if (ohos_kernel_type == "linux") { 21 deps += [ 22 "base:param_base", 23 "linux:param_client", 24 "linux:param_init", 25 ] 26 } else if (ohos_kernel_type == "liteos_a") { 27 deps += [ 28 "liteos:param_client_lite", 29 "liteos:param_init_lite", 30 ] 31 } 32 } else { 33 deps += [ 34 "base:param_base", 35 "linux:param_client", 36 "linux:param_init", 37 ] 38 } 39} 40