Ignore modules which are not exported to Make.
Bug: 323833345 Test: forrest run on git_udc-qpr-dev-plus-aosp/aosp_arm64-trunk_staging-userdebug Change-Id: I3b190ebc1a1096972d0a1273e490972e04684dd2
This commit is contained in:
@@ -85,6 +85,9 @@ func fileSizesSingleton() android.Singleton {
|
||||
func (singleton *sizesSingleton) GenerateBuildActions(ctx android.SingletonContext) {
|
||||
var deps android.Paths
|
||||
ctx.VisitAllModules(func(m android.Module) {
|
||||
if !m.ExportedToMake() {
|
||||
return
|
||||
}
|
||||
filePaths, ok := android.SingletonModuleProvider(ctx, m, fileSizeMeasurerKey)
|
||||
if !ok {
|
||||
return
|
||||
|
Reference in New Issue
Block a user