OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 '<(proto_in_dir)/java_client.proto', | 188 '<(proto_in_dir)/java_client.proto', |
189 '<(proto_in_dir)/types.proto', | 189 '<(proto_in_dir)/types.proto', |
190 ], | 190 ], |
191 'includes': [ '../../build/protoc_java.gypi' ], | 191 'includes': [ '../../build/protoc_java.gypi' ], |
192 }, | 192 }, |
193 { | 193 { |
194 'target_name': 'cacheinvalidation_javalib', | 194 'target_name': 'cacheinvalidation_javalib', |
195 'type': 'none', | 195 'type': 'none', |
196 'dependencies': [ | 196 'dependencies': [ |
197 '../../third_party/android_tools/android_tools.gyp:android_gcm', | 197 '../../third_party/android_tools/android_tools.gyp:android_gcm', |
| 198 '../../third_party/guava/guava.gyp:guava_javalib', |
198 'cacheinvalidation_aidl_javalib', | 199 'cacheinvalidation_aidl_javalib', |
199 'cacheinvalidation_guava_javalib', | |
200 'cacheinvalidation_proto_java', | 200 'cacheinvalidation_proto_java', |
201 ], | 201 ], |
202 'variables': { | 202 'variables': { |
203 'package_name': '<(_target_name)', | 203 'package_name': '<(_target_name)', |
204 'java_in_dir': '../../build/android/empty', | 204 'java_in_dir': '../../build/android/empty', |
205 'additional_src_dirs': [ 'src/java/' ], | 205 'additional_src_dirs': [ 'src/java/' ], |
206 }, | 206 }, |
207 'includes': [ '../../build/java.gypi' ], | 207 'includes': [ '../../build/java.gypi' ], |
208 }, | 208 }, |
209 { | 209 { |
210 'target_name': 'cacheinvalidation_aidl_javalib', | 210 'target_name': 'cacheinvalidation_aidl_javalib', |
211 'type': 'none', | 211 'type': 'none', |
212 'variables': { | 212 'variables': { |
213 'package_name': '<(_target_name)', | 213 'package_name': '<(_target_name)', |
214 # TODO(shashishekhar): aidl_interface_file should be made optional. | 214 # TODO(shashishekhar): aidl_interface_file should be made optional. |
215 'aidl_interface_file':'<(android_sdk)/framework.aidl' | 215 'aidl_interface_file':'<(android_sdk)/framework.aidl' |
216 }, | 216 }, |
217 'sources': [ | 217 'sources': [ |
218 'src/java/com/google/ipc/invalidation/external/client/android/servic
e/InvalidationService.aidl', | 218 'src/java/com/google/ipc/invalidation/external/client/android/servic
e/InvalidationService.aidl', |
219 'src/java/com/google/ipc/invalidation/external/client/android/servic
e/ListenerService.aidl', | 219 'src/java/com/google/ipc/invalidation/external/client/android/servic
e/ListenerService.aidl', |
220 'src/java/com/google/ipc/invalidation/testing/android/InvalidationTe
st.aidl', | 220 'src/java/com/google/ipc/invalidation/testing/android/InvalidationTe
st.aidl', |
221 ], | 221 ], |
222 'includes': [ '../../build/java_aidl.gypi' ], | 222 'includes': [ '../../build/java_aidl.gypi' ], |
223 }, | 223 }, |
224 # TODO(nyquist): Depend on guava from third_party/guava. See http://crbu
g.com/159873. | |
225 { | |
226 'target_name': 'cacheinvalidation_guava_javalib', | |
227 'type' : 'none', | |
228 'all_dependent_settings': { | |
229 'variables': { | |
230 'input_jars_paths' : [ | |
231 'src/example-app-build/libs/guava-13.0.1.jar', | |
232 ], | |
233 } | |
234 } | |
235 }, | |
236 ], | 224 ], |
237 }], | 225 }], |
238 ], | 226 ], |
239 } | 227 } |
OLD | NEW |