remove unconverted strip_import_prefix property

The requirements for this property changed in aosp/1985613.

Test: go test ./bp2build
Change-Id: If75daf11c857cdd8a54c119e073e327cddf8543d
This commit is contained in:
Sam Delmerico
2022-03-07 16:20:54 +00:00
parent 10eada743a
commit 7a62909f35

View File

@@ -71,8 +71,7 @@ func TestJavaProto(t *testing.T) {
}`
protoLibrary := makeBazelTarget("proto_library", "java-protos_proto", attrNameToString{
"srcs": `["a.proto"]`,
"strip_import_prefix": `""`,
"srcs": `["a.proto"]`,
})
for _, tc := range testCases {
@@ -107,8 +106,7 @@ func TestJavaProtoDefault(t *testing.T) {
`,
expectedBazelTargets: []string{
makeBazelTarget("proto_library", "java-protos_proto", attrNameToString{
"srcs": `["a.proto"]`,
"strip_import_prefix": `""`,
"srcs": `["a.proto"]`,
}),
makeBazelTarget(
"java_lite_proto_library",