Revert^2 "Add sdk mutator for native modules"
f8e80229fe
Change-Id: Ic30ab6b844684bfc3e8ece5a1913980d5fbf8de2
This commit is contained in:
@@ -1223,7 +1223,7 @@ func (library *libraryDecorator) install(ctx ModuleContext, file android.Path) {
|
||||
if Bool(library.Properties.Static_ndk_lib) && library.static() &&
|
||||
!ctx.useVndk() && !ctx.inRamdisk() && !ctx.inRecovery() && ctx.Device() &&
|
||||
library.baseLinker.sanitize.isUnsanitizedVariant() &&
|
||||
!library.buildStubs() {
|
||||
!library.buildStubs() && ctx.sdkVersion() == "" {
|
||||
installPath := getNdkSysrootBase(ctx).Join(
|
||||
ctx, "usr/lib", config.NDKTriple(ctx.toolchain()), file.Base())
|
||||
|
||||
|
Reference in New Issue
Block a user