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
This commit is contained in:
@@ -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"),
|
||||
|
Reference in New Issue
Block a user