summaryrefslogtreecommitdiffstats
path: root/components/dom_distiller.gypi
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-07-27 12:18:00 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-27 19:18:57 +0000
commit0f2ef35a2de53103f42a7ab62ccc07aa34481e41 (patch)
tree7e6b89bd5a67371f5ba652948ce7886782970412 /components/dom_distiller.gypi
parentf7701e71c321e821163217db2336241d240c563b (diff)
downloadchromium_src-0f2ef35a2de53103f42a7ab62ccc07aa34481e41.zip
chromium_src-0f2ef35a2de53103f42a7ab62ccc07aa34481e41.tar.gz
chromium_src-0f2ef35a2de53103f42a7ab62ccc07aa34481e41.tar.bz2
Componentize enhanced_bookmark_features.{h,cc}.
Enhanced bookmarks and the DOM distiller are (or will be) used on iOS and android. Move the function checking whether the features are enabled into the respective component to allow sharing the code. Move IsEnhancedBookmarksEnabled() function to the enhanced_bookmarks component with supporting switches. Move IsEnableDomDistillerSet() and IsEnableSyncArticlesSet() functions to the dom_distiller component with supporting switches. BUG=359565 Review URL: https://codereview.chromium.org/1253953002 Cr-Commit-Position: refs/heads/master@{#340526}
Diffstat (limited to 'components/dom_distiller.gypi')
-rw-r--r--components/dom_distiller.gypi5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi
index c2caab7..5890807 100644
--- a/components/dom_distiller.gypi
+++ b/components/dom_distiller.gypi
@@ -39,13 +39,14 @@
'../base/base.gyp:base_prefs',
'../skia/skia.gyp:skia',
'../sync/sync.gyp:sync',
- '../third_party/re2/re2.gyp:re2',
'../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_proto',
+ '../third_party/re2/re2.gyp:re2',
'components.gyp:leveldb_proto',
'components_resources.gyp:components_resources',
'components_strings.gyp:components_strings',
'dom_distiller_protos',
'pref_registry',
+ 'variations',
],
'include_dirs': [
'..',
@@ -79,6 +80,8 @@
'dom_distiller/core/distiller_url_fetcher.h',
'dom_distiller/core/dom_distiller_constants.cc',
'dom_distiller/core/dom_distiller_constants.h',
+ 'dom_distiller/core/dom_distiller_features.cc',
+ 'dom_distiller/core/dom_distiller_features.h',
'dom_distiller/core/dom_distiller_model.cc',
'dom_distiller/core/dom_distiller_model.h',
'dom_distiller/core/dom_distiller_observer.h',