Export Soong modules and build a database from metadata from Make and Soong.
Bug: 324465531 Test: CIs Test: m compliance-metadata.db Change-Id: Ia1c9ab0ae874dd47969555ddbfb93405b57a651f
This commit is contained in:
@@ -919,6 +919,10 @@ type ModuleBase struct {
|
||||
// outputFiles stores the output of a module by tag and is used to set
|
||||
// the OutputFilesProvider in GenerateBuildActions
|
||||
outputFiles OutputFilesInfo
|
||||
|
||||
// complianceMetadataInfo is for different module types to dump metadata.
|
||||
// See android.ModuleContext interface.
|
||||
complianceMetadataInfo *ComplianceMetadataInfo
|
||||
}
|
||||
|
||||
func (m *ModuleBase) AddJSONData(d *map[string]interface{}) {
|
||||
@@ -2049,6 +2053,8 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext)
|
||||
if m.outputFiles.DefaultOutputFiles != nil || m.outputFiles.TaggedOutputFiles != nil {
|
||||
SetProvider(ctx, OutputFilesProvider, m.outputFiles)
|
||||
}
|
||||
|
||||
buildComplianceMetadataProvider(ctx, m)
|
||||
}
|
||||
|
||||
func SetJarJarPrefixHandler(handler func(ModuleContext)) {
|
||||
|
Reference in New Issue
Block a user