summaryrefslogtreecommitdiffstats
path: root/components/dom_distiller.gypi
diff options
context:
space:
mode:
authorbengr@chromium.org <bengr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 22:05:30 +0000
committerbengr@chromium.org <bengr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 22:05:30 +0000
commitc0f759b1863f24bbcdd5679623a33380874cbb69 (patch)
treea089cc82b6174d38da1c4d982fd684167da887c9 /components/dom_distiller.gypi
parentf55913a8897cee5df58696c7ba52a10aeded377d (diff)
downloadchromium_src-c0f759b1863f24bbcdd5679623a33380874cbb69.zip
chromium_src-c0f759b1863f24bbcdd5679623a33380874cbb69.tar.gz
chromium_src-c0f759b1863f24bbcdd5679623a33380874cbb69.tar.bz2
Page distiller core
This change adds code to load a page in a WebContents, execute JavaScript in that context, parse the result of executing the JS, fetch images referenced in the result, and store the images and other details of the result in a proto. BUG=288015, 283846 Review URL: https://codereview.chromium.org/26358008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234921 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/dom_distiller.gypi')
-rw-r--r--components/dom_distiller.gypi10
1 files changed, 9 insertions, 1 deletions
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi
index abece3f..74a9b1d 100644
--- a/components/dom_distiller.gypi
+++ b/components/dom_distiller.gypi
@@ -32,12 +32,15 @@
'type': 'static_library',
'dependencies': [
'dom_distiller_core',
+ '../skia/skia.gyp:skia',
'../sync/sync.gyp:sync',
],
'include_dirs': [
'..',
],
'sources': [
+ 'dom_distiller/content/distiller_page_web_contents.h',
+ 'dom_distiller/content/distiller_page_web_contents.cc',
'dom_distiller/content/dom_distiller_service_factory.h',
'dom_distiller/content/dom_distiller_service_factory.cc',
],
@@ -64,8 +67,9 @@
'type': 'static_library',
'dependencies': [
'distilled_page_proto',
+ 'dom_distiller_resources',
'../base/base.gyp:base',
- #'../skia/skia.gyp:skia',
+ '../skia/skia.gyp:skia',
'../sync/sync.gyp:sync',
'../third_party/protobuf/protobuf.gyp:protobuf_lite',
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
@@ -76,6 +80,10 @@
'sources': [
'dom_distiller/core/article_entry.cc',
'dom_distiller/core/article_entry.h',
+ 'dom_distiller/core/distiller.cc',
+ 'dom_distiller/core/distiller.h',
+ 'dom_distiller/core/distiller_page.cc',
+ 'dom_distiller/core/distiller_page.h',
'dom_distiller/core/distiller_url_fetcher.cc',
'dom_distiller/core/distiller_url_fetcher.h',
'dom_distiller/core/dom_distiller_constants.cc',