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

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

Issue 1336433002: Revert of Expose distiller functions to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-content
Patch Set: 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
« no previous file with comments | « components/dom_distiller.gypi ('k') | components/dom_distiller/content/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « components/dom_distiller.gypi ('k') | components/dom_distiller/content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698