Index: components/gcm_driver/BUILD.gn |
diff --git a/components/gcm_driver/BUILD.gn b/components/gcm_driver/BUILD.gn |
index 95b059626905fe8c3ba73ecf1fc7a3f190bf512f..51360df5fe7b9fe3cf9d4f359b318a48f0109f73 100644 |
--- a/components/gcm_driver/BUILD.gn |
+++ b/components/gcm_driver/BUILD.gn |
@@ -71,10 +71,9 @@ static_library("gcm_driver") { |
"gcm_stats_recorder_impl.h", |
] |
deps -= [ |
- "//components/gcm_driver/proto", |
"//google_apis/gcm", |
] |
- deps += [ ":jni_headers" ] |
+ deps += [ "android:jni_headers" ] |
} |
} |
@@ -108,15 +107,3 @@ static_library("test_support") { |
deps -= [ "//google_apis/gcm" ] |
} |
} |
- |
-if (is_android) { |
- import("//build/config/android/rules.gni") |
- |
- # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers |
- generate_jni("jni_headers") { |
- sources = [ |
- "android/java/src/org/chromium/components/gcm_driver/GCMDriver.java", |
- ] |
- jni_package = "components/gcm_driver" |
- } |
-} |