• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    "-D_FORTIFY_SOURCE=2",
26    "-Wformat=2",
27    "-Wfloat-equal",
28    "-Wdate-time",
29    "-fPIC",
30    "-pthread",
31  ]
32  include_dirs = [
33    "include",
34    "${devattest_path}/interfaces/innerkits",
35    "${devattest_path}/framework/small/include",
36    "//third_party/bounds_checking_function/include",
37    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/base",
38    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi",
39    "//foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/async",
40  ]
41  deps = [
42    "${devattest_path}/framework:devattest_client",
43    "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
44  ]
45}
46