Merge "Install symlink to the runtime APEX only for device" am: c743c37e92
am: 467fc4afa1
am: 0c0a3194b6
Change-Id: I7445ba140ddd2ddee89a8a5050ce1dd481d75bc3
This commit is contained in:
commit
638ec3a938
2 changed files with 6 additions and 2 deletions
|
@ -437,7 +437,9 @@ func (binary *binaryDecorator) install(ctx ModuleContext, file android.Path) {
|
|||
// The original path becomes a symlink to the corresponding file in the
|
||||
// runtime APEX.
|
||||
if isBionic(ctx.baseModuleName()) && ctx.Arch().Native && ctx.apexName() == "" && !ctx.inRecovery() {
|
||||
if ctx.Device() {
|
||||
binary.installSymlinkToRuntimeApex(ctx, file)
|
||||
}
|
||||
binary.baseInstaller.subDir = "bootstrap"
|
||||
}
|
||||
binary.baseInstaller.install(ctx, file)
|
||||
|
|
|
@ -920,7 +920,9 @@ func (library *libraryDecorator) install(ctx ModuleContext, file android.Path) {
|
|||
// The original path becomes a symlink to the corresponding file in the
|
||||
// runtime APEX.
|
||||
if isBionic(ctx.baseModuleName()) && !library.buildStubs() && ctx.Arch().Native && !ctx.inRecovery() {
|
||||
if ctx.Device() {
|
||||
library.installSymlinkToRuntimeApex(ctx, file)
|
||||
}
|
||||
library.baseInstaller.subDir = "bootstrap"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue