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

Unified Diff: components/dom_distiller.gypi

Issue 1248643004: Test distillability without JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@early
Patch Set: update model, functionally correct locally Created 5 years, 1 month 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 8d3165596f1ca5a344d45e7724d314ead8cbc6e3..51e00162c0fcdf712df2f5e3a48f733563f854e0 100644
--- a/components/dom_distiller.gypi
+++ b/components/dom_distiller.gypi
@@ -5,6 +5,24 @@
{
'targets': [
{
+ # GN version: //components/dom_distiller/content:content_common
+ 'target_name': 'dom_distiller_content_common',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_common',
+ '../ipc/ipc.gyp:ipc',
+ '../url/url.gyp:url_lib',
+ ],
+ 'sources': [
+ 'dom_distiller/content/common/distiller_messages.cc',
+ 'dom_distiller/content/common/distiller_messages.h',
+ ],
+ },
+ {
# GN version: //components/dom_distiller/webui
'target_name': 'dom_distiller_webui',
'type': 'static_library',
@@ -44,15 +62,16 @@
'components.gyp:leveldb_proto',
'components_resources.gyp:components_resources',
'components_strings.gyp:components_strings',
- 'dom_distiller_protos',
'pref_registry',
'variations',
],
+ 'defines': [
+ 'DISTILLER_IMPLEMENTATION=1',
+ ],
'include_dirs': [
'..',
],
'export_dependent_settings': [
- 'dom_distiller_protos',
'../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_proto',
],
'sources': [
@@ -74,6 +93,7 @@
'dom_distiller/core/distilled_page_prefs_android.h',
'dom_distiller/core/distiller.cc',
'dom_distiller/core/distiller.h',
+ 'dom_distiller/core/distiller_export.h',
'dom_distiller/core/distiller_page.cc',
'dom_distiller/core/distiller_page.h',
'dom_distiller/core/distiller_url_fetcher.cc',
@@ -182,6 +202,7 @@
'target_name': 'dom_distiller_content_browser',
'type': 'static_library',
'dependencies': [
+ 'dom_distiller_content_common',
'dom_distiller_core',
'dom_distiller_mojo_bindings',
'dom_distiller_protos',
@@ -201,6 +222,8 @@
'..',
],
'sources': [
+ 'dom_distiller/content/browser/distillability_driver.cc',
+ 'dom_distiller/content/browser/distillability_driver.h',
'dom_distiller/content/browser/distillable_page_utils.cc',
'dom_distiller/content/browser/distillable_page_utils.h',
'dom_distiller/content/browser/distillable_page_utils_android.cc',
@@ -231,7 +254,9 @@
'target_name': 'dom_distiller_content_renderer',
'type': 'static_library',
'dependencies': [
+ 'dom_distiller_content_common',
'dom_distiller_mojo_bindings',
+ 'dom_distiller_protos',
'../base/base.gyp:base',
'../content/content.gyp:content_browser',
'../gin/gin.gyp:gin',
@@ -241,7 +266,12 @@
'include_dirs': [
'..',
],
+ 'export_dependent_settings': [
+ 'dom_distiller_protos',
+ ],
'sources': [
+ 'dom_distiller/content/renderer/distillability_agent.cc',
+ 'dom_distiller/content/renderer/distillability_agent.h',
'dom_distiller/content/renderer/distiller_js_render_frame_observer.cc',
'dom_distiller/content/renderer/distiller_js_render_frame_observer.h',
'dom_distiller/content/renderer/distiller_native_javascript.cc',

Powered by Google App Engine
This is Rietveld 408576698