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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 228 |
229 if (toolkit_views) { | 229 if (toolkit_views) { |
230 deps += [ "//ui/views:views_unittests" ] | 230 deps += [ "//ui/views:views_unittests" ] |
231 } | 231 } |
232 | 232 |
233 if (use_aura) { | 233 if (use_aura) { |
234 deps += [ | 234 deps += [ |
235 "//ash:ash_shell_with_content", | 235 "//ash:ash_shell_with_content", |
236 "//ash:ash_unittests", | 236 "//ash:ash_unittests", |
237 "//ui/aura:aura_unittests", | 237 "//ui/aura:aura_unittests", |
238 "//ui/aura:bench", | |
239 "//ui/aura:demo", | 238 "//ui/aura:demo", |
240 "//ui/wm:wm_unittests", | 239 "//ui/wm:wm_unittests", |
241 ] | 240 ] |
242 } | 241 } |
243 | 242 |
244 if (use_ozone) { | 243 if (use_ozone) { |
245 deps += [ "//ui/ozone" ] | 244 deps += [ "//ui/ozone" ] |
246 } | 245 } |
247 | 246 |
248 if (use_x11) { | 247 if (use_x11) { |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 assert(target_name != "") # Mark as used. | 895 assert(target_name != "") # Mark as used. |
897 sources = invoker.actual_sources | 896 sources = invoker.actual_sources |
898 assert( | 897 assert( |
899 sources == invoker.actual_sources, | 898 sources == invoker.actual_sources, |
900 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 899 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
901 } | 900 } |
902 | 901 |
903 assert_valid_out_dir("_unused") { | 902 assert_valid_out_dir("_unused") { |
904 actual_sources = [ "$root_build_dir/foo" ] | 903 actual_sources = [ "$root_build_dir/foo" ] |
905 } | 904 } |
OLD | NEW |