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

Unified Diff: components/dom_distiller/core/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/autofill/core/common/BUILD.gn ('k') | components/gcm_driver.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/BUILD.gn
diff --git a/components/dom_distiller/core/BUILD.gn b/components/dom_distiller/core/BUILD.gn
index da3340539eb04ba35daa01480e056a955a7ec1ab..8f9a7a638c5de573802e402d2ec23844e21f9cb5 100644
--- a/components/dom_distiller/core/BUILD.gn
+++ b/components/dom_distiller/core/BUILD.gn
@@ -66,7 +66,7 @@ static_library("core") {
]
if (is_android) {
- #deps += [ ":dom_distiller_core_jni_headers" ] TODO(GYP)
+ deps += [ ":jni_headers" ]
}
}
@@ -114,3 +114,16 @@ source_set("unit_tests") {
"//testing/gtest",
]
}
+
+if (is_android) {
+ import("//build/config/android/rules.gni")
+
+ generate_jni("jni_headers") {
+ sources = [
+ "../android/java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java",
+ "../android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java",
+ "../android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java",
+ ]
+ jni_package = "dom_distiller_core"
+ }
+}
« no previous file with comments | « components/autofill/core/common/BUILD.gn ('k') | components/gcm_driver.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698