From 6ff513835507ac628bae455fc6765bff059c574c Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 17 Dec 2015 16:39:19 -0800 Subject: Delay dependency errors to ninja time for unbundled builds Unbundled builds may use a subset of the tree, which can bring in unused modules but not their dependencies. Delay handling of dependency errors for unbundled builds to ninja time, which will prevent errors if only modules with satisified dependencies are built. Change-Id: Ib93bae93fcfa0b55df500a30d8e35231ffb0987c --- cmd/soong_build/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd') diff --git a/cmd/soong_build/main.go b/cmd/soong_build/main.go index 254f9225..1bb8fcda 100644 --- a/cmd/soong_build/main.go +++ b/cmd/soong_build/main.go @@ -44,5 +44,7 @@ func main() { // Temporary hack //ctx.SetIgnoreUnknownModuleTypes(true) + ctx.SetAllowMissingDependencies(configuration.AllowMissingDependencies()) + bootstrap.Main(ctx, configuration, configuration.ConfigFileName, configuration.ProductVariablesFileName) } -- cgit v1.2.3