Disable libbinder darwin builds
libbinder makes heavy use of linux headers, so it won't build on a mac.
This gives us cleaner errors when a mac target depends on it. Instead of
seeing libbinder build breakages, we will see the missing dependency
error.
Exempt-From-Owner-Approval: fixing build breakage
Test: none
Bug: 172023026
Change-Id: I4eadf2c9c09599b5d1bcafdb7d8559946c854e49
diff --git a/libs/android_runtime_lazy/Android.bp b/libs/android_runtime_lazy/Android.bp
index 09a5f39..cdd7764 100644
--- a/libs/android_runtime_lazy/Android.bp
+++ b/libs/android_runtime_lazy/Android.bp
@@ -35,6 +35,11 @@
vendor_available: true,
double_loadable: true,
host_supported: true,
+ target: {
+ darwin: {
+ enabled: false,
+ }
+ },
cflags: [
"-Wall",