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', |