2024-04-10 02:27:41 +00:00
|
|
|
# Copyright (c) 2023-2024 Huawei Device Co., Ltd.
|
2023-05-06 07:46:14 +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
|
2023-05-19 11:24:44 +00:00
|
|
|
# limitations under the License.
|
2023-05-06 07:46:14 +00:00
|
|
|
|
|
|
|
import("//build/ohos.gni")
|
|
|
|
import("//build/ohos/sa_profile/sa_profile.gni")
|
2023-05-19 11:24:44 +00:00
|
|
|
import("code_signature.gni")
|
2023-05-06 07:46:14 +00:00
|
|
|
|
|
|
|
config("common_public_config") {
|
2024-10-31 09:32:02 +00:00
|
|
|
include_dirs = [ "interfaces/inner_api/common/include" ]
|
2023-05-06 07:46:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
config("common_utils_config") {
|
|
|
|
include_dirs = [ "utils/include" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("subcomponents") {
|
|
|
|
deps = [
|
2024-10-31 09:32:02 +00:00
|
|
|
"${code_signature_root_dir}/interfaces/inner_api/code_sign_attr_utils:libcode_sign_attr_utils",
|
|
|
|
"${code_signature_root_dir}/interfaces/inner_api/code_sign_utils:libcode_sign_utils",
|
|
|
|
"${code_signature_root_dir}/interfaces/inner_api/jit_code_sign:libjit_code_sign",
|
|
|
|
"${code_signature_root_dir}/interfaces/inner_api/local_code_sign:liblocal_code_sign_sdk",
|
2023-05-06 07:46:14 +00:00
|
|
|
"${code_signature_root_dir}/services/local_code_sign:liblocal_code_sign",
|
|
|
|
"${code_signature_root_dir}/services/local_code_sign:local_code_sign_configs",
|
|
|
|
]
|
2024-04-10 02:27:41 +00:00
|
|
|
|
|
|
|
if (!ohos_indep_compiler_enable) {
|
|
|
|
deps +=
|
|
|
|
[ "${code_signature_root_dir}/services/key_enable:key_enable_targets" ]
|
|
|
|
}
|
2023-05-06 07:46:14 +00:00
|
|
|
}
|