diff options
author | 2025-01-21 16:25:33 -0500 | |
---|---|---|
committer | 2025-01-22 11:59:47 -0500 | |
commit | 51684704f11ddc2f28941732093ae237fe6c2ec8 (patch) | |
tree | 4a8fdf7d7731479f6ba119c521f5225b3d1bcb0d /android/config.go | |
parent | e98f706c29d7f54c36371ca1b5a3636876dfbf20 (diff) |
Connect SDK build flag to aconfig binary.
Also add lint check to ensure any changes to the exported lib binary
call happen in both places.
Test: manual via print statement in main.rs
Flag: RELEASE_ACONFIG_SDK_CHECK (build)
Change-Id: Ibd8508a62406b0d6d861f331a1b9747abae3483f
Diffstat (limited to 'android/config.go')
-rw-r--r-- | android/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go index 9c614f5b3..eda8e718a 100644 --- a/android/config.go +++ b/android/config.go @@ -294,6 +294,10 @@ func (c Config) ReleaseFingerprintAconfigPackages() bool { return c.config.productVariables.GetBuildFlagBool("RELEASE_FINGERPRINT_ACONFIG_PACKAGES") } +func (c Config) ReleaseAconfigCheckApiLevel() bool { + return c.config.productVariables.GetBuildFlagBool("RELEASE_ACONFIG_CHECK_API_LEVEL") +} + // 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. |