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.

58 lines
1.0 KiB

import("//build/ohos.gni")
import("//vendor/${product_company}/${product_name}/product.gni")
ohos_executable("sample_pwm") {
configs = [ "$public_sdk_config" ]
install_enable = true
subsystem_name = "huanglong_sdk"
install_images = [
"vendor",
]
include_dirs = [
"$drv_generic_headers",
"$drv_pwm_headers",
"$drv_common_headers",
"$libuapi_common_headers",
"$libuapi_pwm_headers",
"$libdftevent_headers",
]
deps = [
"$libuapi_common",
"$libdftevent",
"$libuapi_pwm",
]
sources = [
"sample_pwm.c",
]
}
ohos_executable("sample_moto_pwm") {
configs = [ "$public_sdk_config" ]
install_enable = true
subsystem_name = "huanglong_sdk"
install_images = [
"vendor",
]
include_dirs = [
"$drv_generic_headers",
"$drv_pwm_headers",
"$drv_common_headers",
"$libuapi_common_headers",
"$libuapi_pwm_headers",
"$libdftevent_headers",
]
deps = [
"$libuapi_common",
"$libdftevent",
"$libuapi_pwm",
]
sources = [
"sample_moto_pwm.c",
]
}