[cc/pgo] Mark pgo.sampling property as an arch-variant

Bug: http://b/189438896

This allows disabling sampling PGO for some arches.

Test: Build this topic.
Change-Id: Ib6ddca6685c2e53092afd440ad95ec42d3a9538b
This commit is contained in:
Pirama Arumuga Nainar 2021-06-16 14:31:19 -07:00
parent 12066c6542
commit 19a5aae35e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func recordMissingProfileFile(ctx BaseModuleContext, missing string) {
type PgoProperties struct { type PgoProperties struct {
Pgo struct { Pgo struct {
Instrumentation *bool Instrumentation *bool
Sampling *bool Sampling *bool `android:"arch_variant"`
Profile_file *string `android:"arch_variant"` Profile_file *string `android:"arch_variant"`
Benchmarks []string Benchmarks []string
Enable_profile_use *bool `android:"arch_variant"` Enable_profile_use *bool `android:"arch_variant"`