summaryrefslogtreecommitdiff
path: root/android/config.go
diff options
context:
space:
mode:
author Marybeth Fair <marybethfair@google.com> 2024-12-04 14:22:40 -0500
committer Marybeth Fair <marybethfair@google.com> 2024-12-12 16:57:16 -0500
commitc8c74d67c5b62b611e0bf32442bccfad479ba9f5 (patch)
treecdf55f850ceba126c3e5971d5bc66e351893d940 /android/config.go
parente451ed647f0ee3565f994ea4ad16fff0c3992db2 (diff)
Connect fingerprint build flag to soong.
When RELEASE_FINGERPRINT_ACONFIG_PACKAGE is true, the storage file version will be v2 for aconfig create-storage. Test: manual Change-Id: I6861ac1bfe8680ff7311e26efb627e0ac7c58f05
Diffstat (limited to 'android/config.go')
-rw-r--r--android/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go
index d78bbf774..a660baa47 100644
--- a/android/config.go
+++ b/android/config.go
@@ -289,6 +289,10 @@ func (c Config) ReleaseUseSystemFeatureBuildFlags() bool {
return c.config.productVariables.GetBuildFlagBool("RELEASE_USE_SYSTEM_FEATURE_BUILD_FLAGS")
}
+func (c Config) ReleaseFingerprintAconfigPackages() bool {
+ return c.config.productVariables.GetBuildFlagBool("RELEASE_FINGERPRINT_ACONFIG_PACKAGES")
+}
+
// A DeviceConfig object represents the configuration for a particular device
// being built. For now there will only be one of these, but in the future there
// may be multiple devices being built.