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("aura") { | 7 component("aura") { |
8 sources = [ | 8 sources = [ |
9 "client/aura_constants.cc", | 9 "client/aura_constants.cc", |
10 "client/aura_constants.h", | 10 "client/aura_constants.h", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 # TODO(GYP) enable when these targets exist. | 136 # TODO(GYP) enable when these targets exist. |
137 #deps += [ | 137 #deps += [ |
138 # "//ui/events/ozone", | 138 # "//ui/events/ozone", |
139 # "//ui/ozone", | 139 # "//ui/ozone", |
140 #] | 140 #] |
141 } | 141 } |
142 } | 142 } |
143 | 143 |
144 source_set("test_support") { | 144 source_set("test_support") { |
| 145 testonly = true |
145 sources = [ | 146 sources = [ |
146 "test/aura_test_base.cc", | 147 "test/aura_test_base.cc", |
147 "test/aura_test_base.h", | 148 "test/aura_test_base.h", |
148 "test/aura_test_helper.cc", | 149 "test/aura_test_helper.cc", |
149 "test/aura_test_helper.h", | 150 "test/aura_test_helper.h", |
150 "test/aura_test_utils.cc", | 151 "test/aura_test_utils.cc", |
151 "test/aura_test_utils.h", | 152 "test/aura_test_utils.h", |
152 "test/env_test_helper.h", | 153 "test/env_test_helper.h", |
153 "test/event_generator_delegate_aura.cc", | 154 "test/event_generator_delegate_aura.cc", |
154 "test/event_generator_delegate_aura.h", | 155 "test/event_generator_delegate_aura.h", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 if (use_x11) { | 202 if (use_x11) { |
202 sources += [ | 203 sources += [ |
203 "test/ui_controls_factory_aurax11.cc", | 204 "test/ui_controls_factory_aurax11.cc", |
204 ] | 205 ] |
205 } | 206 } |
206 } | 207 } |
207 } | 208 } |
208 | 209 |
209 executable("demo") { | 210 executable("demo") { |
210 output_name = "aura_demo" | 211 output_name = "aura_demo" |
| 212 testonly = true |
| 213 |
211 sources = [ | 214 sources = [ |
212 "demo/demo_main.cc", | 215 "demo/demo_main.cc", |
213 ] | 216 ] |
214 | 217 |
215 deps = [ | 218 deps = [ |
216 ":aura", | 219 ":aura", |
217 ":test_support", | 220 ":test_support", |
218 "//base", | 221 "//base", |
219 "//base:i18n", | 222 "//base:i18n", |
220 "//skia", | 223 "//skia", |
221 "//third_party/icu", | 224 "//third_party/icu", |
222 "//ui/base", | 225 "//ui/base", |
223 "//ui/compositor", | 226 "//ui/compositor", |
224 "//ui/compositor:test_support", | 227 "//ui/compositor:test_support", |
225 "//ui/events", | 228 "//ui/events", |
226 "//ui/gfx", | 229 "//ui/gfx", |
227 "//ui/gfx/geometry", | 230 "//ui/gfx/geometry", |
228 "//ui/gl", | 231 "//ui/gl", |
229 ] | 232 ] |
230 | 233 |
231 if (use_x11) { | 234 if (use_x11) { |
232 deps += [ | 235 deps += [ |
233 "//ui/gfx/x", | 236 "//ui/gfx/x", |
234 ] | 237 ] |
235 } | 238 } |
236 } | 239 } |
237 | 240 |
238 executable("bench") { | 241 executable("bench") { |
239 output_name = "aura_bench" | 242 output_name = "aura_bench" |
| 243 testonly = true |
| 244 |
240 sources = [ | 245 sources = [ |
241 "bench/bench_main.cc", | 246 "bench/bench_main.cc", |
242 ] | 247 ] |
243 | 248 |
244 deps = [ | 249 deps = [ |
245 ":aura", | 250 ":aura", |
246 ":test_support", | 251 ":test_support", |
247 "//base", | 252 "//base", |
248 "//base:i18n", | 253 "//base:i18n", |
249 "//cc", | 254 "//cc", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 "//ui/gfx/geometry", | 298 "//ui/gfx/geometry", |
294 "//ui/gl", | 299 "//ui/gl", |
295 ] | 300 ] |
296 | 301 |
297 if (is_linux) { | 302 if (is_linux) { |
298 deps += [ | 303 deps += [ |
299 "//third_party/mesa", | 304 "//third_party/mesa", |
300 ] | 305 ] |
301 } | 306 } |
302 } | 307 } |
OLD | NEW |