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

Unified Diff: components/dom_distiller/content/BUILD.gn

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 | « components/dom_distiller.gypi ('k') | components/dom_distiller/content/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/content/BUILD.gn
diff --git a/components/dom_distiller/content/BUILD.gn b/components/dom_distiller/content/BUILD.gn
index f9cce20f20bc41217374b7fd782c9561ee2821f5..806df19ec3616fe83f96e9f8ad5e94979d79bcee 100644
--- a/components/dom_distiller/content/BUILD.gn
+++ b/components/dom_distiller/content/BUILD.gn
@@ -14,9 +14,26 @@ mojom("mojo_bindings") {
]
}
+# GYP version: components/dom_distiller.gypi:dom_distiller_content_common
+static_library("content_common") {
+ sources = [
+ "common/distiller_messages.cc",
+ "common/distiller_messages.h",
+ ]
+
+ deps = [
+ "//base",
+ "//content/public/common",
+ "//ipc",
+ "//url",
+ ]
+}
+
# GYP version: components/dom_distiller.gypi:dom_distiller_content_browser
static_library("content_browser") {
sources = [
+ "browser/distillability_driver.cc",
+ "browser/distillability_driver.h",
"browser/distillable_page_utils.cc",
"browser/distillable_page_utils.h",
"browser/distiller_javascript_service_impl.cc",
@@ -37,6 +54,7 @@ static_library("content_browser") {
"//content/public/browser",
]
deps = [
+ ":content_common",
":mojo_bindings",
"//base",
"//components/resources",
@@ -66,6 +84,8 @@ static_library("content_browser") {
# GYP version: components/dom_distiller.gypi:dom_distiller_content_renderer
static_library("content_renderer") {
sources = [
+ "renderer/distillability_agent.cc",
+ "renderer/distillability_agent.h",
"renderer/distiller_js_render_frame_observer.cc",
"renderer/distiller_js_render_frame_observer.h",
"renderer/distiller_native_javascript.cc",
@@ -74,7 +94,11 @@ static_library("content_renderer") {
"renderer/distiller_page_notifier_service_impl.h",
]
+ public_deps = [
+ "//components/dom_distiller/core/proto",
+ ]
deps = [
+ ":content_common",
":mojo_bindings",
"//base",
"//content/public/common",
@@ -82,6 +106,7 @@ static_library("content_renderer") {
"//gin",
"//mojo/environment:chromium",
"//mojo/public/cpp/bindings",
+ "//skia",
"//third_party/WebKit/public:blink_headers",
"//v8",
]
« no previous file with comments | « components/dom_distiller.gypi ('k') | components/dom_distiller/content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698