From fd224efb7f0a66b809d81f7bd4cce5bd7efb73a5 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 8 Jul 2021 14:21:11 -0700 Subject: [PATCH] Imply ALLOW_MISSING_DEPENDENCIES for Mac builds At least until the device builds are largely disabled and host builds become opt-in rather than opt-out. Otherwise every host test that depends on a linux-only library breaks the mac build, even if it won't be used. Bug: 187222815 Change-Id: Ic598f2b66a949b90e5b3fbebf463f28278e4834f --- core/config.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/config.mk b/core/config.mk index e30ff3ff34..acdf15e3b1 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 :=