Merge "Ignore modules which are not exported to Make." into main am: d741b7f9f2

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2970151

Change-Id: I00b7aa59b8d620b4a1226a1aa1455af01cf945b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2024-02-21 05:42:21 +00:00 committed by Automerger Merge Worker
commit 9258c46749

View file

@ -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