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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
200 } else { | 200 } else { |
201 deps += [ "//ios:all" ] | 201 deps += [ "//ios:all" ] |
202 } | 202 } |
203 | 203 |
204 deps += root_extra_deps | 204 deps += root_extra_deps |
205 | 205 |
206 if (enable_extensions) { | 206 if (enable_extensions) { |
207 deps += [ "//extensions/shell:app_shell_unittests" ] | 207 deps += [ "//extensions/shell:app_shell_unittests" ] |
208 } | 208 } |
209 | 209 |
210 if (enable_media_router) { | |
211 deps += [ "//chrome/browser/media/router" ] | |
Nico
2017/03/21 19:59:33
//chrome already depends on this, no longer needed
| |
212 } | |
213 | |
214 if (enable_remoting) { | 210 if (enable_remoting) { |
215 deps += [ "//remoting:remoting_all" ] | 211 deps += [ "//remoting:remoting_all" ] |
216 } | 212 } |
217 | 213 |
218 if (toolkit_views) { | 214 if (toolkit_views) { |
219 deps += [ | 215 deps += [ |
220 "//ui/views:views_unittests", | 216 "//ui/views:views_unittests", |
221 "//ui/views/examples:views_examples_exe", | 217 "//ui/views/examples:views_examples_exe", |
222 "//ui/views/examples:views_examples_with_content_exe", | 218 "//ui/views/examples:views_examples_with_content_exe", |
223 ] | 219 ] |
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1077 assert(target_name != "") # Mark as used. | 1073 assert(target_name != "") # Mark as used. |
1078 sources = invoker.actual_sources | 1074 sources = invoker.actual_sources |
1079 assert( | 1075 assert( |
1080 sources == invoker.actual_sources, | 1076 sources == invoker.actual_sources, |
1081 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 1077 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
1082 } | 1078 } |
1083 | 1079 |
1084 assert_valid_out_dir("_unused") { | 1080 assert_valid_out_dir("_unused") { |
1085 actual_sources = [ "$root_build_dir/foo" ] | 1081 actual_sources = [ "$root_build_dir/foo" ] |
1086 } | 1082 } |
OLD | NEW |