OLD | NEW |
| (Empty) |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//third_party/protobuf/proto_library.gni") | |
6 | |
7 group("proto") { | |
8 public_deps = [ | |
9 ":engine_proto", | |
10 ":lifetime_proto", | |
11 ":logging_proto", | |
12 ] | |
13 } | |
14 | |
15 proto_library("engine_proto") { | |
16 sources = [ | |
17 "engine.proto", | |
18 ] | |
19 | |
20 generator_plugin_label = "//third_party/grpc:grpc_cpp_plugin" | |
21 generator_plugin_suffix = ".grpc.pb" | |
22 | |
23 deps = [ | |
24 "//third_party/grpc:grpc++_unsecure", | |
25 ] | |
26 } | |
27 | |
28 proto_library("logging_proto") { | |
29 sources = [ | |
30 "logging.proto", | |
31 ] | |
32 | |
33 generator_plugin_label = "//third_party/grpc:grpc_cpp_plugin" | |
34 generator_plugin_suffix = ".grpc.pb" | |
35 | |
36 deps = [ | |
37 "//third_party/grpc:grpc++_unsecure", | |
38 ] | |
39 } | |
40 | |
41 proto_library("lifetime_proto") { | |
42 sources = [ | |
43 "lifetime.proto", | |
44 ] | |
45 | |
46 generator_plugin_label = "//third_party/grpc:grpc_cpp_plugin" | |
47 generator_plugin_suffix = ".grpc.pb" | |
48 | |
49 deps = [ | |
50 "//third_party/grpc:grpc++_unsecure", | |
51 ] | |
52 } | |
OLD | NEW |