Do not build ABI dumps for VNDK
Since VNDK in the main branch will not be finalized, this commit deletes the build rules that generate the ABI dumps. Test: make Bug: 314010764 Change-Id: I2bbab7612d8cbc27312dc4a3c47a0592177918d8
This commit is contained in:
33
cc/sabi.go
33
cc/sabi.go
@@ -105,30 +105,17 @@ func classifySourceAbiDump(ctx android.BaseModuleContext) string {
|
||||
if headerAbiChecker.explicitlyDisabled() {
|
||||
return ""
|
||||
}
|
||||
// Return NDK if the library is both NDK and LLNDK.
|
||||
if m.IsNdk(ctx.Config()) {
|
||||
return "NDK"
|
||||
}
|
||||
if m.isImplementationForLLNDKPublic() {
|
||||
return "LLNDK"
|
||||
}
|
||||
if m.UseVndk() && m.IsVndk() && !m.IsVndkPrivate() {
|
||||
if m.IsVndkSp() {
|
||||
if m.IsVndkExt() {
|
||||
return "VNDK-SP-ext"
|
||||
} else {
|
||||
return "VNDK-SP"
|
||||
}
|
||||
} else {
|
||||
if m.IsVndkExt() {
|
||||
return "VNDK-ext"
|
||||
} else {
|
||||
return "VNDK-core"
|
||||
}
|
||||
if !m.InProduct() && !m.InVendor() {
|
||||
// Return NDK if the library is both NDK and LLNDK.
|
||||
if m.IsNdk(ctx.Config()) {
|
||||
return "NDK"
|
||||
}
|
||||
if m.isImplementationForLLNDKPublic() {
|
||||
return "LLNDK"
|
||||
}
|
||||
if m.library.hasStubsVariants() {
|
||||
return "PLATFORM"
|
||||
}
|
||||
}
|
||||
if m.library.hasStubsVariants() && !m.InProduct() && !m.InVendor() {
|
||||
return "PLATFORM"
|
||||
}
|
||||
if headerAbiChecker.enabled() {
|
||||
if m.InProduct() {
|
||||
|
Reference in New Issue
Block a user