Merge "add apex_available_name variant_version to bp2build unit tests"
This commit is contained in:
commit
226354ab1d
1 changed files with 9 additions and 5 deletions
|
@ -123,6 +123,7 @@ apex {
|
||||||
name: "com.android.apogee",
|
name: "com.android.apogee",
|
||||||
manifest: "apogee_manifest.json",
|
manifest: "apogee_manifest.json",
|
||||||
androidManifest: "ApogeeAndroidManifest.xml",
|
androidManifest: "ApogeeAndroidManifest.xml",
|
||||||
|
apex_available_name: "apogee_apex_name",
|
||||||
file_contexts: ":com.android.apogee-file_contexts",
|
file_contexts: ":com.android.apogee-file_contexts",
|
||||||
min_sdk_version: "29",
|
min_sdk_version: "29",
|
||||||
key: "com.android.apogee.key",
|
key: "com.android.apogee.key",
|
||||||
|
@ -144,11 +145,13 @@ apex {
|
||||||
],
|
],
|
||||||
package_name: "com.android.apogee.test.package",
|
package_name: "com.android.apogee.test.package",
|
||||||
logging_parent: "logging.parent",
|
logging_parent: "logging.parent",
|
||||||
|
variant_version: "3",
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
ExpectedBazelTargets: []string{
|
ExpectedBazelTargets: []string{
|
||||||
MakeBazelTarget("apex", "com.android.apogee", AttrNameToString{
|
MakeBazelTarget("apex", "com.android.apogee", AttrNameToString{
|
||||||
"android_manifest": `"ApogeeAndroidManifest.xml"`,
|
"android_manifest": `"ApogeeAndroidManifest.xml"`,
|
||||||
|
"apex_available_name": `"apogee_apex_name"`,
|
||||||
"binaries": `[
|
"binaries": `[
|
||||||
":cc_binary_1",
|
":cc_binary_1",
|
||||||
":sh_binary_2",
|
":sh_binary_2",
|
||||||
|
@ -189,6 +192,7 @@ apex {
|
||||||
"compressible": "False",
|
"compressible": "False",
|
||||||
"package_name": `"com.android.apogee.test.package"`,
|
"package_name": `"com.android.apogee.test.package"`,
|
||||||
"logging_parent": `"logging.parent"`,
|
"logging_parent": `"logging.parent"`,
|
||||||
|
"variant_version": `"3"`,
|
||||||
}),
|
}),
|
||||||
}})
|
}})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue