# Copyright (c) 2022 Huawei Device Co., Ltd.
#
# HDF is dual licensed: you can use it either under the terms of
# the GPL, or the BSD license, at your option.
# See the LICENSE file in the root of this repository for complete details.
import("//build/ohos.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
ohos_executable("hdf_dbg") {
sources = [ "hdf_dbg.cpp" ]
if (is_standard_system) {
external_deps = [
"hdf_core:libhdf_utils",
"hdf_core:libhdi",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_single",
"utils_base:utils",
]
} else {
external_deps = [ "hilog:libhilog" ]
}
install_enable = true
install_images = [ chipset_base_dir ]
subsystem_name = "hdf"
part_name = "hdf_core"
}