diff options
author | 2025-03-20 08:54:11 +0000 | |
---|---|---|
committer | 2025-03-22 12:21:56 +0000 | |
commit | 870dbdc97b9ae3b1a1b8e221af1cbbb50d0bb041 (patch) | |
tree | 98a6a1e649e41622f2e3d03795a113281f084040 /android/module.go | |
parent | 716fc3438bce5e2018b47cf906195b4f9aecea5c (diff) |
Add prepend_artifact_with_product attribute for dist
Add the new attribute to feet what test_package's requirement, moving
the dist output naming logic from test_package to dist.
Also add 4 allowed module names for the rest of the continuous_* test
packages.
Ignore-AOSP-First: Because the platform_tests conversion is in internal
branch currently.
Bug: 399246722
Test: m dist platform_tests
Change-Id: I96e690f23e801c22fe66f0f234be8a1f9a84062f
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 6 |
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 |