OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 assert(!is_ios) | 5 assert(!is_ios) |
6 | 6 |
7 # GYP version: components/dom_distiller.gypi:dom_distiller_content_browser | 7 # GYP version: components/dom_distiller.gypi:dom_distiller_content_browser |
8 static_library("browser") { | 8 static_library("browser") { |
9 sources = [ | 9 sources = [ |
10 "distillability_driver.cc", | 10 "distillability_driver.cc", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "//skia", | 42 "//skia", |
43 "//third_party/WebKit/public:blink_headers", | 43 "//third_party/WebKit/public:blink_headers", |
44 "//ui/base", | 44 "//ui/base", |
45 "//ui/display", | 45 "//ui/display", |
46 "//ui/gfx", | 46 "//ui/gfx", |
47 "//url", | 47 "//url", |
48 ] | 48 ] |
49 | 49 |
50 if (is_android) { | 50 if (is_android) { |
51 sources += [ | 51 sources += [ |
52 "//components/dom_distiller/android/component_jni_registrar.cc", | 52 "android/content_jni_registrar.cc", |
53 "//components/dom_distiller/android/component_jni_registrar.h", | 53 "android/content_jni_registrar.h", |
54 "distillable_page_utils_android.cc", | 54 "distillable_page_utils_android.cc", |
55 "distillable_page_utils_android.h", | 55 "distillable_page_utils_android.h", |
56 ] | 56 ] |
57 deps += [ "//components/dom_distiller/android:jni_headers" ] | 57 deps += [ "android:jni_headers" ] |
58 } | 58 } |
59 } | 59 } |
60 | 60 |
61 source_set("unit_tests") { | 61 source_set("unit_tests") { |
62 testonly = true | 62 testonly = true |
63 sources = [ | 63 sources = [ |
64 "dom_distiller_viewer_source_unittest.cc", | 64 "dom_distiller_viewer_source_unittest.cc", |
65 "web_contents_main_frame_observer_unittest.cc", | 65 "web_contents_main_frame_observer_unittest.cc", |
66 ] | 66 ] |
67 deps = [ | 67 deps = [ |
68 ":browser", | 68 ":browser", |
69 "//content/test:test_support", | 69 "//content/test:test_support", |
70 "//testing/gtest", | 70 "//testing/gtest", |
71 ] | 71 ] |
72 } | 72 } |
OLD | NEW |