Merge "Disable building libapplypatch on mac"
diff --git a/applypatch/Android.bp b/applypatch/Android.bp
index d3efa15..cb0b367 100644
--- a/applypatch/Android.bp
+++ b/applypatch/Android.bp
@@ -57,6 +57,12 @@
         "libotautil",
         "libz",
     ],
+
+    target: {
+        darwin: {
+            enabled: false,
+        },
+    },
 }
 
 cc_library_static {
diff --git a/otafault/Android.bp b/otafault/Android.bp
index 30d5610..b39d5be 100644
--- a/otafault/Android.bp
+++ b/otafault/Android.bp
@@ -39,6 +39,12 @@
         "-Wthread-safety",
         "-Wthread-safety-negative",
     ],
+
+    target: {
+        darwin: {
+            enabled: false,
+        },
+    },
 }
 
 cc_test {