1# Copyright (c) 2022 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("//build/ohos.gni") 15 16# dslm_extension_dfx object 17ohos_source_set("dslm_extension_dfx") { 18 sanitize = { 19 integer_overflow = true 20 ubsan = true 21 boundary_sanitize = true 22 cfi = true 23 cfi_cross_dso = true 24 blocklist = "../../cfi_blocklist.txt" 25 } 26 branch_protector_ret = "pac_ret" 27 28 sources = [ 29 "dslm_bigdata.cpp", 30 "dslm_hidumper.c", 31 "dslm_hitrace.cpp", 32 ] 33 34 include_dirs = [ 35 "../../common/include", 36 "../../services/include", 37 "../../interfaces/inner_api/include", 38 "../../services/dslm", 39 "../../oem_property/common/", 40 "../../oem_property/include/", 41 ] 42 43 deps = [ 44 "../../baselib/utils:utils_static", 45 "../msg:service_msg_obj", 46 ] 47 48 external_deps = [ 49 "c_utils:utils", 50 "hilog:libhilog", 51 "hisysevent:libhisysevent", 52 "hitrace:hitrace_meter", 53 ] 54 55 configs = [ "../../common:common_configs" ] 56 57 part_name = "device_security_level" 58 subsystem_name = "security" 59} 60