Motivation: Using Java protos in Android.
http://stackoverflow.com/questions/43354237/how-can-you-get-1-7-compatible-output-for-a-java-proto-library
java_xxx_proto_library rules use flags from the (undocumented) java_toolchain.compatible_javacopts attribute.
In particular, it reads the "proto" key from that map.
As far as I can see, Bazel's default java_toolchain is [1], which does not have a compatible_javacopts attribute nor a "proto" key.
@cushon is my analysis correct? is this as easy to fix as adding an compatible_javacopts attribute?
Motivation: Using Java protos in Android.
http://stackoverflow.com/questions/43354237/how-can-you-get-1-7-compatible-output-for-a-java-proto-library
java_xxx_proto_libraryrules use flags from the (undocumented) java_toolchain.compatible_javacopts attribute.In particular, it reads the "proto" key from that map.
As far as I can see, Bazel's default
java_toolchainis [1], which does not have acompatible_javacoptsattribute nor a "proto" key.@cushon is my analysis correct? is this as easy to fix as adding an
compatible_javacoptsattribute?