• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
15devattest_innerkit_path = "${devattest_path}/interfaces/innerkits"
16
17declare_args() {
18  attest_release = "attest_release"
19  attest_debug = "attest_debug"
20}
21
22declare_args() {
23  # build_type
24  attest_build_target = attest_release
25
26  # using mock network authentication data
27  enable_attest_mock_network = false
28
29  # using mock setting device data
30  enable_attest_mock_device = false
31
32  # check for memory leaks
33  enable_attest_debug_memory_leak = false
34
35  # compile sample
36  enable_attest_sample = false
37
38  # dfx switch
39  enable_attest_debug_dfx = false
40}
41
42declare_args() {
43  # open debug log
44  enable_attest_log_debug = false
45}
46
47if (attest_build_target == attest_debug) {
48  enable_attest_log_debug = true
49}