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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 += [ |
239 "//ios/chrome:ios_chrome_unittests", | 239 "//ios/chrome:ios_chrome_unittests", |
240 "//ios/chrome/app", | 240 "//ios/chrome/app", |
241 "//ios/chrome/browser", | 241 "//ios/chrome/browser", |
242 "//ios/chrome/common", | 242 "//ios/chrome/common", |
| 243 "//ios/chrome/share_extension:packed_resources", |
| 244 "//ios/chrome/today_extension:packed_resources", |
243 "//ios/net:ios_net_unittests", | 245 "//ios/net:ios_net_unittests", |
244 "//ios/public/provider/chrome/browser", | 246 "//ios/public/provider/chrome/browser", |
245 "//ios/public/provider/web", | 247 "//ios/public/provider/web", |
246 "//ios/testing:ocmock_support_unittest", | 248 "//ios/testing:ocmock_support_unittest", |
247 "//ios/third_party/earl_grey", | 249 "//ios/third_party/earl_grey", |
248 "//ios/web:ios_web_inttests", | 250 "//ios/web:ios_web_inttests", |
249 "//ios/web:ios_web_unittests", | 251 "//ios/web:ios_web_unittests", |
250 "//ios/web/shell:ios_web_shell", | 252 "//ios/web/shell:ios_web_shell", |
251 ] | 253 ] |
252 } | 254 } |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 assert(target_name != "") # Mark as used. | 947 assert(target_name != "") # Mark as used. |
946 sources = invoker.actual_sources | 948 sources = invoker.actual_sources |
947 assert( | 949 assert( |
948 sources == invoker.actual_sources, | 950 sources == invoker.actual_sources, |
949 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 951 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
950 } | 952 } |
951 | 953 |
952 assert_valid_out_dir("_unused") { | 954 assert_valid_out_dir("_unused") { |
953 actual_sources = [ "$root_build_dir/foo" ] | 955 actual_sources = [ "$root_build_dir/foo" ] |
954 } | 956 } |
OLD | NEW |