Disable building simulator for mac

Disable building the simulator and its support libraries to resolve the breakage
on mac host targets. Because the simulator is not intended to use on mac anyway.

Bug: 134047992
Test: mma
Change-Id: I488ab50cab1282f03250010b5334f1895d44f98b
This commit is contained in:
Tianjie Xu
2019-05-30 10:24:47 -07:00
parent 65d7d5b8cf
commit 76e165d143
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -81,6 +81,12 @@ cc_library_static {
"updater.cpp",
],
target: {
darwin: {
enabled: false,
},
},
export_include_dirs: [
"include",
],
@@ -131,6 +137,12 @@ cc_library_host_static {
"libfstab",
],
target: {
darwin: {
enabled: false,
},
},
export_include_dirs: [
"include",
],
+1
View File
@@ -118,6 +118,7 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE := update_host_simulator
LOCAL_MODULE_HOST_OS := linux
LOCAL_SRC_FILES := \
update_simulator_main.cpp