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

Side by Side Diff: components/dom_distiller/content/browser/BUILD.gn

Issue 1487433002: Add more components to "gn check", work on dom_distiller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 assert(!is_ios)
6
7 # GYP version: components/dom_distiller.gypi:dom_distiller_content_browser
8 static_library("browser") {
9 sources = [
10 "distillability_driver.cc",
11 "distillability_driver.h",
12 "distillable_page_utils.cc",
13 "distillable_page_utils.h",
14 "distiller_javascript_service_impl.cc",
15 "distiller_javascript_service_impl.h",
16 "distiller_javascript_utils.cc",
17 "distiller_javascript_utils.h",
18 "distiller_page_web_contents.cc",
19 "distiller_page_web_contents.h",
20 "distiller_ui_handle.h",
21 "dom_distiller_viewer_source.cc",
22 "dom_distiller_viewer_source.h",
23 "web_contents_main_frame_observer.cc",
24 "web_contents_main_frame_observer.h",
25 ]
26
27 public_deps = [
28 "//components/dom_distiller/core",
29 "//content/public/browser",
30 ]
31 deps = [
32 "//base",
33 "//components/dom_distiller/content/common",
34 "//components/dom_distiller/content/common:mojo_bindings",
35 "//components/resources",
36 "//components/strings",
37 "//content/public/browser",
38 "//content/public/common",
39 "//mojo/environment:chromium",
40 "//mojo/public/cpp/bindings",
41 "//net",
42 "//skia",
43 "//sync",
44 "//third_party/WebKit/public:blink_headers",
45 "//ui/base",
46 "//ui/gfx",
47 "//url",
48 ]
49
50 if (is_android) {
51 sources += [
52 "//components/dom_distiller/android/component_jni_registrar.cc",
53 "//components/dom_distiller/android/component_jni_registrar.h",
54 "distillable_page_utils_android.cc",
55 "distillable_page_utils_android.h",
56 ]
57 deps += [ "//components/dom_distiller/android:jni_headers" ]
58 }
59 }
60
61 source_set("unit_tests") {
62 testonly = true
63 sources = [
64 "dom_distiller_viewer_source_unittest.cc",
65 "web_contents_main_frame_observer_unittest.cc",
66 ]
67 deps = [
68 ":browser",
69 "//content/test:test_support",
70 "//testing/gtest",
71 ]
72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698