• 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_dispatch") {
10  sources = [
11    "hello_uart_dispatch.c",
12    "uart_if.c",
13  ]
14
15  include_dirs = [
16    "$HDF_FRAMEWORKS/ability/sbuf/include",
17    "$HDF_FRAMEWORKS/core/shared/include",
18    "$HDF_FRAMEWORKS/core/host/include",
19    "$HDF_FRAMEWORKS/core/master/include",
20    "$HDF_FRAMEWORKS/include/core",
21    "$HDF_FRAMEWORKS/include/utils",
22    "$HDF_FRAMEWORKS/utils/include",
23    "$HDF_FRAMEWORKS/include/osal",
24    "//drivers/adapter/uhdf/posix/include",
25    "//third_party/bounds_checking_function/include",
26    "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits",
27  ]
28
29  deps = [
30    "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
31    "//drivers/adapter/uhdf/manager:hdf_core",
32    "//drivers/adapter/uhdf/posix:hdf_posix_osal",
33  ]
34
35  public_deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
36  defines = [ "__USER__" ]
37
38  cflags = [
39    "-Wall",
40    "-Wextra",
41    "-Wno-format",
42    "-Wno-format-extra-args",
43  ]
44}
45