• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2025 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.
13
14import("../signature_tools.gni")
15signature_tools_hap_include = [
16  "${signature_tools_hap}/verify/include",
17  "${hapsigntool_cpp_hap}/verify/include",
18  "${hapsigntool_cpp_hap}/config/include",
19  "${signature_tools_hap}/entity/include",
20  "${signature_tools_hap}/provider/include",
21  "${signature_tools_hap}/sign/include",
22  "${signature_tools_hap}/utils/include",
23]
24
25signature_tools_hap_src = [
26  "${hapsigntool_cpp_hap}/config/src/signer_config.cpp",
27  "${hapsigntool_cpp_hap}/entity/src/content_digest_algorithm.cpp",
28  "${signature_tools_hap}/entity/src/param_constants.cpp",
29  "${hapsigntool_cpp_hap}/entity/src/signature_algorithm_helper.cpp",
30  "${signature_tools_hap}/provider/src/self_sign_sign_provider.cpp",
31  "${signature_tools_hap}/provider/src/local_sign_provider.cpp",
32  "${hapsigntool_cpp_hap}/provider/src/remote_sign_provider.cpp",
33  "${signature_tools_hap}/provider/src/sign_provider.cpp",
34  "${signature_tools_hap}/sign/src/sign_elf.cpp",
35  "${signature_tools_hap}/verify/src/verify_elf.cpp",
36  "${hapsigntool_cpp_hap}/utils/src/dynamic_lib_handle.cpp",
37  "${signature_tools_hap}/sign/src/bc_pkcs7_generator.cpp",
38]
39