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/lite/config/component/lite_component.gni") 12executable("tlogcat") { 13 output_dir = "$root_out_dir/vendor" 14 15 defines = [ 16 "TEE_LOG_PATH_BASE=\"/storage/data/log\"", 17 "CONFIG_TLOGCAT_TAG", 18 "CONFIG_TEE_PRIVATE_LOGFILE" 19 ] 20 21 sources = [ 22 "../../src/proc_tag.c", 23 "../../src/sys_hilog_cfg.c", 24 "../../src/tarzip.c", 25 "../../src/tlogcat.c", 26 ] 27 28 deps = [ 29 "//third_party/bounds_checking_function:libsec_shared", 30 "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", 31 "//build/lite/config/component/zlib:zlib_shared", 32 ] 33 34 include_dirs = [ 35 "//base/tee/tee_client/interfaces/kits/c/include", 36 "//base/hiviewdfx/hilog/interfaces/native/innerkits/include", 37 "../../include", 38 "../../../../frameworks/include", 39 "../../../../frameworks/include/lite", 40 "//third_party/zlib", 41 ] 42} 43