summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Dennis Shen <dzshen@google.com> 2023-01-27 13:11:50 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-01-27 13:11:50 +0000
commit0c79be54b64ad80140c0c3357d64e228c2a5e8b9 (patch)
tree7b63bff6182552a741e99283efb9ad43876ef0cd /android/variable.go
parentb5ad1eecca0e1f587823983d907e752fc8d612e6 (diff)
parente2ed70c61abb92d355906a51b6df65c5d4e9da4f (diff)
Merge "Support trimmed variant build in soong"
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index e838b7cbd..e714fc49a 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -380,6 +380,7 @@ type productVariables struct {
Ndk_abis *bool `json:",omitempty"`
+ TrimmedApex *bool `json:",omitempty"`
Flatten_apex *bool `json:",omitempty"`
ForceApexSymlinkOptimization *bool `json:",omitempty"`
CompressedApex *bool `json:",omitempty"`
@@ -502,6 +503,7 @@ func (v *productVariables) SetDefaultConfig() {
Malloc_zero_contents: boolPtr(true),
Malloc_pattern_fill_contents: boolPtr(false),
Safestack: boolPtr(false),
+ TrimmedApex: boolPtr(false),
BootJars: ConfiguredJarList{apexes: []string{}, jars: []string{}},
ApexBootJars: ConfiguredJarList{apexes: []string{}, jars: []string{}},