Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 1 | # Copyright 2017 gRPC authors. |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 2 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 6 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 8 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame] | 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 14 | |
Craig Tiller | a753371 | 2017-05-16 13:09:33 -0700 | [diff] [blame] | 15 | licenses(["notice"]) # 3-clause BSD |
| 16 | |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 17 | package(default_visibility = ["//visibility:public"]) |
| 18 | |
Nicolas "Pixel" Noble | d2ac59f | 2017-05-12 17:17:05 +0200 | [diff] [blame] | 19 | load("//bazel:grpc_build_system.bzl", "grpc_proto_library") |
| 20 | |
| 21 | grpc_proto_library( |
| 22 | name = "auth_sample", |
| 23 | srcs = ["protos/auth_sample.proto"], |
| 24 | ) |
| 25 | |
| 26 | grpc_proto_library( |
| 27 | name = "hellostreamingworld", |
| 28 | srcs = ["protos/hellostreamingworld.proto"], |
| 29 | ) |
| 30 | |
| 31 | grpc_proto_library( |
| 32 | name = "helloworld", |
| 33 | srcs = ["protos/helloworld.proto"], |
| 34 | ) |
| 35 | |
| 36 | grpc_proto_library( |
| 37 | name = "route_guide", |
| 38 | srcs = ["protos/route_guide.proto"], |
| 39 | ) |
| 40 | |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 41 | cc_binary( |
| 42 | name = "greeter_client", |
Nicolas "Pixel" Noble | d2ac59f | 2017-05-12 17:17:05 +0200 | [diff] [blame] | 43 | srcs = ["cpp/helloworld/greeter_client.cc"], |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 44 | defines = ["BAZEL_BUILD"], |
Vijay Pai | dd0f006 | 2017-11-28 11:53:55 -0800 | [diff] [blame] | 45 | deps = [":helloworld", "//:grpc++"], |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 46 | ) |
| 47 | |
| 48 | cc_binary( |
| 49 | name = "greeter_server", |
Nicolas "Pixel" Noble | d2ac59f | 2017-05-12 17:17:05 +0200 | [diff] [blame] | 50 | srcs = ["cpp/helloworld/greeter_server.cc"], |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 51 | defines = ["BAZEL_BUILD"], |
Vijay Pai | dd0f006 | 2017-11-28 11:53:55 -0800 | [diff] [blame] | 52 | deps = [":helloworld", "//:grpc++"], |
Nicolas "Pixel" Noble | 24263c3 | 2017-01-11 01:03:09 +0100 | [diff] [blame] | 53 | ) |