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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 } | 9 } |
10 | 10 |
11 static_library("test_runner") { | 11 component("test_runner") { |
12 testonly = true | 12 testonly = true |
| 13 |
| 14 defines = [ "TEST_RUNNER_IMPLEMENTATION" ] |
| 15 |
13 sources = [ | 16 sources = [ |
14 "accessibility_controller.cc", | 17 "accessibility_controller.cc", |
15 "accessibility_controller.h", | 18 "accessibility_controller.h", |
16 "app_banner_client.cc", | 19 "app_banner_client.cc", |
17 "app_banner_client.h", | 20 "app_banner_client.h", |
18 "event_sender.cc", | 21 "event_sender.cc", |
19 "event_sender.h", | 22 "event_sender.h", |
20 "gamepad_controller.cc", | 23 "gamepad_controller.cc", |
21 "gamepad_controller.h", | 24 "gamepad_controller.h", |
22 "mock_color_chooser.cc", | 25 "mock_color_chooser.cc", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 "test_common.cc", | 57 "test_common.cc", |
55 "test_common.h", | 58 "test_common.h", |
56 "test_interfaces.cc", | 59 "test_interfaces.cc", |
57 "test_interfaces.h", | 60 "test_interfaces.h", |
58 "test_plugin.cc", | 61 "test_plugin.cc", |
59 "test_plugin.h", | 62 "test_plugin.h", |
60 "test_preferences.cc", | 63 "test_preferences.cc", |
61 "test_preferences.h", | 64 "test_preferences.h", |
62 "test_runner.cc", | 65 "test_runner.cc", |
63 "test_runner.h", | 66 "test_runner.h", |
| 67 "test_runner_export.h", |
64 "text_input_controller.cc", | 68 "text_input_controller.cc", |
65 "text_input_controller.h", | 69 "text_input_controller.h", |
66 "web_ax_object_proxy.cc", | 70 "web_ax_object_proxy.cc", |
67 "web_ax_object_proxy.h", | 71 "web_ax_object_proxy.h", |
68 "web_content_settings.cc", | 72 "web_content_settings.cc", |
69 "web_content_settings.h", | 73 "web_content_settings.h", |
70 "web_frame_test_proxy.h", | 74 "web_frame_test_proxy.h", |
71 "web_task.cc", | 75 "web_task.cc", |
72 "web_task.h", | 76 "web_task.h", |
73 "web_test_delegate.h", | 77 "web_test_delegate.h", |
74 "web_test_interfaces.cc", | 78 "web_test_interfaces.cc", |
75 "web_test_interfaces.h", | 79 "web_test_interfaces.h", |
76 "web_test_proxy.cc", | 80 "web_test_proxy.cc", |
77 "web_test_proxy.h", | 81 "web_test_proxy.h", |
78 "web_test_runner.h", | 82 "web_test_runner.h", |
79 ] | 83 ] |
80 | 84 |
81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 85 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
82 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 86 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
83 | 87 |
84 deps = [ | 88 deps = [ |
85 ":resources", | 89 ":resources", |
86 "//base", | 90 "//base", |
87 "//base:base_static", | |
88 "//cc", | 91 "//cc", |
89 "//gin", | 92 "//gin", |
| 93 "//gpu", |
90 "//skia", | 94 "//skia", |
91 "//third_party/WebKit/public:blink", | 95 "//third_party/WebKit/public:blink", |
| 96 "//ui/events:dom_keycode_converter", |
92 "//ui/events:events_base", | 97 "//ui/events:events_base", |
93 "//ui/gfx", | 98 "//ui/gfx", |
94 "//ui/gfx/geometry", | 99 "//ui/gfx/geometry", |
| 100 "//url", |
95 "//v8", | 101 "//v8", |
96 | 102 |
97 #'copy_test_netscape_plugin', TODO(GYP) | 103 #'copy_test_netscape_plugin', TODO(GYP) |
98 ] | 104 ] |
99 } | 105 } |
100 | 106 |
101 # Font copies. | 107 # Font copies. |
102 if (!is_mac) { | 108 if (!is_mac) { |
103 copy("copy_ahem") { | 109 copy("copy_ahem") { |
104 visibility = [ ":*" ] | 110 visibility = [ ":*" ] |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 sources = [ | 173 sources = [ |
168 "helper/layout_test_helper_mac.mm", | 174 "helper/layout_test_helper_mac.mm", |
169 "helper/layout_test_helper_win.cc", | 175 "helper/layout_test_helper_win.cc", |
170 ] | 176 ] |
171 | 177 |
172 if (is_mac) { | 178 if (is_mac) { |
173 libs = [ "AppKit.framework" ] | 179 libs = [ "AppKit.framework" ] |
174 } | 180 } |
175 } | 181 } |
176 } | 182 } |
OLD | NEW |