OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this |
6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either |
7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if |
8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this |
9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. |
10 | 10 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 } | 358 } |
359 | 359 |
360 if (use_aura) { | 360 if (use_aura) { |
361 deps += [ | 361 deps += [ |
362 "//ui/aura:aura_unittests", | 362 "//ui/aura:aura_unittests", |
363 "//ui/aura:demo", | 363 "//ui/aura:demo", |
364 "//ui/wm:wm_unittests", | 364 "//ui/wm:wm_unittests", |
365 ] | 365 ] |
366 } | 366 } |
367 | 367 |
368 if (is_linux && !is_chromeos && !is_chromecast && !use_ozone) { | |
369 # TODO(thomasanderson): Remove this once we build using | |
370 # GTK3 by default. (crbug.com/132847, crbug.com/79722) | |
371 deps += [ "//chrome/browser/ui/libgtkui:libgtk3ui" ] | |
372 } | |
373 | |
374 if (use_ozone) { | 368 if (use_ozone) { |
375 deps += [ | 369 deps += [ |
376 "//ui/ozone", | 370 "//ui/ozone", |
377 "//ui/ozone:ozone_unittests", | 371 "//ui/ozone:ozone_unittests", |
378 "//ui/ozone/gl:ozone_gl_unittests", | 372 "//ui/ozone/gl:ozone_gl_unittests", |
379 ] | 373 ] |
380 } | 374 } |
381 | 375 |
382 if (use_x11 || ozone_platform_x11) { | 376 if (use_x11 || ozone_platform_x11) { |
383 deps += [ "//tools/xdisplaycheck" ] | 377 deps += [ "//tools/xdisplaycheck" ] |
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 assert(target_name != "") # Mark as used. | 1077 assert(target_name != "") # Mark as used. |
1084 sources = invoker.actual_sources | 1078 sources = invoker.actual_sources |
1085 assert( | 1079 assert( |
1086 sources == invoker.actual_sources, | 1080 sources == invoker.actual_sources, |
1087 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1081 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1088 } | 1082 } |
1089 | 1083 |
1090 assert_valid_out_dir("_unused") { | 1084 assert_valid_out_dir("_unused") { |
1091 actual_sources = [ "$root_build_dir/foo" ] | 1085 actual_sources = [ "$root_build_dir/foo" ] |
1092 } | 1086 } |
OLD | NEW |