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", ] }