OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//testing/libfuzzer/fuzzer_test.gni") | 5 import("//testing/libfuzzer/fuzzer_test.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 | 8 |
9 config("gpu_implementation") { | 9 config("gpu_implementation") { |
10 defines = [ "GPU_IMPLEMENTATION" ] | 10 defines = [ "GPU_IMPLEMENTATION" ] |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 "//ui/gl", | 201 "//ui/gl", |
202 ] | 202 ] |
203 | 203 |
204 libs = [] | 204 libs = [] |
205 | 205 |
206 if (is_android) { | 206 if (is_android) { |
207 libs += [ "android" ] | 207 libs += [ "android" ] |
208 deps += [ "//ui/android:ui_java" ] | 208 deps += [ "//ui/android:ui_java" ] |
209 } else if (is_mac) { | 209 } else if (is_mac) { |
210 libs += [ "IOSurface.framework" ] | 210 libs += [ "IOSurface.framework" ] |
| 211 } else if (is_win) { |
| 212 deps += [ |
| 213 "//ui/platform_window", |
| 214 "//ui/platform_window:platform_impls", |
| 215 ] |
211 } | 216 } |
212 } | 217 } |
213 | 218 |
214 test("gpu_unittests") { | 219 test("gpu_unittests") { |
215 sources = [ | 220 sources = [ |
216 "command_buffer/client/buffer_tracker_unittest.cc", | 221 "command_buffer/client/buffer_tracker_unittest.cc", |
217 "command_buffer/client/client_test_helper.cc", | 222 "command_buffer/client/client_test_helper.cc", |
218 "command_buffer/client/client_test_helper.h", | 223 "command_buffer/client/client_test_helper.h", |
219 "command_buffer/client/cmd_buffer_helper_test.cc", | 224 "command_buffer/client/cmd_buffer_helper_test.cc", |
220 "command_buffer/client/fenced_allocator_test.cc", | 225 "command_buffer/client/fenced_allocator_test.cc", |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 "//base/third_party/dynamic_annotations", | 456 "//base/third_party/dynamic_annotations", |
452 "//gpu/command_buffer/common:gles2_utils", | 457 "//gpu/command_buffer/common:gles2_utils", |
453 "//ui/gfx/geometry", | 458 "//ui/gfx/geometry", |
454 "//ui/gl", | 459 "//ui/gl", |
455 "//ui/gl:test_support", | 460 "//ui/gl:test_support", |
456 ] | 461 ] |
457 | 462 |
458 libfuzzer_options = [ "max_len=16384" ] | 463 libfuzzer_options = [ "max_len=16384" ] |
459 } | 464 } |
460 } | 465 } |
OLD | NEW |