Index: components/dom_distiller/content/BUILD.gn |
diff --git a/components/dom_distiller/content/BUILD.gn b/components/dom_distiller/content/BUILD.gn |
index f1fd8e3dad0f820fe72dcbcdd298aa32ee01d6c7..7f018a9f41ef24d045ff441642d1e9cbd4963504 100644 |
--- a/components/dom_distiller/content/BUILD.gn |
+++ b/components/dom_distiller/content/BUILD.gn |
@@ -4,23 +4,11 @@ |
assert(!is_ios) |
-import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
- |
-# GYP version: components/dom_distiller.gypi:dom_distiller_mojo_bindings |
-mojom("mojo_bindings") { |
- sources = [ |
- "common/distiller_javascript_service.mojom", |
- "common/distiller_page_notifier_service.mojom", |
- ] |
-} |
- |
-# GYP version: components/dom_distiller.gypi:dom_distiller_content_browser |
-static_library("content_browser") { |
+# GYP version: components/dom_distiller.gypi:dom_distiller_content |
+source_set("content_browser") { |
sources = [ |
"browser/distillable_page_utils.cc", |
"browser/distillable_page_utils.h", |
- "browser/distiller_javascript_service_impl.cc", |
- "browser/distiller_javascript_service_impl.h", |
"browser/distiller_javascript_utils.cc", |
"browser/distiller_javascript_utils.h", |
"browser/distiller_page_web_contents.cc", |
@@ -37,17 +25,12 @@ |
"//content/public/browser", |
] |
deps = [ |
- ":mojo_bindings", |
"//base", |
"//components/resources", |
"//components/strings", |
- "//content/public/browser", |
- "//mojo/environment:chromium", |
"//net", |
"//skia", |
"//sync", |
- "//third_party/mojo/src/mojo/public/cpp/bindings", |
- "//third_party/WebKit/public:blink_headers", |
"//ui/gfx", |
"//url", |
] |
@@ -59,27 +42,6 @@ |
] |
deps += [ ":jni_headers" ] |
} |
-} |
- |
-# GYP version: components/dom_distiller.gypi:dom_distiller_content_renderer |
-static_library("content_renderer") { |
- sources = [ |
- "renderer/distiller_js_render_frame_observer.cc", |
- "renderer/distiller_js_render_frame_observer.h", |
- "renderer/distiller_native_javascript.cc", |
- "renderer/distiller_native_javascript.h", |
- "renderer/distiller_page_notifier_service_impl.cc", |
- "renderer/distiller_page_notifier_service_impl.h", |
- ] |
- |
- deps = [ |
- ":mojo_bindings", |
- "//base", |
- "//content/public/browser", |
- "//mojo/environment:chromium", |
- "//third_party/mojo/src/mojo/public/cpp/bindings", |
- "//third_party/WebKit/public:blink_headers", |
- ] |
} |
if (is_android) { |