1d066c7e5Sopenharmony_ci# Copyright (c) 2022-2023 Huawei Device Co., Ltd.
2d066c7e5Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3d066c7e5Sopenharmony_ci# you may not use this file except in compliance with the License.
4d066c7e5Sopenharmony_ci# You may obtain a copy of the License at
5d066c7e5Sopenharmony_ci#
6d066c7e5Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7d066c7e5Sopenharmony_ci#
8d066c7e5Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9d066c7e5Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10d066c7e5Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11d066c7e5Sopenharmony_ci# See the License for the specific language governing permissions and
12d066c7e5Sopenharmony_ci# limitations under the License.
13d066c7e5Sopenharmony_ci
14d066c7e5Sopenharmony_ciimport("./config_policy.gni")
15d066c7e5Sopenharmony_ci
16d066c7e5Sopenharmony_cigroup("config_policy_components") {
17d066c7e5Sopenharmony_ci  if (os_level == "standard" && config_policy_api_support && support_jsapi) {
18d066c7e5Sopenharmony_ci    deps = [
19d066c7e5Sopenharmony_ci      "./frameworks/config_policy:configpolicy_util",
20d066c7e5Sopenharmony_ci      "./interfaces/kits/cj:cj_config_policy_ffi",
21d066c7e5Sopenharmony_ci      "./interfaces/kits/js:configpolicy",
22d066c7e5Sopenharmony_ci      "./interfaces/kits/js:customconfig",
23d066c7e5Sopenharmony_ci    ]
24d066c7e5Sopenharmony_ci  } else {
25d066c7e5Sopenharmony_ci    deps = [ "./frameworks/config_policy:configpolicy_util" ]
26d066c7e5Sopenharmony_ci  }
27d066c7e5Sopenharmony_ci}
28