Revert "Revert "Add static_libs support to android_app bp2build converter.""
This reverts commit b33e0b8b5b
.
Reason for revert: CI failure deemed to be a fluke
Change-Id: Ia804d531092921e4ad090740420c4a4e02e6ff00
This commit is contained in:
@@ -66,7 +66,7 @@ func TestAndroidAppAllSupportedFields(t *testing.T) {
|
||||
"resb/res.png": "",
|
||||
"manifest/AndroidManifest.xml": "",
|
||||
},
|
||||
blueprint: `
|
||||
blueprint: simpleModuleDoNotConvertBp2build("android_app", "static_lib_dep") + `
|
||||
android_app {
|
||||
name: "TestApp",
|
||||
srcs: ["app.java"],
|
||||
@@ -74,6 +74,7 @@ android_app {
|
||||
package_name: "com.google",
|
||||
resource_dirs: ["resa", "resb"],
|
||||
manifest: "manifest/AndroidManifest.xml",
|
||||
static_libs: ["static_lib_dep"]
|
||||
}
|
||||
`,
|
||||
expectedBazelTargets: []string{
|
||||
@@ -85,6 +86,7 @@ android_app {
|
||||
"resb/res.png",
|
||||
]`,
|
||||
"custom_package": `"com.google"`,
|
||||
"deps": `[":static_lib_dep"]`,
|
||||
}),
|
||||
}})
|
||||
}
|
||||
|
Reference in New Issue
Block a user