0

Reland "Reland "Reland "Reland "[clank] Checkout AFDO profiles iff checkout_pgo_profiles = true""""

This also sets the gclient config variable for a builder that uses these profiles but doesn't already have the variable set.

This reverts commit 6dd6f72794.

Reason for revert: The dependent CL https://crrev.com/i/7843385 was relanded.

Original change's description:
> Revert "Reland "Reland "Reland "[clank] Checkout AFDO profiles iff checkout_pgo_profiles = true""""
>
> This reverts commit 684ba8c8a6.
>
> Reason for revert: The CL that was a dependency got reverted.
>
> Original change's description:
> > Reland "Reland "Reland "[clank] Checkout AFDO profiles iff checkout_pgo_profiles = true"""
> >
> > This reverts commit 4c41dd0348.
> >
> > Reason for revert: The builder that broke will be fixed by https://crrev.com/i/7843499
> >
> > Original change's description:
> > > Revert "Reland "Reland "[clank] Checkout AFDO profiles iff checkout_pgo_profiles = true"""
> > >
> > > This reverts commit e012eb2b5c.
> > >
> > > Reason for revert: Step "compile" failing on builder "chrome/ci/android-x86-aosp-webview-rel"
> > >
> > > Original change's description:
> > > > Reland "Reland "[clank] Checkout AFDO profiles iff checkout_pgo_profiles = true""
> > > >
> > > > This reverts commit 0cb273dd35.
> > > >
> > > > Reason for revert: Fixing the builders that broke last time
> > > >
> > > > Original change's description:
> > > > > Revert "Reland "[clank] Checkout AFDO profiles iff checkout_pgo_profiles = true""
> > > > >
> > > > > This reverts commit 7a975a262e.
> > > > >
> > > > > Reason for revert: Build failing on arm-builder-rel: http://ci.chromium.org/b/8731251616867074417
> > > > >
> > > > > Original change's description:
> > > > > > Reland "[clank] Checkout AFDO profiles iff checkout_pgo_profiles = true"
> > > > > >
> > > > > > This reverts commit 6f96c16580.
> > > > > >
> > > > > > Reason for revert: This reland adds the missing profile
> > > > > >
> > > > > > Original change's description:
> > > > > > > Revert "[clank] Checkout AFDO profiles iff checkout_pgo_profiles = true"
> > > > > > >
> > > > > > > This reverts commit 5aa57b1b88.
> > > > > > >
> > > > > > > Reason for revert: Fix failing in https://ci.chromium.org/ui/p/chromium/builders/ci/android-official/22666/overview
> > > > > > >
> > > > > > > Original change's description:
> > > > > > > > [clank] Checkout AFDO profiles iff checkout_pgo_profiles = true
> > > > > > > >
> > > > > > > > These profiles are only needed on official builds. They're a waste to checkout unless actually needed.
> > > > > > > >
> > > > > > > > Checking them out on every workspace init also poses an issue for Cider integration. The Cider workflow involves creating many workspaces, which would eat up all the disk space if each workspace downloaded these large profiles.
> > > > > > > >
> > > > > > > > I manually checked all the android official and continuous official builders, and they set this variable to true. E.g. https://logs.chromium.org/logs/chrome/buildbucket/cr-buildbucket/8731415215201822465/+/u/gclient_config/config
> > > > > > > >
> > > > > > > > Change-Id: I8de8460ac0a920fa15eb2c84740420cdeb0e37b4
> > > > > > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6018926
> > > > > > > > Commit-Queue: Gregory Guterman <guterman@google.com>
> > > > > > > > Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> > > > > > > > Reviewed-by: George Burgess <gbiv@chromium.org>
> > > > > > > > Reviewed-by: Gary Tong <gatong@chromium.org>
> > > > > > > > Cr-Commit-Position: refs/heads/main@{#1382478}
> > > > > > >
> > > > > > > Change-Id: Ibaa8c4c5bf14f83b447e8162bf36f97bbb2dfec8
> > > > > > > No-Presubmit: true
> > > > > > > No-Tree-Checks: true
> > > > > > > No-Try: true
> > > > > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6023545
> > > > > > > Owners-Override: Aya Elgendy‎ <ayag@chromium.org>
> > > > > > > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > > > > > > Auto-Submit: Aya Elgendy‎ <ayag@chromium.org>
> > > > > > > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > > > > > > Cr-Commit-Position: refs/heads/main@{#1382921}
> > > > > >
> > > > > > Change-Id: Ibc88f3c70b4fd1675c24275667105f0e28cf669c
> > > > > > Bug: b:375437208
> > > > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6023512
> > > > > > Commit-Queue: Gregory Guterman <guterman@google.com>
> > > > > > Reviewed-by: George Burgess <gbiv@chromium.org>
> > > > > > Cr-Commit-Position: refs/heads/main@{#1383310}
> > > > >
> > > > > Bug: b:375437208
> > > > > Change-Id: Ida6b1c51c79b91a1b5b1dba168087c0457f08f2e
> > > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6023557
> > > > > Owners-Override: Peter Pakkenberg <pbirk@chromium.org>
> > > > > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > > > > Commit-Queue: Peter Pakkenberg <pbirk@chromium.org>
> > > > > Auto-Submit: Peter Pakkenberg <pbirk@chromium.org>
> > > > > Cr-Commit-Position: refs/heads/main@{#1383500}
> > > >
> > > > Bug: b:375437208
> > > > Change-Id: Ifd05d9d701d707408081333d1e0a45a82d39d922
> > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6024088
> > > > Commit-Queue: Gregory Guterman <guterman@google.com>
> > > > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > > > Reviewed-by: Aya Elgendy‎ <ayag@chromium.org>
> > > > Cr-Commit-Position: refs/heads/main@{#1385897}
> > >
> > > Bug: b:375437208
> > > Change-Id: I589f7af9722f9b3d6f5d97b9c295e26edded81b3
> > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6037480
> > > Owners-Override: Xinyi Ji <xinyiji@chromium.org>
> > > Reviewed-by: Gregory Guterman <guterman@google.com>
> > > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > > Commit-Queue: Xinyi Ji <xinyiji@chromium.org>
> > > Cr-Commit-Position: refs/heads/main@{#1386307}
> >
> > Bug: b:375437208
> > Change-Id: I28f95cfa5c1baa800f602c20458e327bc715da13
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6040482
> > Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> > Commit-Queue: Gregory Guterman <guterman@google.com>
> > Reviewed-by: Xinyi Ji <xinyiji@chromium.org>
> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > Cr-Commit-Position: refs/heads/main@{#1386488}
>
> Bug: b:375437208
> Change-Id: I70f18b449053439cfeec00dd7f092dbbf03e71cc
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6038289
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Auto-Submit: Gregory Guterman <guterman@google.com>
> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#1386944}

Bug: b:375437208
Change-Id: Ia77e6e1d28af21eace5b28eaa96a62d2b081c51d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6043388
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Gregory Guterman <guterman@google.com>
Cr-Commit-Position: refs/heads/main@{#1387078}
This commit is contained in:
Gregory Guterman
2024-11-22 22:02:53 +00:00
committed by Chromium LUCI CQ
parent 35c04eeb04
commit 76b0d976b4
4 changed files with 7 additions and 4 deletions
DEPS
infra/config
generated
builders
ci
android-official
try
android-official
subprojects
chromium

4
DEPS

@ -5124,7 +5124,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',
@ -5136,7 +5136,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',

@ -28,7 +28,8 @@
},
"legacy_gclient_config": {
"apply_configs": [
"android"
"android",
"checkout_pgo_profiles"
],
"config": "chromium"
}

@ -28,7 +28,8 @@
},
"legacy_gclient_config": {
"apply_configs": [
"android"
"android",
"checkout_pgo_profiles"
],
"config": "chromium"
}

@ -297,6 +297,7 @@ ci.builder(
config = "chromium",
apply_configs = [
"android",
"checkout_pgo_profiles",
],
),
chromium_config = builder_config.chromium_config(