diff --git a/DEPS b/DEPS index 3ae9871e504c6..a10f525364c5e 100644 --- a/DEPS +++ b/DEPS @@ -5117,7 +5117,7 @@ hooks = [ { 'name': 'Fetch Android AFDO profile', 'pattern': '.', - 'condition': 'checkout_android', + 'condition': 'checkout_android and checkout_pgo_profiles', 'action': [ 'python3', 'src/tools/download_optimization_profile.py', '--newest_state=src/chrome/android/profiles/newest.txt', @@ -5129,7 +5129,7 @@ hooks = [ { 'name': 'Fetch Android Arm AFDO profile', 'pattern': '.', - 'condition': 'checkout_android', + 'condition': 'checkout_android and checkout_pgo_profiles', 'action': [ 'python3', 'src/tools/download_optimization_profile.py', '--newest_state=src/chrome/android/profiles/arm.newest.txt', diff --git a/infra/config/generated/builders/ci/android-official/properties.json b/infra/config/generated/builders/ci/android-official/properties.json index 8f713274476b4..9f189a254c8fe 100644 --- a/infra/config/generated/builders/ci/android-official/properties.json +++ b/infra/config/generated/builders/ci/android-official/properties.json @@ -28,7 +28,8 @@ }, "legacy_gclient_config": { "apply_configs": [ - "android" + "android", + "checkout_pgo_profiles" ], "config": "chromium" } diff --git a/infra/config/generated/builders/try/android-official/properties.json b/infra/config/generated/builders/try/android-official/properties.json index 3f884ce86d15b..01b42e7d606ac 100644 --- a/infra/config/generated/builders/try/android-official/properties.json +++ b/infra/config/generated/builders/try/android-official/properties.json @@ -28,7 +28,8 @@ }, "legacy_gclient_config": { "apply_configs": [ - "android" + "android", + "checkout_pgo_profiles" ], "config": "chromium" } diff --git a/infra/config/subprojects/chromium/ci/chromium.star b/infra/config/subprojects/chromium/ci/chromium.star index adcf49cc9243f..769c600a445c7 100644 --- a/infra/config/subprojects/chromium/ci/chromium.star +++ b/infra/config/subprojects/chromium/ci/chromium.star @@ -297,6 +297,7 @@ ci.builder( config = "chromium", apply_configs = [ "android", + "checkout_pgo_profiles", ], ), chromium_config = builder_config.chromium_config(