Index: components/dom_distiller/content/BUILD.gn |
diff --git a/components/dom_distiller/content/BUILD.gn b/components/dom_distiller/content/BUILD.gn |
index cc9137bc0e8840a1bccb2f6fcf54e9c99b892374..16cb5b24b3e7a6277ef8579d88af92cebadaf930 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", |
@@ -64,6 +82,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", |
@@ -72,11 +92,16 @@ static_library("content_renderer") { |
"renderer/distiller_page_notifier_service_impl.h", |
] |
+ public_deps = [ |
+ "//components/dom_distiller/core/proto", |
+ ] |
deps = [ |
+ ":content_common", |
":mojo_bindings", |
"//base", |
"//gin", |
"//mojo/environment:chromium", |
+ "//skia", |
"//third_party/mojo/src/mojo/public/cpp/bindings", |
"//third_party/WebKit/public:blink_headers", |
"//v8", |