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 14devattest_path = "//test/xts/device_attest_lite" 15 16devattest_innerkit_path = "${devattest_path}/interfaces/innerkits" 17 18attest_core_path = "${devattest_path}/services/core" 19 20devattest_unittest_module_path = "device_attest/device_attest" 21declare_args() { 22 attest_release = "attest_release" 23 attest_debug = "attest_debug" 24} 25 26declare_args() { 27 # build_type 28 attest_build_target = attest_release 29 30 # using mock network authentication data 31 enable_attest_test_mock_network = false 32 33 # using mock setting device data 34 enable_attest_test_mock_device = false 35 36 # check for memory leaks 37 enable_attest_debug_memory_leak = false 38 39 # compile sample 40 enable_attest_sample = false 41 42 # dfx switch 43 enable_attest_debug_dfx = false 44 45 # 集成轻量设备授权验证模块 46 integrate_attest_mini_module = true 47 48 # 域名增强关闭 49 disable_attest_active_site = false 50 51 # token预置方案 52 enable_attest_preset_token = false 53} 54 55declare_args() { 56 # open debug log 57 enable_attest_log_debug = false 58} 59 60if (attest_build_target == attest_debug) { 61 enable_attest_log_debug = true 62} 63 64if (defined(abi_type) && abi_type != "") { 65 integrate_attest_mini_module = false 66} 67