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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 if (use_ash) { | 354 if (use_ash) { |
355 deps += [ | 355 deps += [ |
356 "//ash:ash_content_unittests", | 356 "//ash:ash_content_unittests", |
357 "//ash:ash_shell_with_content", | 357 "//ash:ash_shell_with_content", |
358 "//ash:ash_unittests", | 358 "//ash:ash_unittests", |
359 ] | 359 ] |
360 } | 360 } |
361 | 361 |
362 if (use_aura) { | 362 if (use_aura) { |
363 deps += [ | 363 deps += [ |
364 "//ui/app_list:app_list_unittests", | |
365 "//ui/app_list/presenter:app_list_presenter_unittests", | |
366 "//ui/aura:aura_unittests", | 364 "//ui/aura:aura_unittests", |
367 "//ui/aura:demo", | 365 "//ui/aura:demo", |
368 "//ui/wm:wm_unittests", | 366 "//ui/wm:wm_unittests", |
369 ] | 367 ] |
370 } | 368 } |
371 | 369 |
372 if (is_linux && !is_chromeos && !is_chromecast && !use_ozone) { | 370 if (is_linux && !is_chromeos && !is_chromecast && !use_ozone) { |
373 # TODO(thomasanderson): Remove this once we build using | 371 # TODO(thomasanderson): Remove this once we build using |
374 # GTK3 by default. (crbug.com/132847, crbug.com/79722) | 372 # GTK3 by default. (crbug.com/132847, crbug.com/79722) |
375 deps += [ "//chrome/browser/ui/libgtkui:libgtk3ui" ] | 373 deps += [ "//chrome/browser/ui/libgtkui:libgtk3ui" ] |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 "//breakpad:generate_test_dump", | 474 "//breakpad:generate_test_dump", |
477 "//breakpad:minidump-2-core", | 475 "//breakpad:minidump-2-core", |
478 ] | 476 ] |
479 } | 477 } |
480 | 478 |
481 if (is_chromeos) { | 479 if (is_chromeos) { |
482 deps += [ | 480 deps += [ |
483 "//chromeos:chromeos_unittests", | 481 "//chromeos:chromeos_unittests", |
484 "//chromeos/components:chromeos_components_unittests", | 482 "//chromeos/components:chromeos_components_unittests", |
485 "//components/session_manager/core", | 483 "//components/session_manager/core", |
| 484 "//ui/app_list:app_list_unittests", |
| 485 "//ui/app_list/presenter:app_list_presenter_unittests", |
486 "//ui/arc:ui_arc_unittests", | 486 "//ui/arc:ui_arc_unittests", |
487 "//ui/chromeos:ui_chromeos_unittests", | 487 "//ui/chromeos:ui_chromeos_unittests", |
488 ] | 488 ] |
489 } | 489 } |
490 | 490 |
491 if (is_chromeos || is_mac || is_win) { | 491 if (is_chromeos || is_mac || is_win) { |
492 deps += [ | 492 deps += [ |
493 "//rlz:rlz_id", | 493 "//rlz:rlz_id", |
494 "//rlz:rlz_lib", | 494 "//rlz:rlz_lib", |
495 "//rlz:rlz_unittests", | 495 "//rlz:rlz_unittests", |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 assert(target_name != "") # Mark as used. | 1100 assert(target_name != "") # Mark as used. |
1101 sources = invoker.actual_sources | 1101 sources = invoker.actual_sources |
1102 assert( | 1102 assert( |
1103 sources == invoker.actual_sources, | 1103 sources == invoker.actual_sources, |
1104 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1104 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1105 } | 1105 } |
1106 | 1106 |
1107 assert_valid_out_dir("_unused") { | 1107 assert_valid_out_dir("_unused") { |
1108 actual_sources = [ "$root_build_dir/foo" ] | 1108 actual_sources = [ "$root_build_dir/foo" ] |
1109 } | 1109 } |
OLD | NEW |