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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 "//third_party/smhasher:pmurhash", | 190 "//third_party/smhasher:pmurhash", |
191 "//tools/imagediff($host_toolchain)", | 191 "//tools/imagediff($host_toolchain)", |
192 "//ui/display:display_unittests", | 192 "//ui/display:display_unittests", |
193 "//ui/events:events_unittests", | 193 "//ui/events:events_unittests", |
194 "//ui/gl:gl_unittests", | 194 "//ui/gl:gl_unittests", |
195 "//ui/touch_selection:ui_touch_selection_unittests", | 195 "//ui/touch_selection:ui_touch_selection_unittests", |
196 "//url/ipc:url_ipc_unittests", | 196 "//url/ipc:url_ipc_unittests", |
197 ] | 197 ] |
198 } else { | 198 } else { |
199 deps += [ | 199 deps += [ |
200 #"//ios/chrome:ios_chrome_unittests", TODO(GYP) | 200 "//ios/chrome:ios_chrome_unittests", |
201 #"//ios/chrome/app", TODO(GYP) | 201 "//ios/chrome/app", |
202 #"//ios/chrome/browser", TODO(GYP) | 202 "//ios/chrome/browser", |
203 "//ios/chrome/common", | 203 "//ios/chrome/common", |
204 "//ios/net:ios_net_unittests", | 204 "//ios/net:ios_net_unittests", |
205 "//ios/public/provider/chrome/browser", | 205 "//ios/public/provider/chrome/browser", |
206 "//ios/public/provider/web", | 206 "//ios/public/provider/web", |
207 "//ios/testing:ocmock_support_unittest", | 207 "//ios/testing:ocmock_support_unittest", |
208 "//ios/third_party/fishhook", | 208 "//ios/third_party/fishhook", |
209 "//ios/third_party/ochamcrest", | 209 "//ios/third_party/ochamcrest", |
210 "//ios/web:ios_web_unittests", | 210 "//ios/web:ios_web_unittests", |
211 "//ios/web/shell:ios_web_shell", | 211 "//ios/web/shell:ios_web_shell", |
212 ] | 212 ] |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 assert(target_name != "") # Mark as used. | 895 assert(target_name != "") # Mark as used. |
896 sources = invoker.actual_sources | 896 sources = invoker.actual_sources |
897 assert( | 897 assert( |
898 sources == invoker.actual_sources, | 898 sources == invoker.actual_sources, |
899 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 899 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
900 } | 900 } |
901 | 901 |
902 assert_valid_out_dir("_unused") { | 902 assert_valid_out_dir("_unused") { |
903 actual_sources = [ "$root_build_dir/foo" ] | 903 actual_sources = [ "$root_build_dir/foo" ] |
904 } | 904 } |
OLD | NEW |