Pass extra args from multiproduct_kati to config.
Allows specifying make goals when using multiproduct_kati, for example: $ multiproduct_kati -only-config dump-products This makes dumping products with multiproduct_kati easier than before. Test: multiproduct_kati -only-config -products=full,aosp_arm64 -out=/tmp/p dump-products Change-Id: If526bd2ba1b7bbadcb230c020202ef9e421e1852
This commit is contained in:
parent
55e0bf4231
commit
43da16a440
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ func main() {
|
|||
}}
|
||||
productCtx.Status.AddOutput(terminal.NewStatusOutput(productCtx.Writer, ""))
|
||||
|
||||
productConfig := build.NewConfig(productCtx)
|
||||
productConfig := build.NewConfig(productCtx, flag.Args()...)
|
||||
productConfig.Environment().Set("OUT_DIR", productOutDir)
|
||||
build.FindSources(productCtx, productConfig, finder)
|
||||
productConfig.Lunch(productCtx, product, *buildVariant)
|
||||
|
|
Loading…
Reference in a new issue