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

Unified Diff: components/gcm_driver.gypi

Issue 1830983002: Implement InstanceIDAndroid using InstanceIDWithSubtype.java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid1subtype
Patch Set: Rebase Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/gcm_driver.gypi
diff --git a/components/gcm_driver.gypi b/components/gcm_driver.gypi
index 6590f8b39a0dbcf1448e2f9f9859493bcdb1fc48..a72e2f06ac09465f14b6652199eba4a64f933bcb 100644
--- a/components/gcm_driver.gypi
+++ b/components/gcm_driver.gypi
@@ -175,6 +175,8 @@
],
'sources': [
# Note: file list duplicated in GN build.
+ 'gcm_driver/instance_id/android/component_jni_registrar.cc',
+ 'gcm_driver/instance_id/android/component_jni_registrar.h',
'gcm_driver/instance_id/instance_id.cc',
'gcm_driver/instance_id/instance_id.h',
'gcm_driver/instance_id/instance_id_android.cc',
@@ -186,6 +188,9 @@
],
'conditions': [
['OS == "android"', {
+ 'dependencies': [
+ 'instance_id_driver_jni_headers',
+ ],
'sources!': [
'gcm_driver/instance_id/instance_id_impl.cc',
'gcm_driver/instance_id/instance_id_impl.h',
@@ -322,6 +327,30 @@
},
'includes': [ '../build/jni_generator.gypi' ],
},
+ {
+ # GN version: //components/gcm_driver/instance_id/android:instance_id_driver_java
+ 'target_name': 'instance_id_driver_java',
+ 'type': 'none',
+ 'dependencies': [
+ '../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.
+ ],
+ 'variables': {
+ 'java_in_dir': 'gcm_driver/instance_id/android/java',
+ },
+ 'includes': [ '../build/java.gypi' ],
+ },
+ {
+ # GN version: //components/gcm_driver/instance_id/android:jni_headers
+ 'target_name': 'instance_id_driver_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'gcm_driver/instance_id/android/java/src/org/chromium/components/gcm_driver/instance_id/InstanceIDWithSubtype.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'components/gcm_driver/instance_id',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
],
},
],

Powered by Google App Engine
This is Rietveld 408576698