diff options
author | 2022-03-02 13:31:30 -0800 | |
---|---|---|
committer | 2022-03-02 13:31:30 -0800 | |
commit | 93f8d3987afe8fd974216a682f2c8a89fa1794d9 (patch) | |
tree | 3fa867b5618b078ba094b4d1d8b194d3230ec1e0 /rust/compiler.go | |
parent | fc74246c98f9bfd541ec9e7807376a1b755f18f5 (diff) |
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
Diffstat (limited to 'rust/compiler.go')
0 files changed, 0 insertions, 0 deletions