| 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 | 6 |
| 7 component("compositor") { | 7 component("compositor") { |
| 8 sources = [ | 8 sources = [ |
| 9 "compositor.cc", | 9 "compositor.cc", |
| 10 "compositor.h", | 10 "compositor.h", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 "test/context_factories_for_test.cc", | 77 "test/context_factories_for_test.cc", |
| 78 "test/context_factories_for_test.h", | 78 "test/context_factories_for_test.h", |
| 79 "test/draw_waiter_for_test.cc", | 79 "test/draw_waiter_for_test.cc", |
| 80 "test/draw_waiter_for_test.h", | 80 "test/draw_waiter_for_test.h", |
| 81 "test/in_process_context_factory.cc", | 81 "test/in_process_context_factory.cc", |
| 82 "test/in_process_context_factory.h", | 82 "test/in_process_context_factory.h", |
| 83 "test/layer_animator_test_controller.cc", | 83 "test/layer_animator_test_controller.cc", |
| 84 "test/layer_animator_test_controller.h", | 84 "test/layer_animator_test_controller.h", |
| 85 "test/test_compositor_host.h", | 85 "test/test_compositor_host.h", |
| 86 "test/test_compositor_host_mac.mm", | 86 "test/test_compositor_host_mac.mm", |
| 87 "test/test_compositor_host_ozone.cc", | |
| 88 "test/test_compositor_host_win.cc", | 87 "test/test_compositor_host_win.cc", |
| 89 "test/test_compositor_host_x11.cc", | |
| 90 "test/test_layer_animation_delegate.cc", | 88 "test/test_layer_animation_delegate.cc", |
| 91 "test/test_layer_animation_delegate.h", | 89 "test/test_layer_animation_delegate.h", |
| 92 "test/test_layer_animation_observer.cc", | 90 "test/test_layer_animation_observer.cc", |
| 93 "test/test_layer_animation_observer.h", | 91 "test/test_layer_animation_observer.h", |
| 94 "test/test_layers.cc", | 92 "test/test_layers.cc", |
| 95 "test/test_layers.h", | 93 "test/test_layers.h", |
| 96 "test/test_suite.cc", | 94 "test/test_suite.cc", |
| 97 "test/test_suite.h", | 95 "test/test_suite.h", |
| 98 "test/test_utils.cc", | 96 "test/test_utils.cc", |
| 99 "test/test_utils.h", | 97 "test/test_utils.h", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 111 "//ui/gfx", | 109 "//ui/gfx", |
| 112 "//ui/gfx/geometry", | 110 "//ui/gfx/geometry", |
| 113 "//ui/gl", | 111 "//ui/gl", |
| 114 "//webkit/common/gpu", | 112 "//webkit/common/gpu", |
| 115 ] | 113 ] |
| 116 | 114 |
| 117 if (use_x11) { | 115 if (use_x11) { |
| 118 configs += [ "//build/config/linux:x11" ] | 116 configs += [ "//build/config/linux:x11" ] |
| 119 deps += [ "//ui/gfx/x" ] | 117 deps += [ "//ui/gfx/x" ] |
| 120 } | 118 } |
| 119 |
| 120 if (use_ozone) { |
| 121 sources += [ "test/test_compositor_host_ozone.cc" ] |
| 122 } else if (use_x11) { |
| 123 sources += [ "test/test_compositor_host_x11.cc" ] |
| 124 } |
| 121 } | 125 } |
| 122 | 126 |
| 123 # TODO(GYP) enable this when all dependencies are complete and it links. | 127 # TODO(GYP) enable this when all dependencies are complete and it links. |
| 124 #test("compositor_unittests") { | 128 #test("compositor_unittests") { |
| 125 # sources = [ | 129 # sources = [ |
| 126 # "layer_animation_element_unittest.cc", | 130 # "layer_animation_element_unittest.cc", |
| 127 # "layer_animation_sequence_unittest.cc", | 131 # "layer_animation_sequence_unittest.cc", |
| 128 # "layer_animator_unittest.cc", | 132 # "layer_animator_unittest.cc", |
| 129 # "layer_owner_unittest.cc", | 133 # "layer_owner_unittest.cc", |
| 130 # "layer_unittest.cc", | 134 # "layer_unittest.cc", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 146 # "//ui/gfx", | 150 # "//ui/gfx", |
| 147 # "//ui/gfx/geometry", | 151 # "//ui/gfx/geometry", |
| 148 # "//ui/gl", | 152 # "//ui/gl", |
| 149 # "//ui/resources", | 153 # "//ui/resources", |
| 150 # ] | 154 # ] |
| 151 # | 155 # |
| 152 # if (is_linux) { | 156 # if (is_linux) { |
| 153 # #deps += [ "//third_party/mesa:osmesa" ] # TODO(GYP) | 157 # #deps += [ "//third_party/mesa:osmesa" ] # TODO(GYP) |
| 154 # } | 158 # } |
| 155 #} | 159 #} |
| OLD | NEW |