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

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

Issue 1662053002: Move gn _run target generation into test(). (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +kbr changes Created 4 years, 10 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
« no previous file with comments | « ui/app_list/BUILD.gn ('k') | ui/base/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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("aura") { 8 component("aura") {
9 sources = [ 9 sources = [
10 "../wm/public/activation_change_observer.cc", 10 "../wm/public/activation_change_observer.cc",
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 "//ui/gfx", 272 "//ui/gfx",
273 "//ui/gfx/geometry", 273 "//ui/gfx/geometry",
274 "//ui/gl", 274 "//ui/gl",
275 ] 275 ]
276 276
277 if (use_x11) { 277 if (use_x11) {
278 deps += [ "//ui/gfx/x" ] 278 deps += [ "//ui/gfx/x" ]
279 } 279 }
280 } 280 }
281 281
282 # TODO(GYP): Delete this after we've converted everything to GN.
283 # The _run targets exist only for compatibility w/ GYP.
284 group("aura_unittests_run") {
285 testonly = true
286 deps = [
287 ":aura_unittests",
288 ]
289 }
290
291 test("aura_unittests") { 282 test("aura_unittests") {
292 sources = [ 283 sources = [
293 "gestures/gesture_recognizer_unittest.cc", 284 "gestures/gesture_recognizer_unittest.cc",
294 "test/run_all_unittests.cc", 285 "test/run_all_unittests.cc",
295 "window_event_dispatcher_unittest.cc", 286 "window_event_dispatcher_unittest.cc",
296 "window_targeter_unittest.cc", 287 "window_targeter_unittest.cc",
297 "window_unittest.cc", 288 "window_unittest.cc",
298 ] 289 ]
299 290
300 deps = [ 291 deps = [
(...skipping 11 matching lines...) Expand all
312 ] 303 ]
313 304
314 if (is_linux) { 305 if (is_linux) {
315 deps += [ "//third_party/mesa" ] 306 deps += [ "//third_party/mesa" ]
316 } 307 }
317 308
318 data_deps = [ 309 data_deps = [
319 "//third_party/mesa:osmesa", 310 "//third_party/mesa:osmesa",
320 ] 311 ]
321 } 312 }
OLDNEW
« no previous file with comments | « ui/app_list/BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698