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

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: fix browsertest, merge webkit CL, merge http://crrev.com/1403413004 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
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",

Powered by Google App Engine
This is Rietveld 408576698