Mark more fields in BaseLinkerProperties as arch variant
Bug: http://b/189438896 This allows setting a different version script for vendor and platform variants. Test: The following blueprint snippet builds: target: { android_arm64: { target: vendor: { version_script: "..." } } } Change-Id: I47e7afeaee3c9124f4231bf0eece7b6844b5313d
This commit is contained in:
@@ -122,7 +122,7 @@ type BaseLinkerProperties struct {
|
|||||||
|
|
||||||
// version script for vendor or product variant
|
// version script for vendor or product variant
|
||||||
Version_script *string `android:"arch_variant"`
|
Version_script *string `android:"arch_variant"`
|
||||||
}
|
} `android:"arch_variant"`
|
||||||
Recovery struct {
|
Recovery struct {
|
||||||
// list of shared libs that only should be used to build the recovery
|
// list of shared libs that only should be used to build the recovery
|
||||||
// variant of the C/C++ module.
|
// variant of the C/C++ module.
|
||||||
@@ -182,7 +182,7 @@ type BaseLinkerProperties struct {
|
|||||||
// variant of the C/C++ module.
|
// variant of the C/C++ module.
|
||||||
Exclude_static_libs []string
|
Exclude_static_libs []string
|
||||||
}
|
}
|
||||||
}
|
} `android:"arch_variant"`
|
||||||
|
|
||||||
// make android::build:GetBuildNumber() available containing the build ID.
|
// make android::build:GetBuildNumber() available containing the build ID.
|
||||||
Use_version_lib *bool `android:"arch_variant"`
|
Use_version_lib *bool `android:"arch_variant"`
|
||||||
|
Reference in New Issue
Block a user