Support Make rewriting APP-*

Test: ALLOW_MISSING_DEPENDENCIES=true m -j APP-Calculator
Change-Id: If5a0b60a0dbc615b6f47ea222616f8d34950ba0c
This commit is contained in:
Dan Willemsen
2017-05-25 22:18:57 -07:00
parent 442b7e6dc9
commit 04a16c7dcf

View File

@@ -81,9 +81,10 @@ func runMakeProductConfig(ctx Context, config Config) {
// Variables to export into the environment of Kati/Ninja
exportEnvVars := []string{
// So that we can use the correct TARGET_PRODUCT if it's been
// modified by PRODUCT-* arguments
// modified by PRODUCT-*/APP-* arguments
"TARGET_PRODUCT",
"TARGET_BUILD_VARIANT",
"TARGET_BUILD_APPS",
// compiler wrappers set up by make
"CC_WRAPPER",