| 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 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 if (!is_android && !is_ios) { | 696 if (!is_android && !is_ios) { |
| 697 deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ] | 697 deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ] |
| 698 } | 698 } |
| 699 | 699 |
| 700 if (!is_android && !is_ios && !is_chromeos) { | 700 if (!is_android && !is_ios && !is_chromeos) { |
| 701 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 701 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
| 702 } | 702 } |
| 703 | 703 |
| 704 if (is_win || is_linux) { | 704 if (is_win || is_linux) { |
| 705 deps += [ | 705 deps += [ |
| 706 "//components/mus/demo", | |
| 707 "//components/mus/ws:tests", | |
| 708 "//mash:all", | 706 "//mash:all", |
| 709 "//media/mojo/services:media_mojo_shell_unittests", | 707 "//media/mojo/services:media_mojo_shell_unittests", |
| 710 "//mojo", | 708 "//mojo", |
| 711 "//services/navigation", | 709 "//services/navigation", |
| 710 "//services/ui/demo", |
| 711 "//services/ui/ws:tests", |
| 712 "//ui/views/mus:views_mus_interactive_ui_tests", | 712 "//ui/views/mus:views_mus_interactive_ui_tests", |
| 713 "//ui/views/mus:views_mus_unittests", | 713 "//ui/views/mus:views_mus_unittests", |
| 714 ] | 714 ] |
| 715 } | 715 } |
| 716 | 716 |
| 717 if (is_linux && !is_chromeos && !is_chromecast) { | 717 if (is_linux && !is_chromeos && !is_chromecast) { |
| 718 # TODO(GYP): Figure out if any of these should be in gn_all | 718 # TODO(GYP): Figure out if any of these should be in gn_all |
| 719 # and figure out how cross-platform they are | 719 # and figure out how cross-platform they are |
| 720 deps += [ | 720 deps += [ |
| 721 ":gn_mojo_targets", | 721 ":gn_mojo_targets", |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 assert(target_name != "") # Mark as used. | 1040 assert(target_name != "") # Mark as used. |
| 1041 sources = invoker.actual_sources | 1041 sources = invoker.actual_sources |
| 1042 assert( | 1042 assert( |
| 1043 sources == invoker.actual_sources, | 1043 sources == invoker.actual_sources, |
| 1044 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1044 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1045 } | 1045 } |
| 1046 | 1046 |
| 1047 assert_valid_out_dir("_unused") { | 1047 assert_valid_out_dir("_unused") { |
| 1048 actual_sources = [ "$root_build_dir/foo" ] | 1048 actual_sources = [ "$root_build_dir/foo" ] |
| 1049 } | 1049 } |
| OLD | NEW |