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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //components/gcm_driver/common | 8 # GN version: //components/gcm_driver/common |
9 'target_name': 'gcm_driver_common', | 9 'target_name': 'gcm_driver_common', |
10 'type': '<(component)', | 10 'type': '<(component)', |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 }, | 168 }, |
169 { | 169 { |
170 # GN version: //components/gcm_driver/instance_id | 170 # GN version: //components/gcm_driver/instance_id |
171 'target_name': 'instance_id', | 171 'target_name': 'instance_id', |
172 'type': 'static_library', | 172 'type': 'static_library', |
173 'include_dirs': [ | 173 'include_dirs': [ |
174 '..', | 174 '..', |
175 ], | 175 ], |
176 'sources': [ | 176 'sources': [ |
177 # Note: file list duplicated in GN build. | 177 # Note: file list duplicated in GN build. |
| 178 'gcm_driver/instance_id/android/component_jni_registrar.cc', |
| 179 'gcm_driver/instance_id/android/component_jni_registrar.h', |
178 'gcm_driver/instance_id/instance_id.cc', | 180 'gcm_driver/instance_id/instance_id.cc', |
179 'gcm_driver/instance_id/instance_id.h', | 181 'gcm_driver/instance_id/instance_id.h', |
180 'gcm_driver/instance_id/instance_id_android.cc', | 182 'gcm_driver/instance_id/instance_id_android.cc', |
181 'gcm_driver/instance_id/instance_id_android.h', | 183 'gcm_driver/instance_id/instance_id_android.h', |
182 'gcm_driver/instance_id/instance_id_driver.cc', | 184 'gcm_driver/instance_id/instance_id_driver.cc', |
183 'gcm_driver/instance_id/instance_id_driver.h', | 185 'gcm_driver/instance_id/instance_id_driver.h', |
184 'gcm_driver/instance_id/instance_id_impl.cc', | 186 'gcm_driver/instance_id/instance_id_impl.cc', |
185 'gcm_driver/instance_id/instance_id_impl.h', | 187 'gcm_driver/instance_id/instance_id_impl.h', |
186 ], | 188 ], |
187 'conditions': [ | 189 'conditions': [ |
188 ['OS == "android"', { | 190 ['OS == "android"', { |
| 191 'dependencies': [ |
| 192 'instance_id_driver_jni_headers', |
| 193 ], |
189 'sources!': [ | 194 'sources!': [ |
190 'gcm_driver/instance_id/instance_id_impl.cc', | 195 'gcm_driver/instance_id/instance_id_impl.cc', |
191 'gcm_driver/instance_id/instance_id_impl.h', | 196 'gcm_driver/instance_id/instance_id_impl.h', |
192 ], | 197 ], |
193 }], | 198 }], |
194 ], | 199 ], |
195 }, | 200 }, |
196 { | 201 { |
197 # GN version: //components/gcm_driver/instance_id:test_support | 202 # GN version: //components/gcm_driver/instance_id:test_support |
198 'target_name': 'instance_id_test_support', | 203 'target_name': 'instance_id_test_support', |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 }, | 298 }, |
294 ], | 299 ], |
295 'conditions': [ | 300 'conditions': [ |
296 ['OS == "android"', { | 301 ['OS == "android"', { |
297 'targets': [ | 302 'targets': [ |
298 { | 303 { |
299 # GN version: //components/gcm_driver/android:gcm_driver_java | 304 # GN version: //components/gcm_driver/android:gcm_driver_java |
300 'target_name': 'gcm_driver_java', | 305 'target_name': 'gcm_driver_java', |
301 'type': 'none', | 306 'type': 'none', |
302 'dependencies': [ | 307 'dependencies': [ |
303 '../base/base.gyp:base', | 308 '../base/base.gyp:base_java', |
304 # TODO(johnme): Fix the layering violation of depending on content/ | |
305 '../content/content.gyp:content_java', | 309 '../content/content.gyp:content_java', |
306 '../sync/sync.gyp:sync_java', | 310 '../sync/sync.gyp:sync_java', |
307 ], | 311 ], |
308 'variables': { | 312 'variables': { |
309 'java_in_dir': 'gcm_driver/android/java', | 313 'java_in_dir': 'gcm_driver/android/java', |
310 }, | 314 }, |
311 'includes': [ '../build/java.gypi' ], | 315 'includes': [ '../build/java.gypi' ], |
312 }, | 316 }, |
313 { | 317 { |
314 # GN version: //components/gcm_driver/android:jni_headers | 318 # GN version: //components/gcm_driver/android:jni_headers |
315 'target_name': 'gcm_driver_jni_headers', | 319 'target_name': 'gcm_driver_jni_headers', |
316 'type': 'none', | 320 'type': 'none', |
317 'sources': [ | 321 'sources': [ |
318 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD
river.java', | 322 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD
river.java', |
319 ], | 323 ], |
320 'variables': { | 324 'variables': { |
321 'jni_gen_package': 'components/gcm_driver', | 325 'jni_gen_package': 'components/gcm_driver', |
322 }, | 326 }, |
323 'includes': [ '../build/jni_generator.gypi' ], | 327 'includes': [ '../build/jni_generator.gypi' ], |
324 }, | 328 }, |
| 329 { |
| 330 # GN version: //components/gcm_driver/instance_id/android:instance_id_
driver_java |
| 331 'target_name': 'instance_id_driver_java', |
| 332 'type': 'none', |
| 333 'dependencies': [ |
| 334 '../base/base.gyp:base_java', |
| 335 '../third_party/android_tools/android_tools.gyp:google_play_services
_javalib', |
| 336 ], |
| 337 'variables': { |
| 338 'java_in_dir': 'gcm_driver/instance_id/android/java', |
| 339 }, |
| 340 'includes': [ '../build/java.gypi' ], |
| 341 }, |
| 342 { |
| 343 # GN version: //components/gcm_driver/instance_id/android:jni_headers |
| 344 'target_name': 'instance_id_driver_jni_headers', |
| 345 'type': 'none', |
| 346 'sources': [ |
| 347 'gcm_driver/instance_id/android/java/src/org/chromium/components/gcm
_driver/instance_id/InstanceIDBridge.java', |
| 348 ], |
| 349 'variables': { |
| 350 'jni_gen_package': 'components/gcm_driver/instance_id', |
| 351 }, |
| 352 'includes': [ '../build/jni_generator.gypi' ], |
| 353 }, |
325 ], | 354 ], |
326 }, | 355 }, |
327 ], | 356 ], |
328 ], | 357 ], |
329 } | 358 } |
OLD | NEW |