File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -1001,6 +1001,13 @@ proto_lang_toolchain(
10011001 visibility = ["//visibility:public" ],
10021002)
10031003
1004+ proto_lang_toolchain (
1005+ name = "javalite_toolchain" ,
1006+ command_line = "--java_out=lite:$(OUT)" ,
1007+ runtime = ":protobuf_javalite" ,
1008+ visibility = ["//visibility:public" ],
1009+ )
1010+
10041011alias (
10051012 name = "objectivec" ,
10061013 actual = ":protobuf_objc" ,
Original file line number Diff line number Diff line change @@ -21,10 +21,9 @@ local_repository(
2121# Similar to com_google_protobuf but for Java lite. If you are building
2222# for Android, the lite version should be prefered because it has a much
2323# smaller code size.
24- http_archive (
24+ local_repository (
2525 name = "com_google_protobuf_javalite" ,
26- strip_prefix = "protobuf-javalite" ,
27- urls = ["https://github.com/protocolbuffers/protobuf/archive/javalite.zip" ],
26+ path = ".." ,
2827)
2928
3029load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
You can’t perform that action at this time.
0 commit comments