diff options
author | Colin Cross <ccross@android.com> | 2015-12-17 16:39:19 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2015-12-18 13:13:15 -0800 |
commit | 6ff513835507ac628bae455fc6765bff059c574c (patch) | |
tree | b4d967d344fb635af870a165ef36de9ae1847945 /cmd/soong_build | |
parent | 66fe5656b4abd53249b1e1ea3952fba8bacde10c (diff) | |
download | build_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.go | 2 |
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) } |