Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 component("display_compositor") { | 7 component("display_compositor") { |
| 8 sources = [ | 8 sources = [ |
| 9 "buffer_queue.cc", | 9 "buffer_queue.cc", |
| 10 "buffer_queue.h", | 10 "buffer_queue.h", |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 25 "//base", | 25 "//base", |
| 26 "//cc", | 26 "//cc", |
| 27 "//gpu/command_buffer/client", | 27 "//gpu/command_buffer/client", |
| 28 "//gpu/command_buffer/client:gles2_interface", | 28 "//gpu/command_buffer/client:gles2_interface", |
| 29 "//gpu/command_buffer/common", | 29 "//gpu/command_buffer/common", |
| 30 "//skia", | 30 "//skia", |
| 31 "//ui/gfx", | 31 "//ui/gfx", |
| 32 ] | 32 ] |
| 33 } | 33 } |
| 34 | 34 |
| 35 test("display_compositor_unittests") { | 35 source_set("unit_tests") { |
| 36 testonly = true | |
| 36 sources = [ | 37 sources = [ |
| 37 "buffer_queue_unittest.cc", | 38 "buffer_queue_unittest.cc", |
| 38 "display_compositor_test_suite.cc", | |
|
Fady Samuel
2016/05/03 18:03:44
Do we still need these files?
Peng
2016/05/03 18:10:36
They are still used by display_compositor_benchmar
| |
| 39 "display_compositor_test_suite.h", | |
| 40 "gl_helper_unittest.cc", | 39 "gl_helper_unittest.cc", |
| 41 "run_all_unittests.cc", | |
| 42 "yuv_readback_unittest.cc", | 40 "yuv_readback_unittest.cc", |
| 43 ] | 41 ] |
| 44 | 42 |
| 43 if (!use_aura && !is_mac) { | |
| 44 sources -= [ "buffer_queue_unittest.cc" ] | |
| 45 } | |
| 46 | |
| 45 configs += [ | 47 configs += [ |
| 46 "//build/config/compiler:no_size_t_to_int_warning", | 48 "//build/config/compiler:no_size_t_to_int_warning", |
| 47 "//third_party/khronos:khronos_headers", | 49 "//third_party/khronos:khronos_headers", |
| 48 ] | 50 ] |
| 49 | 51 |
| 50 deps = [ | 52 deps = [ |
| 51 ":display_compositor", | 53 ":display_compositor", |
| 52 "//base", | 54 "//base", |
| 53 "//base/test:test_support", | 55 "//base/test:test_support", |
| 54 "//cc:test_support", | 56 "//cc:test_support", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 92 "//skia", | 94 "//skia", |
| 93 "//testing/gmock", | 95 "//testing/gmock", |
| 94 "//testing/gtest", | 96 "//testing/gtest", |
| 95 "//ui/gl:test_support", | 97 "//ui/gl:test_support", |
| 96 ] | 98 ] |
| 97 | 99 |
| 98 data_deps = [ | 100 data_deps = [ |
| 99 "//third_party/mesa:osmesa", | 101 "//third_party/mesa:osmesa", |
| 100 ] | 102 ] |
| 101 } | 103 } |
| OLD | NEW |