Index: components/gcm_driver.gypi |
diff --git a/components/gcm_driver.gypi b/components/gcm_driver.gypi |
index 1531dd1b65ad11d1e970fbde9e9c44cfc23cf6a0..92b1b2ab6902a8fc4880907e29b4874693033a9e 100644 |
--- a/components/gcm_driver.gypi |
+++ b/components/gcm_driver.gypi |
@@ -214,6 +214,15 @@ |
# Note: file list duplicated in GN build. |
'gcm_driver/instance_id/fake_gcm_driver_for_instance_id.cc', |
'gcm_driver/instance_id/fake_gcm_driver_for_instance_id.h', |
+ 'gcm_driver/instance_id/scoped_use_fake_instance_id_android.cc', |
+ 'gcm_driver/instance_id/scoped_use_fake_instance_id_android.h', |
+ ], |
+ 'conditions': [ |
+ ['OS == "android"', { |
+ 'dependencies': [ |
+ 'instance_id_driver_test_support_jni_headers', |
+ ], |
+ }], |
], |
}, |
{ |
@@ -323,6 +332,18 @@ |
'includes': [ '../build/java.gypi' ], |
}, |
{ |
+ # GN version: //components/gcm_driver/instance_id/android:instance_id_driver_test_support_java |
+ 'target_name': 'instance_id_driver_test_support_java', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'instance_id_driver_java', |
+ ], |
+ 'variables': { |
+ 'java_in_dir': 'gcm_driver/instance_id/android/javatests', |
+ }, |
+ 'includes': [ '../build/java.gypi' ], |
+ }, |
+ { |
# GN version: //components/gcm_driver/instance_id/android:jni_headers |
'target_name': 'instance_id_driver_jni_headers', |
'type': 'none', |
@@ -334,6 +355,18 @@ |
}, |
'includes': [ '../build/jni_generator.gypi' ], |
}, |
+ { |
+ # GN version: //components/gcm_driver/instance_id/android:test_support_jni_headers |
+ 'target_name': 'instance_id_driver_test_support_jni_headers', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'gcm_driver/instance_id/android/javatests/src/org/chromium/components/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java', |
+ ], |
+ 'variables': { |
+ 'jni_gen_package': 'components/gcm_driver/instance_id', |
+ }, |
+ 'includes': [ '../build/jni_generator.gypi' ], |
+ }, |
], |
}, |
], |