Skip creating vendor variants for native_bridge modules
am: 1282f42ed6
Change-Id: Ia64f3b40220bebf429cf9032e4700d64a11576a7
This commit is contained in:
3
cc/cc.go
3
cc/cc.go
@@ -2323,6 +2323,9 @@ func ImageMutator(mctx android.BottomUpMutatorContext) {
|
|||||||
// If the device isn't compiling against the VNDK, we always
|
// If the device isn't compiling against the VNDK, we always
|
||||||
// use the core mode.
|
// use the core mode.
|
||||||
coreVariantNeeded = true
|
coreVariantNeeded = true
|
||||||
|
} else if m.Target().NativeBridge == android.NativeBridgeEnabled {
|
||||||
|
// Skip creating vendor variants for natvie bridge modules
|
||||||
|
coreVariantNeeded = true
|
||||||
} else if _, ok := m.linker.(*llndkStubDecorator); ok {
|
} else if _, ok := m.linker.(*llndkStubDecorator); ok {
|
||||||
// LL-NDK stubs only exist in the vendor variant, since the
|
// LL-NDK stubs only exist in the vendor variant, since the
|
||||||
// real libraries will be used in the core variant.
|
// real libraries will be used in the core variant.
|
||||||
|
Reference in New Issue
Block a user