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

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

Issue 1248643004: Test distillability without JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@early
Patch Set: move tests, remove dbg msg Created 5 years, 3 months 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
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..f43059abd8bec0cec607c880f06ce10be41a4ae4 100644
--- a/components/dom_distiller/content/BUILD.gn
+++ b/components/dom_distiller/content/BUILD.gn
@@ -14,9 +14,24 @@ 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",
+ "//ipc",
+ ]
+}
+
# 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 +52,7 @@ static_library("content_browser") {
"//content/public/browser",
]
deps = [
+ ":content_common",
":mojo_bindings",
"//base",
"//components/resources",
@@ -64,6 +80,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",
@@ -73,10 +91,12 @@ static_library("content_renderer") {
]
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",

Powered by Google App Engine
This is Rietveld 408576698