From 721f9bd316b376d66ccd8fa821c5705648818474 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 16 Mar 2016 11:12:41 -0700 Subject: [PATCH] Add SOONG_ALLOW_MISSING_DEPENDENCIES Split out Soong's missing dependency option from Unbundled_build. There are builds other than unbundled builds that don't have a full platform tree (AOSP llvm branch is one example). When this is set to true, Soong will defer the error for missing dependencies until a module is attempted to be built, instead of when it is reading and generating the build rules. So for platform builds it will still fail early if something is missing. Change-Id: I56cb881ff55f5928b77cddc0d67086c3d37e43d7 --- core/soong.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/soong.mk b/core/soong.mk index e070d6bdf..13f85d367 100644 --- a/core/soong.mk +++ b/core/soong.mk @@ -36,6 +36,7 @@ $(SOONG_VARIABLES): FORCE echo ' "Unbundled_build": $(if $(TARGET_BUILD_APPS),true,false),'; \ echo ' "Brillo": $(if $(BRILLO),true,false),'; \ echo ' "Malloc_not_svelte": $(if $(filter true,$(MALLOC_SVELTE)),false,true),'; \ + echo ' "Allow_missing_dependencies": $(if $(TARGET_BUILD_APPS)$(filter true,$(SOONG_ALLOW_MISSING_DEPENDENCIES)),true,false),'; \ echo ''; \ echo ' "DeviceName": "$(TARGET_DEVICE)",'; \ echo ' "DeviceArch": "$(TARGET_ARCH)",'; \ -- 2.11.0