diff options
author | 2023-09-06 22:07:15 +0000 | |
---|---|---|
committer | 2023-09-06 22:15:13 +0000 | |
commit | f7bae9ab3ebb3c22c3499c07a25cd18e3a99dbef (patch) | |
tree | bc3e6635f94adcb62824ed78bcf7640149568a0b /python/python_test.go | |
parent | 2f681324c2aef739291a259dbc654bc86b6a74ff (diff) |
Fix bp2build's stub/impl selection logic for platform variants
For a dependency edge A --> B (stublib), Soong will link A's platform
variant against impl of B's platform variant if either of these are true
1. A and B have same apex_available
2. B has bootstrap: true
3. B is only available to platform
(3) was missing from bp2build. This CL adds that.
To implement this, we check the `apex_available` property of B.
Test: updated bp2build tests
Test: Built the internal module b/299191635 that was failing due to this
Bug: 299191635
Change-Id: Iafb173a3ab20d69b89f7949ce40c6f4096396f24
Diffstat (limited to 'python/python_test.go')
0 files changed, 0 insertions, 0 deletions