summaryrefslogtreecommitdiff
path: root/usb/usb/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'usb/usb/Android.bp')
-rw-r--r--usb/usb/Android.bp16
1 files changed, 13 insertions, 3 deletions
diff --git a/usb/usb/Android.bp b/usb/usb/Android.bp
index b9d6018..609af17 100644
--- a/usb/usb/Android.bp
+++ b/usb/usb/Android.bp
@@ -34,6 +34,7 @@ cc_binary {
srcs: [
"service.cpp",
"Usb.cpp",
+ "UsbDataSessionMonitor.cpp",
],
shared_libs: [
"libbase",
@@ -47,20 +48,29 @@ 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",
"android.hardware.usb.gadget-V1-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-aidl",
"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",
+}