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:
parent
4bec95e2f6
commit
fb7566456c
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ func fileSizesSingleton() android.Singleton {
|
||||||
func (singleton *sizesSingleton) GenerateBuildActions(ctx android.SingletonContext) {
|
func (singleton *sizesSingleton) GenerateBuildActions(ctx android.SingletonContext) {
|
||||||
var deps android.Paths
|
var deps android.Paths
|
||||||
ctx.VisitAllModules(func(m android.Module) {
|
ctx.VisitAllModules(func(m android.Module) {
|
||||||
|
if !m.ExportedToMake() {
|
||||||
|
return
|
||||||
|
}
|
||||||
filePaths, ok := android.SingletonModuleProvider(ctx, m, fileSizeMeasurerKey)
|
filePaths, ok := android.SingletonModuleProvider(ctx, m, fileSizeMeasurerKey)
|
||||||
if !ok {
|
if !ok {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue