Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//testing/test.gni") | |
| 6 | |
| 7 component("display_compositor") { | |
| 8 sources = [ | |
| 9 "buffer_queue.cc", | |
| 10 "buffer_queue.h", | |
| 11 "display_compositor_export.h", | |
| 12 "gl_helper.cc", | |
| 13 "gl_helper.h", | |
| 14 "gl_helper_readback_support.cc", | |
| 15 "gl_helper_readback_support.h", | |
| 16 "gl_helper_scaling.cc", | |
| 17 "gl_helper_scaling.h", | |
| 18 ] | |
| 19 | |
| 20 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
| 21 | |
| 22 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ] | |
| 23 | |
| 24 deps = [ | |
| 25 "//base", | |
| 26 "//cc", | |
| 27 "//gpu/command_buffer/client", | |
| 28 "//gpu/command_buffer/client:gles2_interface", | |
| 29 "//gpu/command_buffer/common", | |
| 30 "//skia", | |
| 31 "//ui/gfx", | |
| 32 ] | |
| 33 } | |
| 34 | |
| 35 test("display_compositor_unittests") { | |
| 36 sources = [ | |
| 37 "buffer_queue_unittest.cc", | |
| 38 "display_compositor_test_suite.cc", | |
| 39 "display_compositor_test_suite.h", | |
| 40 "gl_helper_benchmark.cc", | |
|
piman
2016/04/20 20:07:22
Have you checked how long this runs for? It's not
Fady Samuel
2016/04/20 21:41:11
Looks like 30s. Made it a separate binary: display
| |
| 41 "gl_helper_unittest.cc", | |
| 42 "run_all_unittests.cc", | |
| 43 "yuv_readback_unittest.cc", | |
| 44 ] | |
| 45 | |
| 46 configs += [ "//third_party/khronos:khronos_headers" ] | |
| 47 | |
| 48 deps = [ | |
| 49 ":display_compositor", | |
| 50 "//base", | |
| 51 "//base/test:test_support", | |
| 52 "//cc:test_support", | |
| 53 "//gpu/command_buffer/client", | |
| 54 "//gpu/command_buffer/client:gl_in_process_context", | |
| 55 "//gpu/command_buffer/client:gles2_implementation", | |
| 56 "//media", | |
| 57 "//skia", | |
| 58 "//testing/gmock", | |
| 59 "//testing/gtest", | |
| 60 "//ui/gl:test_support", | |
| 61 ] | |
| 62 | |
| 63 data_deps = [ | |
| 64 "//third_party/mesa:osmesa", | |
| 65 ] | |
| 66 } | |
| OLD | NEW |