diff options
Diffstat (limited to 'third_party/protobuf')
-rw-r--r-- | third_party/protobuf/3.0.0/BUILD | 6 | ||||
-rw-r--r-- | third_party/protobuf/BUILD | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/third_party/protobuf/3.0.0/BUILD b/third_party/protobuf/3.0.0/BUILD index 767ebd7306..9da9f25212 100644 --- a/third_party/protobuf/3.0.0/BUILD +++ b/third_party/protobuf/3.0.0/BUILD @@ -311,3 +311,9 @@ cc_library( visibility = ["//visibility:public"], deps = [":protobuf_clib"], ) + +proto_lang_toolchain( + name = "java_toolchain", + command_line = "--java_out=shared,immutable:$(OUT)", + runtime = ":protobuf", +) diff --git a/third_party/protobuf/BUILD b/third_party/protobuf/BUILD index 0f39107b93..f6e1ea9fda 100644 --- a/third_party/protobuf/BUILD +++ b/third_party/protobuf/BUILD @@ -29,3 +29,5 @@ proto_alias("protobuf_lite", PROTOBUF_VERSION) proto_alias("protobuf_clib", PROTOBUF_VERSION) proto_alias("protoc_lib", PROTOBUF_VERSION) + +proto_alias("java_toolchain", PROTOBUF_VERSION) |