aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2016-04-11 10:34:45 +0000
committerGravatar Lukacs Berki <lberki@google.com>2016-04-11 11:24:01 +0000
commit285112c9b61ca3782e00ccf6411339da7291a3c3 (patch)
tree9e6c9d3c905be50c56209b3f37d3098ab8b23caf /examples
parentdaafdcda9c8e0f883e18bc7c69aad44903a909c8 (diff)
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
Diffstat (limited to 'examples')
-rw-r--r--examples/BUILD1
-rw-r--r--examples/proto/BUILD22
-rw-r--r--examples/proto/test.proto10
3 files changed, 0 insertions, 33 deletions
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;
-}