15bbf6e98Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
25bbf6e98Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
35bbf6e98Sopenharmony_ci# you may not use this file except in compliance with the License.
45bbf6e98Sopenharmony_ci# You may obtain a copy of the License at
55bbf6e98Sopenharmony_ci#
65bbf6e98Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
75bbf6e98Sopenharmony_ci#
85bbf6e98Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
95bbf6e98Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
105bbf6e98Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115bbf6e98Sopenharmony_ci# See the License for the specific language governing permissions and
125bbf6e98Sopenharmony_ci# limitations under the License.
135bbf6e98Sopenharmony_ci
145bbf6e98Sopenharmony_ciimport("//build/ohos.gni")
155bbf6e98Sopenharmony_ciimport("//test/xts/device_attest/build/devattestconfig.gni")
165bbf6e98Sopenharmony_ci
175bbf6e98Sopenharmony_ciohos_executable("attesttestclient") {
185bbf6e98Sopenharmony_ci  sanitize = {
195bbf6e98Sopenharmony_ci    cfi = true
205bbf6e98Sopenharmony_ci    cfi_cross_dso = true
215bbf6e98Sopenharmony_ci    debug = false
225bbf6e98Sopenharmony_ci  }
235bbf6e98Sopenharmony_ci
245bbf6e98Sopenharmony_ci  sources = [ "devattest_main_client.cpp" ]
255bbf6e98Sopenharmony_ci
265bbf6e98Sopenharmony_ci  include_dirs = [
275bbf6e98Sopenharmony_ci    "${devattest_path}/common",
285bbf6e98Sopenharmony_ci    "${devattest_innerkit_path}/native_cpp/include",
295bbf6e98Sopenharmony_ci  ]
305bbf6e98Sopenharmony_ci
315bbf6e98Sopenharmony_ci  deps = [ "${devattest_path}/interfaces/innerkits/native_cpp:devattest_sdk" ]
325bbf6e98Sopenharmony_ci
335bbf6e98Sopenharmony_ci  external_deps = [ "c_utils:utils" ]
345bbf6e98Sopenharmony_ci
355bbf6e98Sopenharmony_ci  subsystem_name = "xts"
365bbf6e98Sopenharmony_ci  part_name = "device_attest"
375bbf6e98Sopenharmony_ci}
38