| OLD | NEW |
| 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 }, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 '<(proto_in_dir)/types.proto', | 33 '<(proto_in_dir)/types.proto', |
| 34 ], | 34 ], |
| 35 'includes': [ '../../build/protoc.gypi' ], | 35 'includes': [ '../../build/protoc.gypi' ], |
| 36 'direct_dependent_settings': { | 36 'direct_dependent_settings': { |
| 37 'include_dirs': [ | 37 'include_dirs': [ |
| 38 '<(proto_out_dir)', | 38 '<(proto_out_dir)', |
| 39 ], | 39 ], |
| 40 }, | 40 }, |
| 41 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 41 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 42 'msvs_disabled_warnings': [4267, ], | 42 'msvs_disabled_warnings': [4267, ], |
| 43 # channel_common.proto contains definition of ANDROID constant which on | 43 # channel_common.proto contains definition of ANDROID constant which on |
| 44 # android build conflicts with compiler option -DANDROID. Remove protos | 44 # android build conflicts with compiler option -DANDROID. Remove protos |
| 45 # from android build. | 45 # from android build. |
| 46 'conditions': [ | 46 'conditions': [ |
| 47 ['OS=="android"', { | 47 ['OS=="android"', { |
| 48 'sources!': [ | 48 'sources!': [ |
| 49 '<(proto_in_dir)/android_channel.proto', | 49 '<(proto_in_dir)/android_channel.proto', |
| 50 '<(proto_in_dir)/channel_common.proto', | 50 '<(proto_in_dir)/channel_common.proto', |
| 51 ], | 51 ], |
| 52 }], | 52 }], |
| 53 ], | 53 ], |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 }], | 192 }], |
| 193 ['OS == "android"', { | 193 ['OS == "android"', { |
| 194 'variables': { | 194 'variables': { |
| 195 'emma_never_instrument': 1, | 195 'emma_never_instrument': 1, |
| 196 }, | 196 }, |
| 197 'targets': [ | 197 'targets': [ |
| 198 { | 198 { |
| 199 'target_name': 'cacheinvalidation_proto_java', | 199 'target_name': 'cacheinvalidation_proto_java', |
| 200 'type': 'none', | 200 'type': 'none', |
| 201 'variables': { | 201 'variables': { |
| 202 'proto_runtime': 'nano', |
| 202 'proto_in_dir': '../../third_party/cacheinvalidation/src/proto', | 203 'proto_in_dir': '../../third_party/cacheinvalidation/src/proto', |
| 203 }, | 204 }, |
| 204 'sources': [ | 205 'sources': [ |
| 205 '<(proto_in_dir)/android_channel.proto', | 206 '<(proto_in_dir)/android_channel.proto', |
| 206 '<(proto_in_dir)/android_listener.proto', | 207 '<(proto_in_dir)/android_listener.proto', |
| 207 '<(proto_in_dir)/android_service.proto', | 208 '<(proto_in_dir)/android_service.proto', |
| 208 '<(proto_in_dir)/android_state.proto', | |
| 209 '<(proto_in_dir)/channel_common.proto', | 209 '<(proto_in_dir)/channel_common.proto', |
| 210 '<(proto_in_dir)/client.proto', | 210 '<(proto_in_dir)/client.proto', |
| 211 '<(proto_in_dir)/client_protocol.proto', | 211 '<(proto_in_dir)/client_protocol.proto', |
| 212 '<(proto_in_dir)/java_client.proto', | 212 '<(proto_in_dir)/java_client.proto', |
| 213 '<(proto_in_dir)/types.proto', | 213 '<(proto_in_dir)/types.proto', |
| 214 ], | 214 ], |
| 215 'includes': [ '../../build/protoc_java.gypi' ], | 215 'includes': [ '../../build/protoc_java.gypi' ], |
| 216 }, | 216 }, |
| 217 { | 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 { | |
| 230 'target_name': 'cacheinvalidation_javalib', | 218 'target_name': 'cacheinvalidation_javalib', |
| 231 'type': 'none', | 219 'type': 'none', |
| 232 'dependencies': [ | 220 'dependencies': [ |
| 233 '../../third_party/android_tools/android_tools.gyp:android_gcm', | 221 '../../third_party/android_tools/android_tools.gyp:android_gcm', |
| 234 '../../third_party/guava/guava.gyp:guava_javalib', | 222 '../../third_party/guava/guava.gyp:guava_javalib', |
| 235 'cacheinvalidation_aidl_javalib', | |
| 236 'cacheinvalidation_example_proto_java', | |
| 237 'cacheinvalidation_proto_java', | 223 'cacheinvalidation_proto_java', |
| 238 ], | 224 ], |
| 239 'variables': { | 225 'variables': { |
| 240 'java_in_dir': '../../build/android/empty', | 226 'java_in_dir': '../../build/android/empty', |
| 241 'additional_src_dirs': [ 'src/java/' ], | 227 'additional_src_dirs': [ 'src/java/' ], |
| 242 }, | 228 }, |
| 243 'includes': [ '../../build/java.gypi' ], | 229 'includes': [ '../../build/java.gypi' ], |
| 244 }, | 230 }, |
| 245 { | |
| 246 'target_name': 'cacheinvalidation_aidl_javalib', | |
| 247 'type': 'none', | |
| 248 'variables': { | |
| 249 # TODO(shashishekhar): aidl_interface_file should be made optional. | |
| 250 'aidl_interface_file':'<(android_sdk)/framework.aidl' | |
| 251 }, | |
| 252 'sources': [ | |
| 253 'src/java/com/google/ipc/invalidation/external/client/android/servic
e/InvalidationService.aidl', | |
| 254 'src/java/com/google/ipc/invalidation/external/client/android/servic
e/ListenerService.aidl', | |
| 255 'src/java/com/google/ipc/invalidation/testing/android/InvalidationTe
st.aidl', | |
| 256 ], | |
| 257 'includes': [ '../../build/java_aidl.gypi' ], | |
| 258 }, | |
| 259 ], | 231 ], |
| 260 }], | 232 }], |
| 261 ], | 233 ], |
| 262 } | 234 } |
| OLD | NEW |