Remove unused intermediates parameter from ExistentPathForSource
Test: m checkbuild
Change-Id: Id2c0a5039c2ec3b3795385c135ffec022ccd691e
diff --git a/cc/pgo.go b/cc/pgo.go
index 779ef39..10c8dac 100644
--- a/cc/pgo.go
+++ b/cc/pgo.go
@@ -102,7 +102,7 @@
func (props *PgoProperties) getPgoProfileFile(ctx BaseModuleContext) android.OptionalPath {
// Test if the profile_file is present in any of the PGO profile projects
for _, profileProject := range getPgoProfileProjects(ctx.DeviceConfig()) {
- path := android.ExistentPathForSource(ctx, "", profileProject, *props.Pgo.Profile_file)
+ path := android.ExistentPathForSource(ctx, profileProject, *props.Pgo.Profile_file)
if path.Valid() {
return path
}