diff options
| author | 2022-03-21 19:34:02 +0000 | |
|---|---|---|
| committer | 2022-03-24 14:46:18 +0000 | |
| commit | 90727f4576b8ece68c6d7f27d034c33195a70de4 (patch) | |
| tree | ddbabe0f421ff0005c2a021723af05c4b495848b /android/variable.go | |
| parent | b6a55c53e73e1a43aa9f79d7e759530a893e4f4c (diff) | |
Allow appending artifact in dist with product name
Some modules need to have their artifacts copied to dist with the
product name appended. This CL enables that functionality in a
boolean Soong property called append_artifact_with_product.
Fixes: 224561567
Test: Unit tests and build relevant target/modules
Change-Id: I4b824d4001679cebf0a9059be2d090d33a310933
Diffstat (limited to 'android/variable.go')
| -rw-r--r-- | android/variable.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go index 37037ebdb..4ed05070e 100644 --- a/android/variable.go +++ b/android/variable.go @@ -201,6 +201,7 @@ type productVariables struct { Platform_base_os *string `json:",omitempty"` DeviceName *string `json:",omitempty"` + DeviceProduct *string `json:",omitempty"` DeviceArch *string `json:",omitempty"` DeviceArchVariant *string `json:",omitempty"` DeviceCpuVariant *string `json:",omitempty"` @@ -467,6 +468,7 @@ func (v *productVariables) SetDefaultConfig() { HostArch: stringPtr("x86_64"), HostSecondaryArch: stringPtr("x86"), DeviceName: stringPtr("generic_arm64"), + DeviceProduct: stringPtr("aosp_arm-eng"), DeviceArch: stringPtr("arm64"), DeviceArchVariant: stringPtr("armv8-a"), DeviceCpuVariant: stringPtr("generic"), |