summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-24 09:35:14 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-24 09:35:14 -0700
commit156f3dc769b1114428c3c6a8df0def6cea04e55a (patch)
tree878e585c925242d7d304235c98163059d9a7d2fd /android/module.go
parentc9b8251657a4279bdf4d38befde4a3024fed0019 (diff)
parent5be47f763f9c555967349ba4f7c7be317026329f (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