• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 Huawei Technologies Co., Ltd.
2# Licensed under the Mulan PSL v2.
3# You can use this software according to the terms and conditions of the Mulan PSL v2.
4# You may obtain a copy of Mulan PSL v2 at:
5#     http://license.coscl.org.cn/MulanPSL2
6# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
7# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
8# PURPOSE.
9# See the Mulan PSL v2 for more details.
10
11import("//build/ohos.gni")
12import("//build/ohos_var.gni")
13
14ohos_executable("teecd") {
15    part_name = "tee_client"
16    subsystem_name = "tee"
17    module_install_dir = "bin"
18    install_images = [
19        "vendor",
20        "updater_vendor",
21    ]
22
23    sources = [
24        "../../src/fs_work_agent.c",
25        "../../src/late_init_agent.c",
26        "../../src/misc_work_agent.c",
27        "../../src/tee_agent.c",
28        "../../src/tee_ca_daemon.c",
29        "../../src/tee_ca_auth.c",
30        "../../src/tee_load_dynamic_drv.c",
31        "../../src/secfile_load_agent.c",
32        "../../../authentication/tee_get_native_cert.c",
33        "../../../authentication/tee_auth_common.c",
34        "../../../authentication/tcu_authentication.c",
35    ]
36
37    include_dirs = [
38        "//base/tee/tee_client/interfaces/kits/c/include",
39        "../../include",
40        "../../include/standard",
41        "../../../../frameworks/include",
42        "../../../../frameworks/include/standard",
43        "../../../../frameworks/include/standard/teec_vendor",
44        "../../../../frameworks/libteec_vendor",
45        "../../../authentication",
46    ]
47
48    deps = [
49        "//third_party/bounds_checking_function:libsec_shared",
50    ]
51
52    external_deps = [
53        "c_utils:utils",
54        "hilog:libhilog",
55    ]
56}
57