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 "../../../authentication/tcu_authentication.c", 25 "../../../authentication/tee_auth_common.c", 26 "../../../authentication/tee_get_native_cert.c", 27 "../../src/fs_work_agent.c", 28 "../../src/late_init_agent.c", 29 "../../src/misc_work_agent.c", 30 "../../src/secfile_load_agent.c", 31 "../../src/tee_agent.c", 32 "../../src/tee_ca_auth.c", 33 "../../src/tee_ca_daemon.c", 34 "../../src/tee_load_dynamic_drv.c", 35 ] 36 37 include_dirs = [ 38 "../../../../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 external_deps = [ 49 "bounds_checking_function:libsec_shared", 50 "c_utils:utils", 51 "hilog:libhilog", 52 ] 53} 54