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("tlogcat") { 15 part_name = "tee_client" 16 subsystem_name = "tee" 17 18 defines = [ 19 "TEE_LOG_PATH_BASE=\"/data/log\"", 20 "CONFIG_TLOGCAT_TAG", 21 "CONFIG_TEE_PRIVATE_LOGFILE", 22 ] 23 24 sources = [ 25 "../../src/proc_tag.c", 26 "../../src/sys_hilog_cfg.c", 27 "../../src/tarzip.c", 28 "../../src/tlogcat.c", 29 ] 30 31 include_dirs = [ 32 "../../include", 33 "../../../../frameworks/include", 34 "../../../../frameworks/include/standard", 35 "../../../../interfaces/kits/c/include", 36 ] 37 38 external_deps = [ 39 "c_utils:utils", 40 "hilog:libhilog", 41 "zlib:libz", 42 ] 43} 44