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

Unified Diff: components/dom_distiller.gypi

Issue 185113002: Add UI hook for distilling web pages for test shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased after testshell->shell change Created 6 years, 10 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 | « chrome/chrome_android.gypi ('k') | components/dom_distiller/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller.gypi
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi
index 1ad3f070e893fd1914ceef9ddbae40e27b7e7bb2..4e8b6edcc79211edb5a132f6720b8260e1cda4e0 100644
--- a/components/dom_distiller.gypi
+++ b/components/dom_distiller.gypi
@@ -48,6 +48,8 @@
'distilled_page_proto',
],
'sources': [
+ 'dom_distiller/android/component_jni_registrar.cc',
+ 'dom_distiller/android/component_jni_registrar.h',
'dom_distiller/core/article_entry.cc',
'dom_distiller/core/article_entry.h',
'dom_distiller/core/distiller.cc',
@@ -73,9 +75,18 @@
'dom_distiller/core/task_tracker.h',
'dom_distiller/core/url_constants.cc',
'dom_distiller/core/url_constants.h',
+ 'dom_distiller/core/url_utils_android.cc',
+ 'dom_distiller/core/url_utils_android.h',
'dom_distiller/core/url_utils.cc',
'dom_distiller/core/url_utils.h',
],
+ 'conditions': [
+ ['OS == "android"', {
+ 'dependencies': [
+ 'dom_distiller_core_jni_headers',
+ ],
+ }],
+ ],
},
{
'target_name': 'dom_distiller_test_support',
@@ -137,6 +148,32 @@
},
],
}],
+ ['OS=="android"', {
+ 'targets': [
+ {
+ 'target_name': 'dom_distiller_core_java',
+ 'type': 'none',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ 'variables': {
+ 'java_in_dir': 'dom_distiller/android/java',
+ },
+ 'includes': [ '../build/java.gypi' ],
+ },
+ {
+ 'target_name': 'dom_distiller_core_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'dom_distiller_core',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ ],
+ }],
],
}],
],
« no previous file with comments | « chrome/chrome_android.gypi ('k') | components/dom_distiller/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698