1# Copyright (c) 2021-2023 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_framework_path = "../../../../../framework"
8hdf_adapter_path = "../../../../../adapter"
9
10executable("hello_uart") {
11  sources = [ "hello_uart_dev.c" ]
12
13  include_dirs = [
14    "$hdf_framework_path/ability/sbuf/include",
15    "$hdf_framework_path/core/shared/include",
16    "$hdf_framework_path/core/host/include",
17    "$hdf_framework_path/core/master/include",
18    "$hdf_framework_path/include/core",
19    "$hdf_framework_path/include/utils",
20    "$hdf_framework_path/utils/include",
21    "$hdf_framework_path/include/osal",
22    "$hdf_adapter_path/uhdf/posix/include",
23    "//third_party/bounds_checking_function/include",
24    "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits",
25  ]
26
27  deps = [
28    "$hdf_adapter_path/uhdf/manager:hdf_core",
29    "$hdf_adapter_path/uhdf/posix:hdf_posix_osal",
30    "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
31  ]
32
33  public_deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
34  defines = [ "__USER__" ]
35}
36