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