Chromium Code Reviews| Index: components/display_compositor/BUILD.gn |
| diff --git a/components/display_compositor/BUILD.gn b/components/display_compositor/BUILD.gn |
| index d9964b7ce5379f8cfc87b7722e114da946bd7005..00ecac91357e1ff1ac477d543d6189ab4e94fc6a 100644 |
| --- a/components/display_compositor/BUILD.gn |
| +++ b/components/display_compositor/BUILD.gn |
| @@ -32,16 +32,18 @@ component("display_compositor") { |
| ] |
| } |
| -test("display_compositor_unittests") { |
| +source_set("unit_tests") { |
| + testonly = true |
| sources = [ |
| "buffer_queue_unittest.cc", |
| - "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
|
| - "display_compositor_test_suite.h", |
| "gl_helper_unittest.cc", |
| - "run_all_unittests.cc", |
| "yuv_readback_unittest.cc", |
| ] |
| + if (!use_aura && !is_mac) { |
| + sources -= [ "buffer_queue_unittest.cc" ] |
| + } |
| + |
| configs += [ |
| "//build/config/compiler:no_size_t_to_int_warning", |
| "//third_party/khronos:khronos_headers", |