Merge "Allow Multilib in override_apex" into main
This commit is contained in:
commit
219ce55481
2 changed files with 21 additions and 0 deletions
|
@ -358,6 +358,8 @@ type overridableProperties struct {
|
|||
// be removed from PRODUCT_PACKAGES.
|
||||
Overrides []string
|
||||
|
||||
Multilib apexMultilibProperties
|
||||
|
||||
// Logging parent value.
|
||||
Logging_parent string
|
||||
|
||||
|
|
|
@ -6939,6 +6939,15 @@ func TestOverrideApex(t *testing.T) {
|
|||
bpfs: ["overrideBpf"],
|
||||
prebuilts: ["override_myetc"],
|
||||
overrides: ["unknownapex"],
|
||||
compile_multilib: "first",
|
||||
multilib: {
|
||||
lib32: {
|
||||
native_shared_libs: ["mylib32"],
|
||||
},
|
||||
lib64: {
|
||||
native_shared_libs: ["mylib64"],
|
||||
},
|
||||
},
|
||||
logging_parent: "com.foo.bar",
|
||||
package_name: "test.overridden.package",
|
||||
key: "mynewapex.key",
|
||||
|
@ -6996,6 +7005,16 @@ func TestOverrideApex(t *testing.T) {
|
|||
name: "override_myetc",
|
||||
src: "override_myprebuilt",
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "mylib32",
|
||||
apex_available: [ "myapex" ],
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "mylib64",
|
||||
apex_available: [ "myapex" ],
|
||||
}
|
||||
`, withManifestPackageNameOverrides([]string{"myapex:com.android.myapex"}))
|
||||
|
||||
originalVariant := ctx.ModuleForTests("myapex", "android_common_myapex").Module().(android.OverridableModule)
|
||||
|
|
Loading…
Reference in a new issue