Merge changes I3a2191b0,Ide1056b5
* changes:
libfastboot uses usb_linux.cpp for all Linux targets
Don't enable version lib for libadb_sysdeps
diff --git a/adb/Android.bp b/adb/Android.bp
index 8addf95..5351b3f 100644
--- a/adb/Android.bp
+++ b/adb/Android.bp
@@ -270,6 +270,8 @@
host_supported: true,
compile_multilib: "both",
min_sdk_version: "apex_inherit",
+ // This library doesn't use build::GetBuildNumber()
+ use_version_lib: false,
srcs: [
"sysdeps/env.cpp",
diff --git a/fastboot/Android.bp b/fastboot/Android.bp
index 6673543..81ebf43 100644
--- a/fastboot/Android.bp
+++ b/fastboot/Android.bp
@@ -251,7 +251,7 @@
darwin: {
srcs: ["usb_osx.cpp"],
},
- linux_glibc: {
+ linux: {
srcs: ["usb_linux.cpp"],
},
},