summaryrefslogtreecommitdiffstats
path: root/components/dom_distiller/android
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-11-30 14:11:05 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-30 22:12:01 +0000
commit15764b1f1b8fe2d0ba0328235d55516ac3415276 (patch)
tree0c4c375a5b64beda8fc3fb9905347c1c62594fb0 /components/dom_distiller/android
parentdbd692767b578bad0ce1d295918ab439822525fe (diff)
downloadchromium_src-15764b1f1b8fe2d0ba0328235d55516ac3415276.zip
chromium_src-15764b1f1b8fe2d0ba0328235d55516ac3415276.tar.gz
chromium_src-15764b1f1b8fe2d0ba0328235d55516ac3415276.tar.bz2
Add more components to "gn check", work on dom_distiller.
Added components are: bitmap_uploader browser_sync dom_distiller exp proxy_config query_parser rappor renderer_context_menu resource_provider resources rlz safe_browsing_db safe_json scheduler search The dom distiller GN build was a little messed up. The JNI registrar files were in core but referenced files in content. I moved the registrar files to content/browser which is where they're needed and matches some other components. There were also some other duplicated java targets, and I split out the content build file into separate subdirectories and renamed the targets to match. TBR=dpranke@chromium.org BUG=562773 Review URL: https://codereview.chromium.org/1487433002 Cr-Commit-Position: refs/heads/master@{#362234}
Diffstat (limited to 'components/dom_distiller/android')
-rw-r--r--components/dom_distiller/android/BUILD.gn11
1 files changed, 3 insertions, 8 deletions
diff --git a/components/dom_distiller/android/BUILD.gn b/components/dom_distiller/android/BUILD.gn
index 75122ba..1b5c31c 100644
--- a/components/dom_distiller/android/BUILD.gn
+++ b/components/dom_distiller/android/BUILD.gn
@@ -52,14 +52,9 @@ java_cpp_template("dom_distiller_core_theme_javagen") {
]
}
-source_set("jni_registrar") {
+generate_jni("jni_headers") {
sources = [
- "component_jni_registrar.cc",
- "component_jni_registrar.h",
- ]
-
- deps = [
- "//base",
- "//components/dom_distiller/content:content_browser",
+ "java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java",
]
+ jni_package = "dom_distiller_content"
}