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

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: fix browsertest, merge webkit CL, merge http://crrev.com/1403413004 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
« no previous file with comments | « components/components_tests.gyp ('k') | components/dom_distiller/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller.gypi
diff --git a/components/dom_distiller.gypi b/components/dom_distiller.gypi
index 8d3165596f1ca5a344d45e7724d314ead8cbc6e3..fc5257fa30ee7b65aff43015f81d112c37d4d2af 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,7 +62,6 @@
'components.gyp:leveldb_proto',
'components_resources.gyp:components_resources',
'components_strings.gyp:components_strings',
- 'dom_distiller_protos',
'pref_registry',
'variations',
],
@@ -52,7 +69,6 @@
'..',
],
'export_dependent_settings': [
- 'dom_distiller_protos',
'../third_party/dom_distiller_js/dom_distiller_js.gyp:dom_distiller_js_proto',
],
'sources': [
@@ -182,6 +198,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 +218,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 +250,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 +262,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',
« no previous file with comments | « components/components_tests.gyp ('k') | components/dom_distiller/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698