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

Unified Diff: components/gcm_driver/BUILD.gn

Issue 570203002: Make chrome_shell_apk build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-chrome-jamesr
Patch Set: Created 6 years, 3 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/BUILD.gn
diff --git a/components/gcm_driver/BUILD.gn b/components/gcm_driver/BUILD.gn
index a446c9f926ae452de81a600a3f2ac27301cd18ee..dad3503dfd13134a50c72bf084be3c74daf0d1e7 100644
--- a/components/gcm_driver/BUILD.gn
+++ b/components/gcm_driver/BUILD.gn
@@ -66,7 +66,7 @@ static_library("gcm_driver") {
"//components/gcm_driver/proto",
"//google_apis/gcm",
]
- deps += [ ":jni_headers" ]
+ deps += [ "android:jni_headers" ]
}
}
@@ -100,15 +100,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"
- }
-}

Powered by Google App Engine
This is Rietveld 408576698