Merge "Disable building simulator for mac"
diff --git a/updater/Android.bp b/updater/Android.bp
index a66155b..b279068 100644
--- a/updater/Android.bp
+++ b/updater/Android.bp
@@ -81,6 +81,12 @@
"updater.cpp",
],
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+
export_include_dirs: [
"include",
],
@@ -131,6 +137,12 @@
"libfstab",
],
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+
export_include_dirs: [
"include",
],
diff --git a/updater/Android.mk b/updater/Android.mk
index b8b5e5a..e969d1c 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -118,6 +118,7 @@
include $(CLEAR_VARS)
LOCAL_MODULE := update_host_simulator
+LOCAL_MODULE_HOST_OS := linux
LOCAL_SRC_FILES := \
update_simulator_main.cpp