| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 "//ui/gl", | 203 "//ui/gl", |
| 204 ] | 204 ] |
| 205 | 205 |
| 206 libs = [] | 206 libs = [] |
| 207 | 207 |
| 208 if (is_android) { | 208 if (is_android) { |
| 209 libs += [ "android" ] | 209 libs += [ "android" ] |
| 210 deps += [ "//ui/android:ui_java" ] | 210 deps += [ "//ui/android:ui_java" ] |
| 211 } else if (is_mac) { | 211 } else if (is_mac) { |
| 212 libs += [ "IOSurface.framework" ] | 212 libs += [ "IOSurface.framework" ] |
| 213 } else if (is_win) { |
| 214 deps += [ |
| 215 "//ui/platform_window", |
| 216 "//ui/platform_window:platform_impls", |
| 217 ] |
| 213 } | 218 } |
| 214 } | 219 } |
| 215 | 220 |
| 216 test("gpu_unittests") { | 221 test("gpu_unittests") { |
| 217 sources = [ | 222 sources = [ |
| 218 "command_buffer/client/buffer_tracker_unittest.cc", | 223 "command_buffer/client/buffer_tracker_unittest.cc", |
| 219 "command_buffer/client/client_test_helper.cc", | 224 "command_buffer/client/client_test_helper.cc", |
| 220 "command_buffer/client/client_test_helper.h", | 225 "command_buffer/client/client_test_helper.h", |
| 221 "command_buffer/client/cmd_buffer_helper_test.cc", | 226 "command_buffer/client/cmd_buffer_helper_test.cc", |
| 222 "command_buffer/client/fenced_allocator_test.cc", | 227 "command_buffer/client/fenced_allocator_test.cc", |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 "//base/third_party/dynamic_annotations", | 458 "//base/third_party/dynamic_annotations", |
| 454 "//gpu/command_buffer/common:gles2_utils", | 459 "//gpu/command_buffer/common:gles2_utils", |
| 455 "//ui/gfx/geometry", | 460 "//ui/gfx/geometry", |
| 456 "//ui/gl", | 461 "//ui/gl", |
| 457 "//ui/gl:test_support", | 462 "//ui/gl:test_support", |
| 458 ] | 463 ] |
| 459 | 464 |
| 460 libfuzzer_options = [ "max_len=16384" ] | 465 libfuzzer_options = [ "max_len=16384" ] |
| 461 } | 466 } |
| 462 } | 467 } |
| OLD | NEW |