2022-06-08 10:42:40 +00:00
|
|
|
# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
2021-07-01 14:13:26 +00:00
|
|
|
# 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.
|
2022-07-05 12:57:25 +00:00
|
|
|
import("//base/startup/init/begetd.gni")
|
2021-07-01 14:13:26 +00:00
|
|
|
|
2022-06-08 10:42:40 +00:00
|
|
|
group("parameter") {
|
|
|
|
deps = []
|
2021-09-13 11:58:03 +00:00
|
|
|
|
2022-06-08 10:42:40 +00:00
|
|
|
# parameter only support linux for l2 and l1
|
|
|
|
if (defined(ohos_lite)) {
|
2022-04-28 10:53:40 +00:00
|
|
|
if (ohos_kernel_type == "linux") {
|
2022-06-08 10:42:40 +00:00
|
|
|
deps += [
|
2022-11-28 01:49:02 +00:00
|
|
|
"base:param_base",
|
2022-06-08 10:42:40 +00:00
|
|
|
"linux:param_client",
|
|
|
|
"linux:param_init",
|
2022-04-28 10:53:40 +00:00
|
|
|
]
|
|
|
|
} else if (ohos_kernel_type == "liteos_a") {
|
2022-06-08 10:42:40 +00:00
|
|
|
deps += [
|
|
|
|
"liteos:param_client_lite",
|
|
|
|
"liteos:param_init_lite",
|
2022-04-28 10:53:40 +00:00
|
|
|
]
|
2022-05-17 13:04:20 +00:00
|
|
|
}
|
2022-06-08 10:42:40 +00:00
|
|
|
} else {
|
|
|
|
deps += [
|
2022-11-28 01:49:02 +00:00
|
|
|
"base:param_base",
|
2022-06-08 10:42:40 +00:00
|
|
|
"linux:param_client",
|
|
|
|
"linux:param_init",
|
2022-05-11 06:09:26 +00:00
|
|
|
]
|
2022-04-07 08:17:36 +00:00
|
|
|
}
|
2021-07-01 14:13:26 +00:00
|
|
|
}
|