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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 } else { | 202 } else { |
203 deps += [ "//ios:all" ] | 203 deps += [ "//ios:all" ] |
204 } | 204 } |
205 | 205 |
206 deps += root_extra_deps | 206 deps += root_extra_deps |
207 | 207 |
208 if (enable_extensions) { | 208 if (enable_extensions) { |
209 deps += [ "//extensions/shell:app_shell_unittests" ] | 209 deps += [ "//extensions/shell:app_shell_unittests" ] |
210 } | 210 } |
211 | 211 |
212 if (enable_media_router) { | |
213 deps += [ "//chrome/browser/media/router" ] | |
214 } | |
215 | |
216 if (enable_remoting) { | 212 if (enable_remoting) { |
217 deps += [ "//remoting:remoting_all" ] | 213 deps += [ "//remoting:remoting_all" ] |
218 } | 214 } |
219 | 215 |
220 if (toolkit_views) { | 216 if (toolkit_views) { |
221 deps += [ | 217 deps += [ |
222 "//ui/views:views_unittests", | 218 "//ui/views:views_unittests", |
223 "//ui/views/examples:views_examples_exe", | 219 "//ui/views/examples:views_examples_exe", |
224 "//ui/views/examples:views_examples_with_content_exe", | 220 "//ui/views/examples:views_examples_with_content_exe", |
225 ] | 221 ] |
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1094 assert(target_name != "") # Mark as used. | 1090 assert(target_name != "") # Mark as used. |
1095 sources = invoker.actual_sources | 1091 sources = invoker.actual_sources |
1096 assert( | 1092 assert( |
1097 sources == invoker.actual_sources, | 1093 sources == invoker.actual_sources, |
1098 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1094 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1099 } | 1095 } |
1100 | 1096 |
1101 assert_valid_out_dir("_unused") { | 1097 assert_valid_out_dir("_unused") { |
1102 actual_sources = [ "$root_build_dir/foo" ] | 1098 actual_sources = [ "$root_build_dir/foo" ] |
1103 } | 1099 } |
OLD | NEW |