mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
# Copyright 2015 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)
|
|
|
|
static_library("browser") {
|
|
sources = [
|
|
"distillability_driver.cc",
|
|
"distillability_driver.h",
|
|
"distillable_page_utils.cc",
|
|
"distillable_page_utils.h",
|
|
"distiller_javascript_service_impl.cc",
|
|
"distiller_javascript_service_impl.h",
|
|
"distiller_javascript_utils.cc",
|
|
"distiller_javascript_utils.h",
|
|
"distiller_page_web_contents.cc",
|
|
"distiller_page_web_contents.h",
|
|
"distiller_ui_handle.h",
|
|
"dom_distiller_viewer_source.cc",
|
|
"dom_distiller_viewer_source.h",
|
|
"web_contents_main_frame_observer.cc",
|
|
"web_contents_main_frame_observer.h",
|
|
]
|
|
|
|
public_deps = [
|
|
"//components/dom_distiller/core",
|
|
"//content/public/browser",
|
|
]
|
|
deps = [
|
|
"//base",
|
|
"//components/dom_distiller/content/common:mojo_bindings",
|
|
"//components/resources",
|
|
"//components/strings",
|
|
"//components/sync",
|
|
"//content/public/browser",
|
|
"//content/public/common",
|
|
"//mojo/public/cpp/bindings",
|
|
"//net",
|
|
"//services/service_manager/public/cpp",
|
|
"//skia",
|
|
"//third_party/blink/public:blink_headers",
|
|
"//ui/base",
|
|
"//ui/display",
|
|
"//ui/gfx",
|
|
"//url",
|
|
]
|
|
|
|
if (is_android) {
|
|
sources += [ "distillable_page_utils_android.cc" ]
|
|
deps += [ "android:jni_headers" ]
|
|
}
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"dom_distiller_viewer_source_unittest.cc",
|
|
"web_contents_main_frame_observer_unittest.cc",
|
|
]
|
|
deps = [
|
|
":browser",
|
|
"//content/test:test_support",
|
|
"//testing/gtest",
|
|
]
|
|
}
|