summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2019-01-23 16:27:47 -0800
committer Jaewoong Jung <jungjw@google.com> 2019-01-25 19:11:57 +0000
commit9d22a914bf870d2de8d4f0fc41718da356cc9fc8 (patch)
tree777d1e3bae6063e4b9283ce510b2fef34fb0e6ba /android/variable.go
parentea5c1f453cf797c90ccfae10d6f4af08263e1d6f (diff)
Add a prod var to override package names.
Currently only java/app.go is affected by package name overrides. When the var is used, the corresponding module's install APK name is changed to the overriding name. Bug: 122957760 Test: app_test.go + TreeHugger Change-Id: Ie522da3d7280970d740d779cf2694560feae6180
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index 67e876a55..2cccd504f 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -271,6 +271,7 @@ type productVariables struct {
ManifestPackageNameOverrides []string `json:",omitempty"`
CertificateOverrides []string `json:",omitempty"`
+ PackageNameOverrides []string `json:",omitempty"`
EnforceSystemCertificate *bool `json:",omitempty"`
EnforceSystemCertificateWhitelist []string `json:",omitempty"`