| 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 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 } | 651 } |
| 652 | 652 |
| 653 if (is_win || is_linux) { | 653 if (is_win || is_linux) { |
| 654 deps += [ | 654 deps += [ |
| 655 "//components/mus/demo", | 655 "//components/mus/demo", |
| 656 "//components/mus/ws:tests", | 656 "//components/mus/ws:tests", |
| 657 "//mash:all", | 657 "//mash:all", |
| 658 "//media/mojo/services:media_mojo_shell_unittests", | 658 "//media/mojo/services:media_mojo_shell_unittests", |
| 659 "//mojo", | 659 "//mojo", |
| 660 "//services/navigation", | 660 "//services/navigation", |
| 661 "//ui/views/mus:views_mus_interactive_ui_tests", | |
| 662 "//ui/views/mus:views_mus_unittests", | 661 "//ui/views/mus:views_mus_unittests", |
| 663 ] | 662 ] |
| 664 } | 663 } |
| 665 | 664 |
| 666 if (is_linux && !is_chromeos && !is_chromecast) { | 665 if (is_linux && !is_chromeos && !is_chromecast) { |
| 667 # TODO(GYP): Figure out if any of these should be in gn_all | 666 # TODO(GYP): Figure out if any of these should be in gn_all |
| 668 # and figure out how cross-platform they are | 667 # and figure out how cross-platform they are |
| 669 deps += [ | 668 deps += [ |
| 670 ":gn_mojo_targets", | 669 ":gn_mojo_targets", |
| 671 "//chrome/browser/resources:extension_resource_demo", | 670 "//chrome/browser/resources:extension_resource_demo", |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 assert(target_name != "") # Mark as used. | 957 assert(target_name != "") # Mark as used. |
| 959 sources = invoker.actual_sources | 958 sources = invoker.actual_sources |
| 960 assert( | 959 assert( |
| 961 sources == invoker.actual_sources, | 960 sources == invoker.actual_sources, |
| 962 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 961 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 963 } | 962 } |
| 964 | 963 |
| 965 assert_valid_out_dir("_unused") { | 964 assert_valid_out_dir("_unused") { |
| 966 actual_sources = [ "$root_build_dir/foo" ] | 965 actual_sources = [ "$root_build_dir/foo" ] |
| 967 } | 966 } |
| OLD | NEW |