summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-24 00:25:21 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2025-03-24 00:25:21 -0700
commitb51c6538317e2e88ecb42d76af4268d147d6d0c7 (patch)
treeafd11b0208e4d573242f1bae2a2d61c46f29c844 /android/module.go
parentb1ed49936f1aea90e2186891b9792b4787713577 (diff)
parent870dbdc97b9ae3b1a1b8e221af1cbbb50d0bb041 (diff)
Merge "Add prepend_artifact_with_product attribute for dist" into main
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go
index c0abfd0a3..1538861d3 100644
--- a/android/module.go
+++ b/android/module.go
@@ -208,6 +208,12 @@ type Dist struct {
// no change to the artifact file name.
Append_artifact_with_product *bool `android:"arch_variant"`
+ // If true, then the artifact file will be prepended with <product name>-. For
+ // example, if the product is coral and the module is an android_app module
+ // of name foo, then the artifact would be coral-foo.apk. If false, there is
+ // no change to the artifact file name.
+ Prepend_artifact_with_product *bool `android:"arch_variant"`
+
// A string tag to select the OutputFiles associated with the tag.
//
// If no tag is specified then it will select the default dist paths provided