From 285112c9b61ca3782e00ccf6411339da7291a3c3 Mon Sep 17 00:00:00 2001 From: Lukacs Berki Date: Mon, 11 Apr 2016 10:34:45 +0000 Subject: Remove te protocol compiler rules from @bazel_tools. The immmediate reason for this change is that we also need to add gRPC support to the proto rules, and we don't want to also support gRPC in a half-baked way. This makes the Bazel binary much smaller and avoid giving false signals that we (for now) support protobuf compilation. The protobuf rules are only for compiling Bazel itself. RELNOTES[INC]: Bazel does not embed protocol buffer-related rules anymore. -- MOS_MIGRATED_REVID=119516246 --- examples/BUILD | 1 - examples/proto/BUILD | 22 ---------------------- examples/proto/test.proto | 10 ---------- 3 files changed, 33 deletions(-) delete mode 100644 examples/proto/BUILD delete mode 100644 examples/proto/test.proto (limited to 'examples') diff --git a/examples/BUILD b/examples/BUILD index 9d25b8fc73..8bfbc19524 100644 --- a/examples/BUILD +++ b/examples/BUILD @@ -8,7 +8,6 @@ filegroup( "//examples/java-native:srcs", "//examples/java-skylark:srcs", "//examples/objc:srcs", - "//examples/proto:srcs", "//examples/py:srcs", "//examples/py_native:srcs", "//examples/shell:srcs", diff --git a/examples/proto/BUILD b/examples/proto/BUILD deleted file mode 100644 index 0d3108176e..0000000000 --- a/examples/proto/BUILD +++ /dev/null @@ -1,22 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -load("//tools/build_rules:genproto.bzl", "java_proto_library") - -proto_library( - name = "proto_smoke_test", - srcs = ["test.proto"], -) - -# java_proto_library is a quick and dirty rule to help Bazel compile itself. -java_proto_library( - name = "test_proto", - src = "test.proto", -) - -filegroup( - name = "srcs", - srcs = [ - "BUILD", - "test.proto", - ], -) diff --git a/examples/proto/test.proto b/examples/proto/test.proto deleted file mode 100644 index 16a6dc335a..0000000000 --- a/examples/proto/test.proto +++ /dev/null @@ -1,10 +0,0 @@ -syntax = "proto2"; - -package test; - -option java_package = "com.google.test"; - -message KeyVal { - optional string key = 1; - optional string val = 2; -} -- cgit v1.2.3