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

Unified Diff: content/public/android/BUILD.gn

Issue 561623002: GN: Enable blink and (nearly) all of content in android build (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 | « content/content_renderer.gypi ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/BUILD.gn
diff --git a/content/public/android/BUILD.gn b/content/public/android/BUILD.gn
index 0755a18c7bbddf0d2414d6a5bae8c02bf73d9350..ef9a861cd250069c837c769c632acea4ce57849a 100644
--- a/content/public/android/BUILD.gn
+++ b/content/public/android/BUILD.gn
@@ -5,6 +5,11 @@
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
+content_jni_gypi_values = exec_script("//build/gypi_to_gn.py",
+ [ rebase_path("../../content_jni.gypi") ],
+ "scope",
+ [ "../../content_jni.gypi" ])
+
android_aidl("common_aidl") {
interface_file = "java/src/org/chromium/content/common/common.aidl"
import_include = "java/src"
@@ -200,11 +205,23 @@ java_cpp_template("content_gamepad_mapping_java") {
]
}
-generate_jar_jni("content_jni_headers") {
+generate_jar_jni("jar_jni") {
jni_package = "content"
classes = [
- "android/view/MotionEvent.class",
"java/util/HashSet.class",
+ "android/view/MotionEvent.class",
+ ]
+}
+
+generate_jni("content_jni_headers") {
+ sources = rebase_path(content_jni_gypi_values.sources, "", "../..")
+ jni_package = "content"
+}
+
+group("jni") {
+ deps = [
+ ":content_jni_headers",
+ ":jar_jni",
]
}
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698