aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2023-02-17 21:00:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-02-17 21:00:16 +0000
commita9bea6d1f66b8dbe8a1ebe54cf86ebe8eeff19cb (patch)
treea6c4416899bdf5b0988ddbc0dabbc03823b8cdd0
parent52f01727725336f82e1f739858502f0a257882d5 (diff)
parentbf519b02fbc2ce37c534675461f94a08fce6f8cd (diff)
downloadbuild-a9bea6d1f66b8dbe8a1ebe54cf86ebe8eeff19cb.tar.gz
Merge "Imply ALLOW_MISSING_DEPENDENCIES for Mac builds" into android12-hostruntime-dev
-rw-r--r--core/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk
index 93c5db12d2..748d4724be 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -445,6 +445,11 @@ endif
ifneq ($(filter true,$(SOONG_ALLOW_MISSING_DEPENDENCIES)),)
ALLOW_MISSING_DEPENDENCIES := true
endif
+# Mac builds default to ALLOW_MISSING_DEPENDENCIES, at least until the host
+# tools aren't enabled by default for Mac.
+ifeq ($(HOST_OS),darwin)
+ ALLOW_MISSING_DEPENDENCIES := true
+endif
.KATI_READONLY := ALLOW_MISSING_DEPENDENCIES
TARGET_BUILD_USE_PREBUILT_SDKS :=