| 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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 } | 643 } |
| 644 | 644 |
| 645 if (!is_android && !is_ios && !is_chromeos) { | 645 if (!is_android && !is_ios && !is_chromeos) { |
| 646 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 646 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
| 647 } | 647 } |
| 648 | 648 |
| 649 if (is_win || is_linux) { | 649 if (is_win || is_linux) { |
| 650 deps += [ | 650 deps += [ |
| 651 "//components/mus/demo", | 651 "//components/mus/demo", |
| 652 "//components/mus/ws:tests", | 652 "//components/mus/ws:tests", |
| 653 "//components/resource_provider:resource_provider_unittests", | |
| 654 "//mash:all", | 653 "//mash:all", |
| 655 "//media/mojo/services:media_mojo_shell_unittests", | 654 "//media/mojo/services:media_mojo_shell_unittests", |
| 656 "//mojo", | 655 "//mojo", |
| 657 "//ui/views/mus:views_mus_unittests", | 656 "//ui/views/mus:views_mus_unittests", |
| 658 ] | 657 ] |
| 659 } | 658 } |
| 660 | 659 |
| 661 if (is_linux && !is_chromeos && !is_chromecast) { | 660 if (is_linux && !is_chromeos && !is_chromecast) { |
| 662 # TODO(GYP): Figure out if any of these should be in gn_all | 661 # TODO(GYP): Figure out if any of these should be in gn_all |
| 663 # and figure out how cross-platform they are | 662 # and figure out how cross-platform they are |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 952 assert(target_name != "") # Mark as used. | 951 assert(target_name != "") # Mark as used. |
| 953 sources = invoker.actual_sources | 952 sources = invoker.actual_sources |
| 954 assert( | 953 assert( |
| 955 sources == invoker.actual_sources, | 954 sources == invoker.actual_sources, |
| 956 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 955 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 957 } | 956 } |
| 958 | 957 |
| 959 assert_valid_out_dir("_unused") { | 958 assert_valid_out_dir("_unused") { |
| 960 actual_sources = [ "$root_build_dir/foo" ] | 959 actual_sources = [ "$root_build_dir/foo" ] |
| 961 } | 960 } |
| OLD | NEW |