Merge "Don't translate "required" to unsupported "data" in android_app."
This commit is contained in:
@@ -80,6 +80,7 @@ android_app {
|
|||||||
static_libs: ["static_lib_dep"],
|
static_libs: ["static_lib_dep"],
|
||||||
java_version: "7",
|
java_version: "7",
|
||||||
certificate: "foocert",
|
certificate: "foocert",
|
||||||
|
required: ["static_lib_dep"],
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
ExpectedBazelTargets: []string{
|
ExpectedBazelTargets: []string{
|
||||||
|
@@ -1622,7 +1622,7 @@ func (a *AndroidApp) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
|||||||
|
|
||||||
ctx.CreateBazelTargetModule(
|
ctx.CreateBazelTargetModule(
|
||||||
props,
|
props,
|
||||||
android.CommonAttributes{Name: a.Name()},
|
android.CommonAttributes{Name: a.Name(), SkipData: proptools.BoolPtr(true)},
|
||||||
appAttrs,
|
appAttrs,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user