| 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") |
| 6 | 7 |
| 7 source_set("surfaces") { | 8 source_set("surfaces") { |
| 8 sources = [ | 9 sources = [ |
| 9 "direct_output_surface.cc", | 10 "direct_output_surface.cc", |
| 10 "direct_output_surface.h", | 11 "direct_output_surface.h", |
| 11 "display_compositor.cc", | 12 "display_compositor.cc", |
| 12 "display_compositor.h", | 13 "display_compositor.h", |
| 13 "surfaces_context_provider.cc", | 14 "surfaces_context_provider.cc", |
| 14 "surfaces_context_provider.h", | 15 "surfaces_context_provider.h", |
| 15 "surfaces_context_provider_delegate.h", | 16 "surfaces_context_provider_delegate.h", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 38 ] | 39 ] |
| 39 | 40 |
| 40 if (use_ozone) { | 41 if (use_ozone) { |
| 41 sources += [ | 42 sources += [ |
| 42 "direct_output_surface_ozone.cc", | 43 "direct_output_surface_ozone.cc", |
| 43 "direct_output_surface_ozone.h", | 44 "direct_output_surface_ozone.h", |
| 44 ] | 45 ] |
| 45 deps += [ "//gpu/command_buffer/common" ] | 46 deps += [ "//gpu/command_buffer/common" ] |
| 46 } | 47 } |
| 47 } | 48 } |
| 49 |
| 50 test("mus_surfaces_unittests") { |
| 51 sources = [ |
| 52 "display_compositor_unittest.cc", |
| 53 ] |
| 54 |
| 55 deps = [ |
| 56 ":surfaces", |
| 57 "//base", |
| 58 "//base/test:test_support", |
| 59 "//cc:cc", |
| 60 "//services/service_manager/public/cpp/test:run_all_service_tests", |
| 61 "//testing/gtest", |
| 62 ] |
| 63 } |
| OLD | NEW |