| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 "//ios/chrome/common", | 242 "//ios/chrome/common", |
| 243 "//ios/net:ios_net_unittests", | 243 "//ios/net:ios_net_unittests", |
| 244 "//ios/public/provider/chrome/browser", | 244 "//ios/public/provider/chrome/browser", |
| 245 "//ios/public/provider/web", | 245 "//ios/public/provider/web", |
| 246 "//ios/testing:ocmock_support_unittest", | 246 "//ios/testing:ocmock_support_unittest", |
| 247 "//ios/third_party/earl_grey", | 247 "//ios/third_party/earl_grey", |
| 248 "//ios/web:ios_web_inttests", | 248 "//ios/web:ios_web_inttests", |
| 249 "//ios/web:ios_web_unittests", | 249 "//ios/web:ios_web_unittests", |
| 250 "//ios/web/shell:ios_web_shell", | 250 "//ios/web/shell:ios_web_shell", |
| 251 ] | 251 ] |
| 252 |
| 253 if (!is_component_build) { |
| 254 deps += [ "//components/cronet/ios:cronet_package" ] |
| 255 } |
| 252 } | 256 } |
| 253 | 257 |
| 254 deps += root_extra_deps | 258 deps += root_extra_deps |
| 255 | 259 |
| 256 if (enable_extensions) { | 260 if (enable_extensions) { |
| 257 deps += [ "//extensions/shell:app_shell_unittests" ] | 261 deps += [ "//extensions/shell:app_shell_unittests" ] |
| 258 } | 262 } |
| 259 | 263 |
| 260 if (enable_media_router) { | 264 if (enable_media_router) { |
| 261 deps += [ "//chrome/browser/media/router" ] | 265 deps += [ "//chrome/browser/media/router" ] |
| (...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 945 assert(target_name != "") # Mark as used. | 949 assert(target_name != "") # Mark as used. |
| 946 sources = invoker.actual_sources | 950 sources = invoker.actual_sources |
| 947 assert( | 951 assert( |
| 948 sources == invoker.actual_sources, | 952 sources == invoker.actual_sources, |
| 949 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 953 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 950 } | 954 } |
| 951 | 955 |
| 952 assert_valid_out_dir("_unused") { | 956 assert_valid_out_dir("_unused") { |
| 953 actual_sources = [ "$root_build_dir/foo" ] | 957 actual_sources = [ "$root_build_dir/foo" ] |
| 954 } | 958 } |
| OLD | NEW |