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", |
] |