Merge "Fix mac builds due to unguarded-availability error"
diff --git a/Android.bp b/Android.bp
index 7f46cbe..60fcd56 100644
--- a/Android.bp
+++ b/Android.bp
@@ -28,6 +28,17 @@
                 "darwin-lib",
                 "lib",
             ],
+
+            // This isn't being distributed to end-users, so bump up our machine
+            // requirements.
+            cflags: [
+                "-mmacosx-version-min=10.13",
+                "-UMACOSX_DEPLOYMENT_TARGET",
+                "-DMACOSX_DEPLOYMENT_TARGET=10.13",
+            ],
+            ldflags: [
+                "-mmacosx-version-min=10.13",
+            ],
         },
         linux: {
             local_include_dirs: [