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