diff options
Diffstat (limited to 'usb/usb/Android.bp')
-rw-r--r-- | usb/usb/Android.bp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/usb/usb/Android.bp b/usb/usb/Android.bp index 1530db58..5afdcc66 100644 --- a/usb/usb/Android.bp +++ b/usb/usb/Android.bp @@ -32,6 +32,7 @@ cc_binary { srcs: [ "service.cpp", "Usb.cpp", + "UsbDataSessionMonitor.cpp", ], shared_libs: [ "libbase", @@ -44,20 +45,28 @@ cc_binary { "android.hardware.thermal@2.0", "android.hardware.thermal-V1-ndk", "android.hardware.usb.gadget@1.0", - "android.hardware.usb-V2-ndk", + "android.hardware.usb-V3-ndk", "libcutils", - "android.frameworks.stats-V1-ndk", + "android.frameworks.stats-V2-ndk", "pixelatoms-cpp", "libbinder_ndk", - + "libprotobuf-cpp-lite", + "server_configurable_flags", ], static_libs: [ "libpixelusb", "libpixelstats", "libthermalutils", + "android.hardware.usb.flags-aconfig-c-lib", ], export_shared_lib_headers: [ - "android.frameworks.stats-V1-ndk", + "android.frameworks.stats-V2-ndk", "pixelatoms-cpp", ], } + +cc_aconfig_library { + name: "android.hardware.usb.flags-aconfig-c-lib", + vendor: true, + aconfig_declarations: "android.hardware.usb.flags-aconfig", +} |