summaryrefslogtreecommitdiffstats
path: root/components/dom_distiller.gypi
diff options
context:
space:
mode:
authorsunangel@chromium.org <sunangel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 10:57:09 +0000
committersunangel@chromium.org <sunangel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 10:57:09 +0000
commit9d0d78491d7037d5ac51d5fa7ac8f493307c5c1b (patch)
tree028077eaad03341a799e64441779e996a5c0aca4 /components/dom_distiller.gypi
parent37216c6396f3dfc1cec887d7bab5088c1b9e705b (diff)
downloadchromium_src-9d0d78491d7037d5ac51d5fa7ac8f493307c5c1b.zip
chromium_src-9d0d78491d7037d5ac51d5fa7ac8f493307c5c1b.tar.gz
chromium_src-9d0d78491d7037d5ac51d5fa7ac8f493307c5c1b.tar.bz2
Java wrapper for DistilledPagePrefs.
Adds Java version of DomDistillerService and DistilledPagePrefs with support for setting and retrieving the current Theme. The DomDistillerService can be retrieved by using the DomDistillerServiceFactory, which maps a profile to an instance of the service. BUG=383630 Review URL: https://codereview.chromium.org/340403004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/dom_distiller.gypi')
-rw-r--r--components/dom_distiller.gypi20
1 files changed, 20 insertions, 0 deletions
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi
index fc88cd2..b18bee7 100644
--- a/components/dom_distiller.gypi
+++ b/components/dom_distiller.gypi
@@ -62,6 +62,8 @@
'dom_distiller/core/distilled_content_store.h',
'dom_distiller/core/distilled_page_prefs.cc',
'dom_distiller/core/distilled_page_prefs.h',
+ 'dom_distiller/core/distilled_page_prefs_android.cc',
+ 'dom_distiller/core/distilled_page_prefs_android.h',
'dom_distiller/core/distiller.cc',
'dom_distiller/core/distiller.h',
'dom_distiller/core/distiller_page.cc',
@@ -75,12 +77,15 @@
'dom_distiller/core/dom_distiller_observer.h',
'dom_distiller/core/dom_distiller_service.cc',
'dom_distiller/core/dom_distiller_service.h',
+ 'dom_distiller/core/dom_distiller_service_android.cc',
+ 'dom_distiller/core/dom_distiller_service_android.h',
'dom_distiller/core/dom_distiller_store.cc',
'dom_distiller/core/dom_distiller_store.h',
'dom_distiller/core/feedback_reporter.cc',
'dom_distiller/core/feedback_reporter.h',
'dom_distiller/core/task_tracker.cc',
'dom_distiller/core/task_tracker.h',
+ 'dom_distiller/core/theme_list.h',
'dom_distiller/core/url_constants.cc',
'dom_distiller/core/url_constants.h',
'dom_distiller/core/url_utils_android.cc',
@@ -171,6 +176,7 @@
'target_name': 'dom_distiller_core_java',
'type': 'none',
'dependencies': [
+ 'dom_distiller_core_theme_java',
'../base/base.gyp:base',
],
'variables': {
@@ -182,6 +188,8 @@
'target_name': 'dom_distiller_core_jni_headers',
'type': 'none',
'sources': [
+ 'dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java',
+ 'dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java',
'dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java',
],
'variables': {
@@ -189,6 +197,18 @@
},
'includes': [ '../build/jni_generator.gypi' ],
},
+ {
+ 'target_name': 'dom_distiller_core_theme_java',
+ 'type': 'none',
+ 'sources': [
+ 'dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/Theme.template',
+ ],
+ 'variables': {
+ 'package_name': 'org/chromium/components/dom_distiller/core',
+ 'template_deps': ['dom_distiller/core/theme_list.h'],
+ },
+ 'includes': [ '../build/android/java_cpp_template.gypi' ],
+ },
],
}],
],