Bp2Build for libs property in java_library
Bp2build for both *->java_library and java_library->* edges. Change-Id: I2540c9af2ae2fe7677767d507647b1c6669b9bb7 Bug: 244210934 Test: ./bp2build testcase, manually inspected build files for hamcrest-library, hamcrest targets
This commit is contained in:
@@ -91,6 +91,7 @@ func TestJavaProto(t *testing.T) {
|
||||
MakeBazelTarget("java_library", "java-protos", AttrNameToString{
|
||||
"exports": fmt.Sprintf(`[":%s"]`, javaLibraryName),
|
||||
}),
|
||||
MakeNeverlinkDuplicateTarget("java_library", "java-protos"),
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -119,6 +120,7 @@ func TestJavaProtoDefault(t *testing.T) {
|
||||
"exports": `[":java-protos_java_proto_lite"]`,
|
||||
"javacopts": `["-source 1.7 -target 1.7"]`,
|
||||
}),
|
||||
MakeNeverlinkDuplicateTarget("java_library", "java-protos"),
|
||||
},
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user