| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 "//third_party/catapult/telemetry:bitmaptools($host_toolchain)", | 228 "//third_party/catapult/telemetry:bitmaptools($host_toolchain)", |
| 229 "//third_party/smhasher:pmurhash", | 229 "//third_party/smhasher:pmurhash", |
| 230 "//tools/imagediff($host_toolchain)", | 230 "//tools/imagediff($host_toolchain)", |
| 231 "//ui/display:display_unittests", | 231 "//ui/display:display_unittests", |
| 232 "//ui/events:events_unittests", | 232 "//ui/events:events_unittests", |
| 233 "//ui/gl:gl_unittests", | 233 "//ui/gl:gl_unittests", |
| 234 "//ui/touch_selection:ui_touch_selection_unittests", | 234 "//ui/touch_selection:ui_touch_selection_unittests", |
| 235 "//url/ipc:url_ipc_unittests", | 235 "//url/ipc:url_ipc_unittests", |
| 236 ] | 236 ] |
| 237 } else { | 237 } else { |
| 238 deps += [ | 238 deps += [ "//ios:all" ] |
| 239 "//ios/chrome:ios_chrome_unittests", | |
| 240 "//ios/chrome/app", | |
| 241 "//ios/chrome/browser", | |
| 242 "//ios/chrome/common", | |
| 243 "//ios/chrome/share_extension:packed_resources", | |
| 244 "//ios/chrome/today_extension:packed_resources", | |
| 245 "//ios/net:ios_net_unittests", | |
| 246 "//ios/public/provider/chrome/browser", | |
| 247 "//ios/public/provider/web", | |
| 248 "//ios/testing:ocmock_support_unittest", | |
| 249 "//ios/third_party/earl_grey", | |
| 250 "//ios/web:ios_web_inttests", | |
| 251 "//ios/web:ios_web_unittests", | |
| 252 "//ios/web/shell:ios_web_shell", | |
| 253 ] | |
| 254 | |
| 255 if (!is_component_build) { | |
| 256 deps += [ "//components/cronet/ios:cronet_package" ] | |
| 257 } | |
| 258 } | 239 } |
| 259 | 240 |
| 260 deps += root_extra_deps | 241 deps += root_extra_deps |
| 261 | 242 |
| 262 if (enable_extensions) { | 243 if (enable_extensions) { |
| 263 deps += [ "//extensions/shell:app_shell_unittests" ] | 244 deps += [ "//extensions/shell:app_shell_unittests" ] |
| 264 } | 245 } |
| 265 | 246 |
| 266 if (enable_media_router) { | 247 if (enable_media_router) { |
| 267 deps += [ "//chrome/browser/media/router" ] | 248 deps += [ "//chrome/browser/media/router" ] |
| (...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 assert(target_name != "") # Mark as used. | 932 assert(target_name != "") # Mark as used. |
| 952 sources = invoker.actual_sources | 933 sources = invoker.actual_sources |
| 953 assert( | 934 assert( |
| 954 sources == invoker.actual_sources, | 935 sources == invoker.actual_sources, |
| 955 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 936 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 956 } | 937 } |
| 957 | 938 |
| 958 assert_valid_out_dir("_unused") { | 939 assert_valid_out_dir("_unused") { |
| 959 actual_sources = [ "$root_build_dir/foo" ] | 940 actual_sources = [ "$root_build_dir/foo" ] |
| 960 } | 941 } |
| OLD | NEW |