| Index: components/dom_distiller/content/BUILD.gn
|
| diff --git a/components/dom_distiller/content/BUILD.gn b/components/dom_distiller/content/BUILD.gn
|
| index 806df19ec3616fe83f96e9f8ad5e94979d79bcee..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644
|
| --- a/components/dom_distiller/content/BUILD.gn
|
| +++ b/components/dom_distiller/content/BUILD.gn
|
| @@ -1,137 +0,0 @@
|
| -# Copyright 2014 The Chromium Authors. All rights reserved.
|
| -# Use of this source code is governed by a BSD-style license that can be
|
| -# found in the LICENSE file.
|
| -
|
| -assert(!is_ios)
|
| -
|
| -import("//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_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",
|
| - "browser/distiller_javascript_service_impl.h",
|
| - "browser/distiller_javascript_utils.cc",
|
| - "browser/distiller_javascript_utils.h",
|
| - "browser/distiller_page_web_contents.cc",
|
| - "browser/distiller_page_web_contents.h",
|
| - "browser/distiller_ui_handle.h",
|
| - "browser/dom_distiller_viewer_source.cc",
|
| - "browser/dom_distiller_viewer_source.h",
|
| - "browser/web_contents_main_frame_observer.cc",
|
| - "browser/web_contents_main_frame_observer.h",
|
| - ]
|
| -
|
| - public_deps = [
|
| - "//components/dom_distiller/core",
|
| - "//content/public/browser",
|
| - ]
|
| - deps = [
|
| - ":content_common",
|
| - ":mojo_bindings",
|
| - "//base",
|
| - "//components/resources",
|
| - "//components/strings",
|
| - "//content/public/browser",
|
| - "//content/public/common",
|
| - "//mojo/environment:chromium",
|
| - "//mojo/public/cpp/bindings",
|
| - "//net",
|
| - "//skia",
|
| - "//sync",
|
| - "//third_party/WebKit/public:blink_headers",
|
| - "//ui/base",
|
| - "//ui/gfx",
|
| - "//url",
|
| - ]
|
| -
|
| - if (is_android) {
|
| - sources += [
|
| - "browser/distillable_page_utils_android.cc",
|
| - "browser/distillable_page_utils_android.h",
|
| - ]
|
| - deps += [ ":jni_headers" ]
|
| - }
|
| -}
|
| -
|
| -# 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",
|
| - "renderer/distiller_native_javascript.h",
|
| - "renderer/distiller_page_notifier_service_impl.cc",
|
| - "renderer/distiller_page_notifier_service_impl.h",
|
| - ]
|
| -
|
| - public_deps = [
|
| - "//components/dom_distiller/core/proto",
|
| - ]
|
| - deps = [
|
| - ":content_common",
|
| - ":mojo_bindings",
|
| - "//base",
|
| - "//content/public/common",
|
| - "//content/public/renderer",
|
| - "//gin",
|
| - "//mojo/environment:chromium",
|
| - "//mojo/public/cpp/bindings",
|
| - "//skia",
|
| - "//third_party/WebKit/public:blink_headers",
|
| - "//v8",
|
| - ]
|
| -}
|
| -
|
| -if (is_android) {
|
| - import("//build/config/android/rules.gni")
|
| -
|
| - generate_jni("jni_headers") {
|
| - sources = [
|
| - "../android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java",
|
| - ]
|
| - jni_package = "dom_distiller_content"
|
| - }
|
| -}
|
| -
|
| -source_set("unit_tests") {
|
| - testonly = true
|
| - sources = [
|
| - "browser/dom_distiller_viewer_source_unittest.cc",
|
| - "browser/web_contents_main_frame_observer_unittest.cc",
|
| - ]
|
| - deps = [
|
| - ":content_browser",
|
| - "//content/test:test_support",
|
| - "//testing/gtest",
|
| - ]
|
| -}
|
|
|