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 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 "web_widget_test_client.cc", | 100 "web_widget_test_client.cc", |
101 "web_widget_test_client.h", | 101 "web_widget_test_client.h", |
102 "web_widget_test_proxy.cc", | 102 "web_widget_test_proxy.cc", |
103 "web_widget_test_proxy.h", | 103 "web_widget_test_proxy.h", |
104 ] | 104 ] |
105 | 105 |
106 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 106 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
107 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 107 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
108 | 108 |
109 deps = [ | 109 deps = [ |
110 ":resources", | |
111 "//base:base", | 110 "//base:base", |
112 "//base:i18n", | 111 "//base:i18n", |
113 "//cc", | 112 "//cc", |
114 "//cc/blink", | 113 "//cc/blink", |
115 "//gin", | 114 "//gin", |
116 "//gpu", | 115 "//gpu", |
117 "//gpu/command_buffer/client:gles2_interface", | 116 "//gpu/command_buffer/client:gles2_interface", |
118 "//media/midi:mojo_cpp_sources", | 117 "//media/midi:mojo_cpp_sources", |
119 "//net", | 118 "//net", |
120 "//skia", | 119 "//skia", |
121 "//third_party/WebKit/public:blink", | 120 "//third_party/WebKit/public:blink", |
122 "//ui/display", | 121 "//ui/display", |
123 "//ui/events:dom_keycode_converter", | 122 "//ui/events:dom_keycode_converter", |
124 "//ui/events:events_base", | 123 "//ui/events:events_base", |
125 "//ui/events/blink", | 124 "//ui/events/blink", |
126 "//ui/gfx", | 125 "//ui/gfx", |
127 "//ui/gfx:test_support", | 126 "//ui/gfx:test_support", |
128 "//ui/gfx/geometry", | 127 "//ui/gfx/geometry", |
129 "//url", | 128 "//url", |
130 "//v8", | 129 "//v8", |
131 ] | 130 ] |
132 | 131 |
| 132 data_deps = [ |
| 133 ":resources", |
| 134 ] |
| 135 |
133 if (is_mac) { | 136 if (is_mac) { |
134 libs = [ "AppKit.framework" ] | 137 libs = [ "AppKit.framework" ] |
135 } | 138 } |
136 } | 139 } |
137 | 140 |
138 # Font copies. | 141 # Font copies. |
139 if (!is_mac) { | 142 if (!is_mac) { |
140 copy("copy_ahem") { | 143 copy("copy_ahem") { |
141 visibility = [ ":*" ] | 144 visibility = [ ":*" ] |
142 sources = [ | 145 sources = [ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 "resources/fonts/ChromiumAATTest.ttf", | 182 "resources/fonts/ChromiumAATTest.ttf", |
180 ] | 183 ] |
181 | 184 |
182 outputs = [ | 185 outputs = [ |
183 "{{bundle_resources_dir}}/{{source_file_part}}", | 186 "{{bundle_resources_dir}}/{{source_file_part}}", |
184 ] | 187 ] |
185 } | 188 } |
186 } | 189 } |
187 | 190 |
188 group("resources") { | 191 group("resources") { |
189 deps = [] | 192 data_deps = [] |
190 | 193 |
191 if (is_mac) { | 194 if (is_mac) { |
192 deps += [ ":test_runner_bundle_data" ] | 195 data_deps += [ ":test_runner_bundle_data" ] |
193 } else { | 196 } else { |
194 deps += [ ":copy_ahem" ] | 197 data_deps += [ ":copy_ahem" ] |
195 } | 198 } |
196 | 199 |
197 if (use_x11) { | 200 if (use_x11) { |
198 deps += [ ":copy_x11_fonts" ] | 201 data_deps += [ ":copy_x11_fonts" ] |
199 } | 202 } |
200 if (is_android) { | 203 if (is_android) { |
201 deps += [ ":copy_android_fonts" ] | 204 data_deps += [ ":copy_android_fonts" ] |
202 } | 205 } |
203 } | 206 } |
204 | 207 |
205 if (is_win) { | 208 if (is_win) { |
206 executable("layout_test_helper") { | 209 executable("layout_test_helper") { |
207 sources = [ | 210 sources = [ |
208 "helper/layout_test_helper_win.cc", | 211 "helper/layout_test_helper_win.cc", |
209 ] | 212 ] |
210 | 213 |
211 deps = [ | 214 deps = [ |
212 "//build/config/sanitizers:deps", | 215 "//build/config/sanitizers:deps", |
213 "//build/win:default_exe_manifest", | 216 "//build/win:default_exe_manifest", |
214 ] | 217 ] |
215 } | 218 } |
216 } | 219 } |
OLD | NEW |