Chromium Code Reviews| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 315 'target_name': 'gcm_driver_jni_headers', | 320 'target_name': 'gcm_driver_jni_headers', |
| 316 'type': 'none', | 321 'type': 'none', |
| 317 'sources': [ | 322 'sources': [ |
| 318 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD river.java', | 323 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD river.java', |
| 319 ], | 324 ], |
| 320 'variables': { | 325 'variables': { |
| 321 'jni_gen_package': 'components/gcm_driver', | 326 'jni_gen_package': 'components/gcm_driver', |
| 322 }, | 327 }, |
| 323 'includes': [ '../build/jni_generator.gypi' ], | 328 'includes': [ '../build/jni_generator.gypi' ], |
| 324 }, | 329 }, |
| 330 { | |
| 331 # GN version: //components/gcm_driver/instance_id/android:instance_id_ driver_java | |
| 332 'target_name': 'instance_id_driver_java', | |
| 333 'type': 'none', | |
| 334 'dependencies': [ | |
| 335 '../base/base.gyp:base', | |
|
Peter Beverloo
2016/04/11 14:05:31
Can this be :base_java?
(If it can, mind updating
johnme
2016/04/13 11:42:12
Done.
| |
| 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/InstanceIDWithSubtype.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 |