summaryrefslogtreecommitdiffstats
path: root/components/dom_distiller.gypi
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-02-24 09:19:09 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-24 17:19:51 +0000
commit27eaf1e3fc955adc0a555844320738cf867cc38b (patch)
treeff41466c02e8017dc8363ad59d6094100e6749da /components/dom_distiller.gypi
parent2c6f7d3c1f353cab96869b4f8bd8da946a68d04e (diff)
downloadchromium_src-27eaf1e3fc955adc0a555844320738cf867cc38b.zip
chromium_src-27eaf1e3fc955adc0a555844320738cf867cc38b.tar.gz
chromium_src-27eaf1e3fc955adc0a555844320738cf867cc38b.tar.bz2
Upstream iOS implementation of dom_distiller
Provides an implementation of DistillerPage that use the web API to inject the distiller JavaScript code into the page. Introduce an iOS specific implementation of domdistiller.js to work around a crash in UIWebView when creating a local "window" object. BUG=459678 Review URL: https://codereview.chromium.org/936843002 Cr-Commit-Position: refs/heads/master@{#317813}
Diffstat (limited to 'components/dom_distiller.gypi')
-rw-r--r--components/dom_distiller.gypi22
1 files changed, 22 insertions, 0 deletions
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi
index 0180f6f..6e8cf3a 100644
--- a/components/dom_distiller.gypi
+++ b/components/dom_distiller.gypi
@@ -181,6 +181,28 @@
},
],
}],
+ ['OS=="ios"', {
+ 'targets': [
+ {
+ 'target_name': 'dom_distiller_ios',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../ios/provider/ios_provider_web.gyp:ios_provider_web',
+ 'distilled_page_proto',
+ 'dom_distiller_core',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'dom_distiller/ios/distiller_page_factory_ios.h',
+ 'dom_distiller/ios/distiller_page_factory_ios.mm',
+ 'dom_distiller/ios/distiller_page_ios.h',
+ 'dom_distiller/ios/distiller_page_ios.mm',
+ ],
+ },
+ ],
+ }],
['OS=="android"', {
'targets': [
{