Restore the test for bionic being in an APEX.
This was removed in https://android-review.googlesource.com/c/platform/build/soong/+/950885 because it appeared that bionic was always in an APEX, but apparently the ART host tests have bionic outside of an APEX. Test: art/test/testrunner/run_build_test_target.py -j50 art-linux-bionic-x64 Change-Id: I0b99462e8636da53c87f9250093689aaaf9ea695
This commit is contained in:
parent
6be6c2e4c5
commit
49a25cbc7c
1 changed files with 1 additions and 1 deletions
|
@ -957,7 +957,7 @@ func (library *libraryDecorator) install(ctx ModuleContext, file android.Path) {
|
|||
library.baseInstaller.subDir += "-" + vndkVersion
|
||||
}
|
||||
}
|
||||
} else if len(library.Properties.Stubs.Versions) > 0 {
|
||||
} else if len(library.Properties.Stubs.Versions) > 0 && android.DirectlyInAnyApex(ctx, ctx.ModuleName()) {
|
||||
// Bionic libraries (e.g. libc.so) is installed to the bootstrap subdirectory.
|
||||
// The original path becomes a symlink to the corresponding file in the
|
||||
// runtime APEX.
|
||||
|
|
Loading…
Reference in a new issue