platform_build_soong/mk2rbc
Cole Faust 93f8d3987a Fix include paths that match one file being included unconditionally
In aosp/1962181 an "optimization" was added where if an include
path with a variable only matches one file, that file would be
called directly instead of going through the whole _entry
variable.

This doesn't work when there is an inherit-product-if-exists call
that matches one file, but that file isn't the one that is specified
at runtime. In reality, the inherit-product-if-exists call should
see that the file doesn't exist and not include anything.

Fixes: 222341691
Test: go test
Change-Id: If8789de0013726137683078355161eecdec009b1
2022-03-02 13:31:30 -08:00
..
cmd Remove --root, require the cwd to be the root 2022-02-07 11:45:01 -08:00
test Share version settings with product config makefile. 2021-09-13 09:23:05 -07:00
Android.bp Support passing input variables to the product configuration 2021-12-02 16:19:19 -08:00
android_products.go AndroidProducts.mk file reader 2021-07-12 09:40:18 -07:00
android_products_test.go AndroidProducts.mk file reader 2021-07-12 09:40:18 -07:00
config_variables.go
config_variables_test.go
expr.go Fix issue with referencing the loop variable in a foreach 2022-03-01 16:11:50 -08:00
find_mockfs.go Allow dynamically calculated inherit-product path 2021-08-02 14:35:45 -07:00
mk2rbc.go Fix include paths that match one file being included unconditionally 2022-03-02 13:31:30 -08:00
mk2rbc_test.go Fix include paths that match one file being included unconditionally 2022-03-02 13:31:30 -08:00
node.go Update warning message 2022-02-08 13:10:26 -08:00
soong_variables.go Soong variables reader 2021-07-12 09:40:18 -07:00
soong_variables_test.go Soong variables reader 2021-07-12 09:40:18 -07:00
TODO Product config makefiles to Starlark converter 2021-07-14 09:51:10 -07:00
types.go Make a pass over our codebase cleaning up non-precise / non-inclusive language. 2021-10-28 10:32:07 -07:00
variable.go Fix "unknown binary op: string + list" errors 2021-12-22 14:08:08 -08:00