| package { | |
| default_applicable_licenses: ["Android-Apache-2.0"], | |
| } | |
| cc_library_static { | |
| name: "libdiagnose_usb", | |
| cflags: ["-Wall", "-Wextra", "-Werror"], | |
| host_supported: true, | |
| recovery_available: true, | |
| min_sdk_version: "apex_inherit", | |
| apex_available: [ | |
| "com.android.adbd", | |
| // TODO(b/151398197) remove the below | |
| "//apex_available:platform", | |
| ], | |
| target: { | |
| windows: { | |
| enabled: true, | |
| }, | |
| }, | |
| srcs: ["diagnose_usb.cpp"], | |
| export_include_dirs: ["include"], | |
| static_libs: ["libbase"], | |
| } |