aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cc/library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/library.go b/cc/library.go
index 7889cb19..3053831a 100644
--- a/cc/library.go
+++ b/cc/library.go
@@ -957,7 +957,7 @@ func (library *libraryDecorator) install(ctx ModuleContext, file android.Path) {
957 library.baseInstaller.subDir += "-" + vndkVersion 957 library.baseInstaller.subDir += "-" + vndkVersion
958 } 958 }
959 } 959 }
960 } else if len(library.Properties.Stubs.Versions) > 0 { 960 } else if len(library.Properties.Stubs.Versions) > 0 && android.DirectlyInAnyApex(ctx, ctx.ModuleName()) {
961 // Bionic libraries (e.g. libc.so) is installed to the bootstrap subdirectory. 961 // Bionic libraries (e.g. libc.so) is installed to the bootstrap subdirectory.
962 // The original path becomes a symlink to the corresponding file in the 962 // The original path becomes a symlink to the corresponding file in the
963 // runtime APEX. 963 // runtime APEX.