diff options
author | 2021-12-09 18:06:29 +0800 | |
---|---|---|
committer | 2021-12-21 16:09:23 +0800 | |
commit | eb8efc902dd6008d22601d192ff63ea99d6eff1d (patch) | |
tree | 8b2c545395385b565b316892f7d9dc84f1e11d72 /android/variable.go | |
parent | 55f84a74c5b824f9ff5e5b320fc8fc598f25f46d (diff) |
Introduce afdo
A new configuration rule for sampling PGO. This differs from the
original pgo.go rule in the following ways:
* Automatic propagation to static dependencies
* Simpler configuration (just put `afdo: true` to optimsation targets)
http://go/android-afdo
Test: build
Bug: 79161490
Change-Id: Ie194824cd523bca19e10ced41d2078fc598f13b3
Diffstat (limited to 'android/variable.go')
-rw-r--r-- | android/variable.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/variable.go b/android/variable.go index bc93835f2..7bccc9190 100644 --- a/android/variable.go +++ b/android/variable.go @@ -327,7 +327,8 @@ type productVariables struct { NamespacesToExport []string `json:",omitempty"` - PgoAdditionalProfileDirs []string `json:",omitempty"` + AfdoAdditionalProfileDirs []string `json:",omitempty"` + PgoAdditionalProfileDirs []string `json:",omitempty"` VndkUseCoreVariant *bool `json:",omitempty"` VndkSnapshotBuildArtifacts *bool `json:",omitempty"` |