OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
6 | 6 |
7 proto_library("cacheinvalidation_proto_cpp") { | 7 proto_library("cacheinvalidation_proto_cpp") { |
8 # Depend on cacheinvalidation instead. | 8 # Depend on cacheinvalidation instead. |
9 visibility = [ "//third_party/cacheinvalidation/*" ] | 9 visibility = [ "//third_party/cacheinvalidation/*" ] |
10 | 10 |
11 sources = [ | 11 sources = [ |
12 "client.proto", | 12 "client.proto", |
13 "client_gateway.proto", | 13 "client_gateway.proto", |
14 "client_protocol.proto", | 14 "client_protocol.proto", |
15 "client_test_internal.proto", | 15 "client_test_internal.proto", |
16 "types.proto", | 16 "types.proto", |
17 ] | 17 ] |
18 | 18 |
19 if (!is_android) { | 19 if (!is_android) { |
20 sources += [ | 20 sources += [ |
21 "android_channel.proto", | 21 "android_channel.proto", |
22 "channel_common.proto", | 22 "channel_common.proto", |
23 ] | 23 ] |
24 } | 24 } |
25 | 25 |
26 proto_out_dir = "google/cacheinvalidation" | 26 proto_out_dir = "google/cacheinvalidation" |
27 } | 27 } |
OLD | NEW |