| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 } | 235 } |
| 236 | 236 |
| 237 if (toolkit_views) { | 237 if (toolkit_views) { |
| 238 deps += [ "//ui/views:views_unittests" ] | 238 deps += [ "//ui/views:views_unittests" ] |
| 239 } | 239 } |
| 240 | 240 |
| 241 if (use_aura) { | 241 if (use_aura) { |
| 242 deps += [ | 242 deps += [ |
| 243 "//ash:ash_shell_with_content", | 243 "//ash:ash_shell_with_content", |
| 244 "//ash:ash_unittests", | 244 "//ash:ash_unittests", |
| 245 "//ui/app_list/shower:app_list_shower_unittests", | 245 "//ui/app_list/presenter:app_list_presenter_unittests", |
| 246 "//ui/aura:aura_unittests", | 246 "//ui/aura:aura_unittests", |
| 247 "//ui/aura:demo", | 247 "//ui/aura:demo", |
| 248 "//ui/wm:wm_unittests", | 248 "//ui/wm:wm_unittests", |
| 249 ] | 249 ] |
| 250 } | 250 } |
| 251 | 251 |
| 252 if (use_ozone) { | 252 if (use_ozone) { |
| 253 deps += [ "//ui/ozone" ] | 253 deps += [ "//ui/ozone" ] |
| 254 } | 254 } |
| 255 | 255 |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 assert(target_name != "") # Mark as used. | 895 assert(target_name != "") # Mark as used. |
| 896 sources = invoker.actual_sources | 896 sources = invoker.actual_sources |
| 897 assert( | 897 assert( |
| 898 sources == invoker.actual_sources, | 898 sources == invoker.actual_sources, |
| 899 "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") |
| 900 } | 900 } |
| 901 | 901 |
| 902 assert_valid_out_dir("_unused") { | 902 assert_valid_out_dir("_unused") { |
| 903 actual_sources = [ "$root_build_dir/foo" ] | 903 actual_sources = [ "$root_build_dir/foo" ] |
| 904 } | 904 } |
| OLD | NEW |