| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 "//ios/chrome/common", | 240 "//ios/chrome/common", |
| 241 "//ios/net:ios_net_unittests", | 241 "//ios/net:ios_net_unittests", |
| 242 "//ios/public/provider/chrome/browser", | 242 "//ios/public/provider/chrome/browser", |
| 243 "//ios/public/provider/web", | 243 "//ios/public/provider/web", |
| 244 "//ios/testing:ocmock_support_unittest", | 244 "//ios/testing:ocmock_support_unittest", |
| 245 "//ios/third_party/earl_grey", | 245 "//ios/third_party/earl_grey", |
| 246 "//ios/web:ios_web_inttests", | 246 "//ios/web:ios_web_inttests", |
| 247 "//ios/web:ios_web_unittests", | 247 "//ios/web:ios_web_unittests", |
| 248 "//ios/web/shell:ios_web_shell", | 248 "//ios/web/shell:ios_web_shell", |
| 249 ] | 249 ] |
| 250 |
| 251 if (!is_component_build) { |
| 252 deps += [ "//components/cronet/ios:cronet_package" ] |
| 253 } |
| 250 } | 254 } |
| 251 | 255 |
| 252 deps += root_extra_deps | 256 deps += root_extra_deps |
| 253 | 257 |
| 254 if (enable_extensions) { | 258 if (enable_extensions) { |
| 255 deps += [ "//extensions/shell:app_shell_unittests" ] | 259 deps += [ "//extensions/shell:app_shell_unittests" ] |
| 256 } | 260 } |
| 257 | 261 |
| 258 if (enable_media_router) { | 262 if (enable_media_router) { |
| 259 deps += [ "//chrome/browser/media/router" ] | 263 deps += [ "//chrome/browser/media/router" ] |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 assert(target_name != "") # Mark as used. | 962 assert(target_name != "") # Mark as used. |
| 959 sources = invoker.actual_sources | 963 sources = invoker.actual_sources |
| 960 assert( | 964 assert( |
| 961 sources == invoker.actual_sources, | 965 sources == invoker.actual_sources, |
| 962 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 966 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 963 } | 967 } |
| 964 | 968 |
| 965 assert_valid_out_dir("_unused") { | 969 assert_valid_out_dir("_unused") { |
| 966 actual_sources = [ "$root_build_dir/foo" ] | 970 actual_sources = [ "$root_build_dir/foo" ] |
| 967 } | 971 } |
| OLD | NEW |