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

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: 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
Index: components/dom_distiller.gypi
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi
index 1ad3f070e893fd1914ceef9ddbae40e27b7e7bb2..5881cb0bc4f205630e65559cbaf73a3b04ef14ce 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,33 @@
},
],
}],
+ ['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',
+ 'jni_generator_ptr_type': 'long',
cjhopman 2014/03/03 16:54:46 check if `long` is the default.
nyquist 2014/03/03 23:17:07 Yes, it is. Thanks.
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ ],
+ }],
],
}],
],

Powered by Google App Engine
This is Rietveld 408576698