1# Copyright (c) 2023 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/lite/config/component/lite_component.gni")
15import("//test/xts/device_attest_lite/build/devattestconfig.gni")
16
17shared_library("kit_device_attest") {
18  sources = [ "src/native_device_attest.cpp" ]
19  cflags = [
20    "-ftrapv",
21    "-Werror",
22    "-Wextra",
23    "-Wshadow",
24    "-fstack-protector-all",
25    "-Wformat=2",
26    "-Wfloat-equal",
27    "-Wdate-time",
28    "-fPIC",
29    "-pthread",
30  ]
31  include_dirs = [
32    "include",
33    "${devattest_path}/common",
34    "${devattest_path}/common/log",
35    "${devattest_path}/interfaces/innerkits",
36    "${devattest_path}/framework/small/include",
37    "//third_party/bounds_checking_function/include",
38    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/base",
39    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi",
40    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/async",
41  ]
42  deps = [
43    "${devattest_path}/framework:devattest_client",
44    "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
45  ]
46}
47