Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: ui/aura/BUILD.gn

Issue 431693002: Reland "ui/aura: Enable the build of demo, bench and unit..." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/events/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 } 199 }
200 200
201 if (use_x11) { 201 if (use_x11) {
202 sources += [ 202 sources += [
203 "test/ui_controls_factory_aurax11.cc", 203 "test/ui_controls_factory_aurax11.cc",
204 ] 204 ]
205 } 205 }
206 } 206 }
207 } 207 }
208 208
209 #TODO(GYP): Enable this when everything it depends links. 209 executable("demo") {
210 #executable("aura_demo") { 210 output_name = "aura_demo"
211 # sources = [ 211 sources = [
212 # "demo/demo_main.cc", 212 "demo/demo_main.cc",
213 # ] 213 ]
214 #
215 # deps = [
216 # ":aura",
217 # ":test_support",
218 # "//base",
219 # "//base:i18n",
220 # "//skia",
221 # "//third_party/icu",
222 # "//ui/base",
223 # "//ui/compositor",
224 # "//ui/compositor:test_support",
225 # "//ui/events",
226 # "//ui/gfx",
227 # "//ui/gfx/geometry",
228 # ]
229 #
230 # if (use_x11) {
231 # deps += [
232 # "//ui/gfx/x",
233 # ]
234 # }
235 #}
236 214
237 #TODO(GYP): Enable this when everything it depends links. 215 deps = [
238 #executable("aura_bench") { 216 ":aura",
239 # sources = [ 217 ":test_support",
240 # "bench/bench_main.cc", 218 "//base",
241 # ] 219 "//base:i18n",
242 # 220 "//skia",
243 # deps = [ 221 "//third_party/icu",
244 # ":aura", 222 "//ui/base",
245 # ":test_support", 223 "//ui/compositor",
246 # "//base", 224 "//ui/compositor:test_support",
247 # "//base:i18n", 225 "//ui/events",
248 # "//cc", 226 "//ui/gfx",
249 # "//skia", 227 "//ui/gfx/geometry",
250 # "//third_party/icu", 228 ]
251 # "//ui/base",
252 # "//ui/compositor",
253 # "//ui/compositor:test_support",
254 # "//ui/events",
255 # "//ui/gfx",
256 # "//ui/gfx/geometry",
257 # ]
258 #
259 # if (use_x11) {
260 # deps += [
261 # "//ui/gfx/x",
262 # ]
263 # }
264 #}
265 229
266 #TODO(GYP): Enable this when everything it depends links. 230 if (use_x11) {
267 #test("aura_unittests") { 231 deps += [
268 # sources = [ 232 "//ui/gfx/x",
269 # "gestures/gesture_recognizer_unittest.cc", 233 ]
270 # "test/run_all_unittests.cc", 234 }
271 # "window_event_dispatcher_unittest.cc", 235 }
272 # "window_targeter_unittest.cc", 236
273 # "window_unittest.cc", 237 executable("bench") {
274 # ] 238 output_name = "aura_bench"
275 # 239 sources = [
276 # deps = [ 240 "bench/bench_main.cc",
277 # ":aura", 241 ]
278 # ":test_support", 242
279 # "//base/test:test_support", 243 deps = [
280 # "//skia", 244 ":aura",
281 # "//testing/gtest", 245 ":test_support",
282 # "//ui/base", 246 "//base",
283 # "//ui/base:test_support", 247 "//base:i18n",
284 # "//ui/compositor", 248 "//cc",
285 # "//ui/compositor:test_support", 249 "//skia",
286 # "//ui/events", 250 "//third_party/icu",
287 # "//ui/events:events_base", 251 "//ui/base",
288 # "//ui/events:gesture_detection", 252 "//ui/compositor",
289 # "//ui/gfx", 253 "//ui/compositor:test_support",
290 # "//ui/gfx/geometry", 254 "//ui/events",
291 # "//ui/gl", 255 "//ui/gfx",
292 # ] 256 "//ui/gfx/geometry",
293 # 257 ]
294 # if (is_linux) { 258
295 # deps += [ 259 if (use_x11) {
296 # "<(DEPTH)/third_party/mesa/mesa.gyp:osmesa", 260 deps += [
297 # ] 261 "//ui/gfx/x",
298 # } 262 ]
299 # 263 }
300 # if (is_linux) { # && use_allocator != "none") { 264 }
301 # deps += [ 265
302 # # See http://crbug.com/162998#c4 for why this is needed. 266 test("unittests") {
303 # "//base/allocator", 267 output_name = "aura_unittests"
304 # ] 268 sources = [
305 # } 269 "gestures/gesture_recognizer_unittest.cc",
306 #} 270 "test/run_all_unittests.cc",
271 "window_event_dispatcher_unittest.cc",
272 "window_targeter_unittest.cc",
273 "window_unittest.cc",
274 ]
275
276 deps = [
277 ":aura",
278 ":test_support",
279 "//base/allocator",
280 "//base/test:test_support",
281 "//skia",
282 "//testing/gtest",
283 "//ui/base",
284 "//ui/base:test_support",
285 "//ui/compositor",
286 "//ui/compositor:test_support",
287 "//ui/events",
288 "//ui/events:events_base",
289 "//ui/events:gesture_detection",
290 "//ui/gfx",
291 "//ui/gfx/geometry",
292 "//ui/gl",
293 ]
294
295 if (is_linux) {
296 deps += [
297 "//third_party/mesa",
298 ]
299 }
300 }
OLDNEW
« no previous file with comments | « no previous file | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698