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

Unified Diff: components/dom_distiller.gypi

Issue 1434433002: Pass distillability updates from renderer to browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@model
Patch Set: address tsepez's comment 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 | « chrome/browser/chrome_content_browser_client.cc ('k') | components/dom_distiller/content/BUILD.gn » ('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 a4f94e18bca533560ab12ef81422ec44b6c74998..1fd4196b1e6992041881629f457006bdde6d9388 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',
@@ -182,6 +200,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 +220,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 +252,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 +264,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 | « chrome/browser/chrome_content_browser_client.cc ('k') | components/dom_distiller/content/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698