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
This commit is contained in:
Jaewoong Jung
2019-01-23 16:27:47 -08:00
parent ea5c1f453c
commit 9d22a914bf
5 changed files with 101 additions and 7 deletions

View File

@@ -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"`