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

Unified Diff: components/gcm_driver/BUILD.gn

Issue 571863002: GN: Get //chrome/* mostly working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/BUILD.gn
diff --git a/components/gcm_driver/BUILD.gn b/components/gcm_driver/BUILD.gn
index 45dd2a26fe7103098dc56a4f92d6107a71dac2aa..a446c9f926ae452de81a600a3f2ac27301cd18ee 100644
--- a/components/gcm_driver/BUILD.gn
+++ b/components/gcm_driver/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# GYP version: components/gcm_driver.gypi:gcm_driver
static_library("gcm_driver") {
sources = [
"android/component_jni_registrar.cc",
@@ -100,4 +101,14 @@ static_library("test_support") {
}
}
-#TODO(GYP) gcm_driver_java gcm_driver_jni_headers
+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"
+ }
+}
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698