Merge "Fix mac SDK build"
diff --git a/Android.libbase.bp b/Android.libbase.bp
index d876d86..475160f 100644
--- a/Android.libbase.bp
+++ b/Android.libbase.bp
@@ -40,11 +40,14 @@
],
},
host: {
- srcs: [
- "src/base/debug/stack_trace_posix.cc",
- "src/base/platform/platform-linux.cc",
- ],
+ srcs: ["src/base/debug/stack_trace_posix.cc"],
cflags: ["-UANDROID"],
},
+ linux_glibc: {
+ srcs: ["src/base/platform/platform-linux.cc"],
+ },
+ darwin: {
+ srcs: ["src/base/platform/platform-macos.cc"],
+ },
},
}