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 "closure_animation_observer.cc", | 9 "closure_animation_observer.cc", |
10 "closure_animation_observer.h", | 10 "closure_animation_observer.h", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 source_set("test_support") { | 81 source_set("test_support") { |
82 testonly = true | 82 testonly = true |
83 sources = [ | 83 sources = [ |
84 "test/context_factories_for_test.cc", | 84 "test/context_factories_for_test.cc", |
85 "test/context_factories_for_test.h", | 85 "test/context_factories_for_test.h", |
86 "test/draw_waiter_for_test.cc", | 86 "test/draw_waiter_for_test.cc", |
87 "test/draw_waiter_for_test.h", | 87 "test/draw_waiter_for_test.h", |
88 "test/in_process_context_factory.cc", | 88 "test/in_process_context_factory.cc", |
89 "test/in_process_context_factory.h", | 89 "test/in_process_context_factory.h", |
| 90 "test/in_process_context_provider.cc", |
| 91 "test/in_process_context_provider.h", |
90 "test/layer_animator_test_controller.cc", | 92 "test/layer_animator_test_controller.cc", |
91 "test/layer_animator_test_controller.h", | 93 "test/layer_animator_test_controller.h", |
92 "test/test_compositor_host.h", | 94 "test/test_compositor_host.h", |
93 "test/test_compositor_host_mac.mm", | 95 "test/test_compositor_host_mac.mm", |
94 "test/test_compositor_host_win.cc", | 96 "test/test_compositor_host_win.cc", |
95 "test/test_layer_animation_delegate.cc", | 97 "test/test_layer_animation_delegate.cc", |
96 "test/test_layer_animation_delegate.h", | 98 "test/test_layer_animation_delegate.h", |
97 "test/test_layer_animation_observer.cc", | 99 "test/test_layer_animation_observer.cc", |
98 "test/test_layer_animation_observer.h", | 100 "test/test_layer_animation_observer.h", |
99 "test/test_layers.cc", | 101 "test/test_layers.cc", |
100 "test/test_layers.h", | 102 "test/test_layers.h", |
101 "test/test_suite.cc", | 103 "test/test_suite.cc", |
102 "test/test_suite.h", | 104 "test/test_suite.h", |
103 "test/test_utils.cc", | 105 "test/test_utils.cc", |
104 "test/test_utils.h", | 106 "test/test_utils.h", |
105 ] | 107 ] |
106 | 108 |
107 public_deps = [ | 109 public_deps = [ |
108 ":compositor", | 110 ":compositor", |
109 ] | 111 ] |
110 deps = [ | 112 deps = [ |
111 "//base/test:test_support", | 113 "//base/test:test_support", |
112 "//cc", | 114 "//cc", |
113 "//cc/surfaces", | 115 "//cc/surfaces", |
114 "//cc:test_support", | 116 "//cc:test_support", |
115 "//gpu/blink", | |
116 "//skia", | 117 "//skia", |
117 "//testing/gtest", | 118 "//testing/gtest", |
118 "//third_party/WebKit/public:blink_minimal", | 119 "//third_party/WebKit/public:blink_minimal", |
119 "//ui/base", | 120 "//ui/base", |
120 "//ui/gfx", | 121 "//ui/gfx", |
121 "//ui/gfx/geometry", | 122 "//ui/gfx/geometry", |
122 "//ui/gl", | 123 "//ui/gl", |
123 "//webkit/common/gpu", | |
124 ] | 124 ] |
125 | 125 |
126 if (use_x11) { | 126 if (use_x11) { |
127 configs += [ "//build/config/linux:x11" ] | 127 configs += [ "//build/config/linux:x11" ] |
128 deps += [ "//ui/gfx/x" ] | 128 deps += [ "//ui/gfx/x" ] |
129 } | 129 } |
130 | 130 |
131 if (use_ozone) { | 131 if (use_ozone) { |
132 sources += [ "test/test_compositor_host_ozone.cc" ] | 132 sources += [ "test/test_compositor_host_ozone.cc" ] |
133 } else if (use_x11) { | 133 } else if (use_x11) { |
(...skipping 26 matching lines...) Expand all Loading... |
160 # "//ui/gfx", | 160 # "//ui/gfx", |
161 # "//ui/gfx/geometry", | 161 # "//ui/gfx/geometry", |
162 # "//ui/gl", | 162 # "//ui/gl", |
163 # "//ui/resources", | 163 # "//ui/resources", |
164 # ] | 164 # ] |
165 # | 165 # |
166 # if (is_linux) { | 166 # if (is_linux) { |
167 # deps += [ "//third_party/mesa:osmesa" ] | 167 # deps += [ "//third_party/mesa:osmesa" ] |
168 # } | 168 # } |
169 #} | 169 #} |
OLD | NEW |