Allow apis from exported shared library headers as well, while dumping abi.
header-abi-diff has switched to recursive diffing of types and can diff more accurately if types included in re-exported shared library headers are included as well. Bug: 62060883 Test: make -j64, android.hardware.light@2.0.so.lsdump contains structs from libcutils as well (libcutils' headers are re-exported by android.hardware.light@2.0) Change-Id: I814819e4f7258b4b380350fe8ad0ccf8dbd5ce5c
This commit is contained in:
@@ -323,9 +323,7 @@ func extractExportIncludesFromFlags(flags []string) []string {
|
||||
// from a source. We extract the include flags exported by a library.
|
||||
// This includes the flags exported which are re-exported from static
|
||||
// library dependencies, exported header library dependencies and
|
||||
// generated header dependencies. Re-exported shared library include
|
||||
// flags are not in this set since shared library dependencies will
|
||||
// themselves be included in the vndk. -isystem headers are not included
|
||||
// generated header dependencies. -isystem headers are not included
|
||||
// since for bionic libraries, abi-filtering is taken care of by version
|
||||
// scripts.
|
||||
var exportedIncludes []string
|
||||
|
Reference in New Issue
Block a user