| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 } | 233 } |
| 234 | 234 |
| 235 if (toolkit_views) { | 235 if (toolkit_views) { |
| 236 deps += [ "//ui/views:views_unittests" ] | 236 deps += [ "//ui/views:views_unittests" ] |
| 237 } | 237 } |
| 238 | 238 |
| 239 if (use_aura) { | 239 if (use_aura) { |
| 240 deps += [ | 240 deps += [ |
| 241 "//ash:ash_shell_with_content", | 241 "//ash:ash_shell_with_content", |
| 242 "//ash:ash_unittests", | 242 "//ash:ash_unittests", |
| 243 "//ui/app_list/shower:app_list_shower_unittests", |
| 243 "//ui/aura:aura_unittests", | 244 "//ui/aura:aura_unittests", |
| 244 "//ui/aura:demo", | 245 "//ui/aura:demo", |
| 245 "//ui/wm:wm_unittests", | 246 "//ui/wm:wm_unittests", |
| 246 ] | 247 ] |
| 247 } | 248 } |
| 248 | 249 |
| 249 if (use_ozone) { | 250 if (use_ozone) { |
| 250 deps += [ "//ui/ozone" ] | 251 deps += [ "//ui/ozone" ] |
| 251 } | 252 } |
| 252 | 253 |
| (...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 assert(target_name != "") # Mark as used. | 903 assert(target_name != "") # Mark as used. |
| 903 sources = invoker.actual_sources | 904 sources = invoker.actual_sources |
| 904 assert( | 905 assert( |
| 905 sources == invoker.actual_sources, | 906 sources == invoker.actual_sources, |
| 906 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 907 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 907 } | 908 } |
| 908 | 909 |
| 909 assert_valid_out_dir("_unused") { | 910 assert_valid_out_dir("_unused") { |
| 910 actual_sources = [ "$root_build_dir/foo" ] | 911 actual_sources = [ "$root_build_dir/foo" ] |
| 911 } | 912 } |
| OLD | NEW |