Skip native_bridge modules when listing VNDK libs am: 7390ea3d79
am: 795593c7a9
am: 233f97c816
Change-Id: Idaafafe9dd25f7c3c248b710cf60c224a17f05a6
This commit is contained in:
@@ -317,10 +317,13 @@ func VndkMutator(mctx android.BottomUpMutatorContext) {
|
|||||||
if !ok {
|
if !ok {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if !m.Enabled() {
|
if !m.Enabled() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if m.Target().NativeBridge == android.NativeBridgeEnabled {
|
||||||
|
// Skip native_bridge modules
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if m.isVndk() {
|
if m.isVndk() {
|
||||||
if lib, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok {
|
if lib, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok {
|
||||||
|
Reference in New Issue
Block a user