import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_executable("sample_i2c_read") { configs = [ "$public_sdk_config" ] install_enable = true subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] include_dirs = [ "$drv_generic_headers", "$drv_i2c_headers", "$drv_common_headers", "$libuapi_common_headers", "$libuapi_i2c_headers", "$libdftevent_headers", ] deps = [ "$libuapi_common", "$libdftevent", "$libuapi_i2c", ] sources = [ "sample_i2c_read.c", ] } ohos_executable("sample_i2c_write") { configs = [ "$public_sdk_config" ] install_enable = true subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] include_dirs = [ "$drv_generic_headers", "$drv_i2c_headers", "$drv_common_headers", "$libuapi_common_headers", "$libuapi_i2c_headers", "$libdftevent_headers", ] deps = [ "$libuapi_common", "$libdftevent", "$libuapi_i2c", ] sources = [ "sample_i2c_write.c", ] }