aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/soong_build
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-12-17 16:39:19 -0800
committerColin Cross <ccross@android.com>2015-12-18 13:13:15 -0800
commit6ff513835507ac628bae455fc6765bff059c574c (patch)
treeb4d967d344fb635af870a165ef36de9ae1847945 /cmd/soong_build
parent66fe5656b4abd53249b1e1ea3952fba8bacde10c (diff)
downloadbuild_soong-6ff513835507ac628bae455fc6765bff059c574c.tar.gz
build_soong-6ff513835507ac628bae455fc6765bff059c574c.tar.bz2
build_soong-6ff513835507ac628bae455fc6765bff059c574c.zip
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
Diffstat (limited to 'cmd/soong_build')
-rw-r--r--cmd/soong_build/main.go2
1 files changed, 2 insertions, 0 deletions
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)
}