Merge "Also generate api lists based on symbol files for cc_library rule during build time."

This commit is contained in:
Sophie Zheng
2021-08-25 04:16:34 +00:00
committed by Gerrit Code Review
4 changed files with 28 additions and 26 deletions

View File

@@ -294,6 +294,9 @@ func (library *libraryDecorator) AndroidMkEntries(ctx AndroidMkContext, entries
if library.buildStubs() {
entries.SetBool("LOCAL_NO_NOTICE_FILE", true)
}
if library.apiListCoverageXmlPath.String() != "" {
entries.SetString("SOONG_CC_API_XML", "$(SOONG_CC_API_XML) "+library.apiListCoverageXmlPath.String())
}
})
}
// If a library providing a stub is included in an APEX, the private APIs of the library