• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
2#
3# HDF is dual licensed: you can use it either under the terms of
4# the GPL, or the BSD license, at your option.
5# See the LICENSE file in the root of this repository for complete details.
6
7HDF_FRAMEWORKS = "//drivers/framework"
8
9executable("hello_uart") {
10  sources = [ "hello_uart_dev.c" ]
11
12  include_dirs = [
13    "$HDF_FRAMEWORKS/ability/sbuf/include",
14    "$HDF_FRAMEWORKS/core/shared/include",
15    "$HDF_FRAMEWORKS/core/host/include",
16    "$HDF_FRAMEWORKS/core/master/include",
17    "$HDF_FRAMEWORKS/include/core",
18    "$HDF_FRAMEWORKS/include/utils",
19    "$HDF_FRAMEWORKS/utils/include",
20    "$HDF_FRAMEWORKS/include/osal",
21    "//drivers/adapter/uhdf/posix/include",
22    "//third_party/bounds_checking_function/include",
23    "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits",
24  ]
25
26  deps = [
27    "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
28    "//drivers/adapter/uhdf/manager:hdf_core",
29    "//drivers/adapter/uhdf/posix:hdf_posix_osal",
30  ]
31
32  public_deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
33  defines = [ "__USER__" ]
34
35  cflags = [
36    "-Wall",
37    "-Wextra",
38    "-Wno-format",
39    "-Wno-format-extra-args",
40  ]
41}
42