18e920a95Sopenharmony_ci# Copyright (c) 2023-2024 Huawei Device Co., Ltd.
28e920a95Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
38e920a95Sopenharmony_ci# you may not use this file except in compliance with the License.
48e920a95Sopenharmony_ci# You may obtain a copy of the License at
58e920a95Sopenharmony_ci#
68e920a95Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
78e920a95Sopenharmony_ci#
88e920a95Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
98e920a95Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
108e920a95Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
118e920a95Sopenharmony_ci# See the License for the specific language governing permissions and
128e920a95Sopenharmony_ci# limitations under the License.
138e920a95Sopenharmony_ci
148e920a95Sopenharmony_ciimport("//build/ohos.gni")
158e920a95Sopenharmony_ciimport("//build/ohos/sa_profile/sa_profile.gni")
168e920a95Sopenharmony_ciimport("code_signature.gni")
178e920a95Sopenharmony_ci
188e920a95Sopenharmony_ciconfig("common_public_config") {
198e920a95Sopenharmony_ci  include_dirs = [ "interfaces/innerkits/common/include" ]
208e920a95Sopenharmony_ci}
218e920a95Sopenharmony_ci
228e920a95Sopenharmony_ciconfig("common_utils_config") {
238e920a95Sopenharmony_ci  include_dirs = [ "utils/include" ]
248e920a95Sopenharmony_ci}
258e920a95Sopenharmony_ci
268e920a95Sopenharmony_cigroup("subcomponents") {
278e920a95Sopenharmony_ci  deps = [
288e920a95Sopenharmony_ci    "${code_signature_root_dir}/interfaces/innerkits/code_sign_attr_utils:libcode_sign_attr_utils",
298e920a95Sopenharmony_ci    "${code_signature_root_dir}/interfaces/innerkits/code_sign_utils:libcode_sign_utils",
308e920a95Sopenharmony_ci    "${code_signature_root_dir}/interfaces/innerkits/jit_code_sign:libjit_code_sign",
318e920a95Sopenharmony_ci    "${code_signature_root_dir}/interfaces/innerkits/local_code_sign:liblocal_code_sign_sdk",
328e920a95Sopenharmony_ci    "${code_signature_root_dir}/services/local_code_sign:liblocal_code_sign",
338e920a95Sopenharmony_ci    "${code_signature_root_dir}/services/local_code_sign:local_code_sign_configs",
348e920a95Sopenharmony_ci  ]
358e920a95Sopenharmony_ci
368e920a95Sopenharmony_ci  if (!ohos_indep_compiler_enable) {
378e920a95Sopenharmony_ci    deps +=
388e920a95Sopenharmony_ci        [ "${code_signature_root_dir}/services/key_enable:key_enable_targets" ]
398e920a95Sopenharmony_ci  }
408e920a95Sopenharmony_ci}
41