Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: third_party/cacheinvalidation/cacheinvalidation.gyp

Issue 185013002: Roll cacheinvalidation DEPS to r330 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/cacheinvalidation/README.chromium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 # This library should build cleanly with the extra warnings turned on 7 # This library should build cleanly with the extra warnings turned on
8 # for Chromium. 8 # for Chromium.
9 'chromium_code': 1, 9 'chromium_code': 1,
10 }, 10 },
11 'targets': [ 11 'targets': [
12 # The C++ files generated from the cache invalidation protocol buffers. 12 # The C++ files generated from the cache invalidation protocol buffers.
13 { 13 {
14 'target_name': 'cacheinvalidation_proto_cpp', 14 'target_name': 'cacheinvalidation_proto_cpp',
15 'type': 'static_library', 15 'type': 'static_library',
16 'variables': { 16 'variables': {
17 # The relative path of the cacheinvalidation proto files from this 17 # The relative path of the cacheinvalidation proto files from this
18 # gyp-file. 18 # gyp-file.
19 # TODO(akalin): Add a RULE_INPUT_DIR predefined variable to gyp so 19 # TODO(akalin): Add a RULE_INPUT_DIR predefined variable to gyp so
20 # we don't need this variable. 20 # we don't need this variable.
21 'proto_dir_relpath': 'google/cacheinvalidation', 21 'proto_dir_relpath': 'google/cacheinvalidation',
22 # Where files generated from proto files are put. 22 # Where files generated from proto files are put.
23 'proto_in_dir': 'src/<(proto_dir_relpath)', 23 'proto_in_dir': 'src/<(proto_dir_relpath)',
24 'proto_out_dir': '<(proto_dir_relpath)', 24 'proto_out_dir': '<(proto_dir_relpath)',
25 }, 25 },
26 'sources': [ 26 'sources': [
27 '<(proto_in_dir)/android_channel.proto',
28 '<(proto_in_dir)/channel_common.proto',
27 '<(proto_in_dir)/client.proto', 29 '<(proto_in_dir)/client.proto',
28 '<(proto_in_dir)/client_gateway.proto', 30 '<(proto_in_dir)/client_gateway.proto',
29 '<(proto_in_dir)/client_protocol.proto', 31 '<(proto_in_dir)/client_protocol.proto',
30 '<(proto_in_dir)/client_test_internal.proto', 32 '<(proto_in_dir)/client_test_internal.proto',
31 '<(proto_in_dir)/types.proto', 33 '<(proto_in_dir)/types.proto',
32 ], 34 ],
33 'includes': [ '../../build/protoc.gypi' ], 35 'includes': [ '../../build/protoc.gypi' ],
34 'direct_dependent_settings': { 36 'direct_dependent_settings': {
35 'include_dirs': [ 37 'include_dirs': [
36 '<(proto_out_dir)', 38 '<(proto_out_dir)',
37 ], 39 ],
38 }, 40 },
39 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 41 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
40 'msvs_disabled_warnings': [4267, ], 42 'msvs_disabled_warnings': [4267, ],
43 # channel_common.proto contains definition of ANDROID constant which on
44 # android build conflicts with compiler option -DANDROID. Remove protos
45 # from android build.
46 'conditions': [
47 ['OS=="android"', {
48 'sources!': [
49 '<(proto_in_dir)/android_channel.proto',
50 '<(proto_in_dir)/channel_common.proto',
51 ],
52 }],
53 ],
41 }, 54 },
42 # The main cache invalidation library. External clients should depend 55 # The main cache invalidation library. External clients should depend
43 # only on this. 56 # only on this.
44 { 57 {
45 'target_name': 'cacheinvalidation', 58 'target_name': 'cacheinvalidation',
46 'type': 'static_library', 59 'type': 'static_library',
47 'sources': [ 60 'sources': [
48 'overrides/google/cacheinvalidation/deps/callback.h', 61 'overrides/google/cacheinvalidation/deps/callback.h',
49 'overrides/google/cacheinvalidation/deps/gmock.h', 62 'overrides/google/cacheinvalidation/deps/gmock.h',
50 'overrides/google/cacheinvalidation/deps/googletest.h', 63 'overrides/google/cacheinvalidation/deps/googletest.h',
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 'target_name': 'cacheinvalidation_proto_java', 199 'target_name': 'cacheinvalidation_proto_java',
187 'type': 'none', 200 'type': 'none',
188 'variables': { 201 'variables': {
189 'proto_in_dir': '../../third_party/cacheinvalidation/src/proto', 202 'proto_in_dir': '../../third_party/cacheinvalidation/src/proto',
190 }, 203 },
191 'sources': [ 204 'sources': [
192 '<(proto_in_dir)/android_channel.proto', 205 '<(proto_in_dir)/android_channel.proto',
193 '<(proto_in_dir)/android_listener.proto', 206 '<(proto_in_dir)/android_listener.proto',
194 '<(proto_in_dir)/android_service.proto', 207 '<(proto_in_dir)/android_service.proto',
195 '<(proto_in_dir)/android_state.proto', 208 '<(proto_in_dir)/android_state.proto',
196 '<(proto_in_dir)/channel.proto',
197 '<(proto_in_dir)/channel_common.proto', 209 '<(proto_in_dir)/channel_common.proto',
198 '<(proto_in_dir)/client.proto', 210 '<(proto_in_dir)/client.proto',
199 '<(proto_in_dir)/client_protocol.proto', 211 '<(proto_in_dir)/client_protocol.proto',
200 '<(proto_in_dir)/java_client.proto', 212 '<(proto_in_dir)/java_client.proto',
201 '<(proto_in_dir)/types.proto', 213 '<(proto_in_dir)/types.proto',
202 ], 214 ],
203 'includes': [ '../../build/protoc_java.gypi' ], 215 'includes': [ '../../build/protoc_java.gypi' ],
204 }, 216 },
205 { 217 {
218 'target_name': 'cacheinvalidation_example_proto_java',
219 'type': 'none',
220 'variables': {
221 'cacheinvalidation_in_dir': '../../third_party/cacheinvalidation/src ',
222 'proto_in_dir' : '<(cacheinvalidation_in_dir)/java/com/google/ipc/in validation/examples/android2',
223 },
224 'sources': [
225 '<(proto_in_dir)/example_listener.proto',
226 ],
227 'includes': [ '../../build/protoc_java.gypi' ],
228 },
229 {
206 'target_name': 'cacheinvalidation_javalib', 230 'target_name': 'cacheinvalidation_javalib',
207 'type': 'none', 231 'type': 'none',
208 'dependencies': [ 232 'dependencies': [
209 '../../third_party/android_tools/android_tools.gyp:android_gcm', 233 '../../third_party/android_tools/android_tools.gyp:android_gcm',
210 '../../third_party/guava/guava.gyp:guava_javalib', 234 '../../third_party/guava/guava.gyp:guava_javalib',
211 'cacheinvalidation_aidl_javalib', 235 'cacheinvalidation_aidl_javalib',
236 'cacheinvalidation_example_proto_java',
212 'cacheinvalidation_proto_java', 237 'cacheinvalidation_proto_java',
213 ], 238 ],
214 'variables': { 239 'variables': {
215 'java_in_dir': '../../build/android/empty', 240 'java_in_dir': '../../build/android/empty',
216 'additional_src_dirs': [ 'src/java/' ], 241 'additional_src_dirs': [ 'src/java/' ],
217 }, 242 },
218 'includes': [ '../../build/java.gypi' ], 243 'includes': [ '../../build/java.gypi' ],
219 }, 244 },
220 { 245 {
221 'target_name': 'cacheinvalidation_aidl_javalib', 246 'target_name': 'cacheinvalidation_aidl_javalib',
222 'type': 'none', 247 'type': 'none',
223 'variables': { 248 'variables': {
224 # TODO(shashishekhar): aidl_interface_file should be made optional. 249 # TODO(shashishekhar): aidl_interface_file should be made optional.
225 'aidl_interface_file':'<(android_sdk)/framework.aidl' 250 'aidl_interface_file':'<(android_sdk)/framework.aidl'
226 }, 251 },
227 'sources': [ 252 'sources': [
228 'src/java/com/google/ipc/invalidation/external/client/android/servic e/InvalidationService.aidl', 253 'src/java/com/google/ipc/invalidation/external/client/android/servic e/InvalidationService.aidl',
229 'src/java/com/google/ipc/invalidation/external/client/android/servic e/ListenerService.aidl', 254 'src/java/com/google/ipc/invalidation/external/client/android/servic e/ListenerService.aidl',
230 'src/java/com/google/ipc/invalidation/testing/android/InvalidationTe st.aidl', 255 'src/java/com/google/ipc/invalidation/testing/android/InvalidationTe st.aidl',
231 ], 256 ],
232 'includes': [ '../../build/java_aidl.gypi' ], 257 'includes': [ '../../build/java_aidl.gypi' ],
233 }, 258 },
234 ], 259 ],
235 }], 260 }],
236 ], 261 ],
237 } 262 }
OLDNEW
« no previous file with comments | « third_party/cacheinvalidation/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698