You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.5 KiB
79 lines
1.5 KiB
import("//build/ohos.gni")
|
|
import("//vendor/${product_company}/${product_name}/product.gni")
|
|
|
|
ohos_executable("ohos_ir_user") {
|
|
configs = [ "$public_sdk_config" ]
|
|
install_enable = true
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
|
|
include_dirs = [
|
|
".",
|
|
"ir_interface",
|
|
"key_pars",
|
|
"vinput_interface",
|
|
"ioctl_cmd",
|
|
"utils",
|
|
"$sdk_dir/platform/base/extern/tinyxml2",
|
|
"$libuapi_pmoc_headers",
|
|
"$libuapi_ir_headers",
|
|
"$libuapi_gpio_headers",
|
|
]
|
|
|
|
defines = [
|
|
"TVOS",
|
|
]
|
|
|
|
sources = [
|
|
"Main.cpp",
|
|
"Options.cpp",
|
|
"ir_interface/IrUser.cpp",
|
|
"vinput_interface/AndroidVinputInterface.cpp",
|
|
"key_pars/KeyParsInterface.cpp",
|
|
"ir_interface/AndroidIrInterface.cpp",
|
|
"utils/ir_user_utils.c",
|
|
"$sdk_dir/platform/base/extern/tinyxml2/tinyxml2.cpp",
|
|
]
|
|
|
|
deps = [
|
|
"$libuapi_securec",
|
|
"$libuapi_common",
|
|
"$libuapi_ir",
|
|
"$libuapi_pmoc",
|
|
"//base/startup/init/interfaces/innerkits:libbegetutil",
|
|
]
|
|
}
|
|
|
|
ohos_prebuilt_etc("ohos_ir_user.cfg") {
|
|
install_enable = true
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
|
|
source = "etc/input/ohos_ir_user.cfg"
|
|
relative_install_dir = "init"
|
|
}
|
|
|
|
ohos_prebuilt_etc("ohos_ir_key.xml") {
|
|
install_enable = true
|
|
subsystem_name = "huanglong_sdk"
|
|
install_images = [
|
|
"vendor",
|
|
]
|
|
|
|
source = "etc/input/key_ohos.xml"
|
|
output = "key.xml"
|
|
module_install_dir = "etc"
|
|
}
|
|
|
|
group("ir_user") {
|
|
deps = [
|
|
":ohos_ir_user",
|
|
":ohos_ir_user.cfg",
|
|
":ohos_ir_key.xml",
|
|
]
|
|
}
|