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 |
11 import("//build/config/features.gni") | 11 import("//build/config/features.gni") |
12 import("//build/config/sanitizers/sanitizers.gni") | 12 import("//build/config/sanitizers/sanitizers.gni") |
13 import("//build/config/ui.gni") | 13 import("//build/config/ui.gni") |
14 import("//build_overrides/v8.gni") | 14 import("//build_overrides/v8.gni") |
15 import("//build_overrides/webrtc.gni") | |
16 import("//media/media_options.gni") | 15 import("//media/media_options.gni") |
17 import("//third_party/openh264/openh264_args.gni") | 16 import("//third_party/openh264/openh264_args.gni") |
18 | 17 |
19 if (is_android) { | 18 if (is_android) { |
20 import("//build/config/android/config.gni") | 19 import("//build/config/android/config.gni") |
21 } | 20 } |
22 | 21 |
23 declare_args() { | 22 declare_args() { |
24 # A list of extra dependencies to add to the root target. This allows a | 23 # A list of extra dependencies to add to the root target. This allows a |
25 # checkout to add additional targets without explicitly changing any checked- | 24 # checkout to add additional targets without explicitly changing any checked- |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 "//third_party/catapult/telemetry:bitmaptools($host_toolchain)", | 191 "//third_party/catapult/telemetry:bitmaptools($host_toolchain)", |
193 "//third_party/smhasher:pmurhash", | 192 "//third_party/smhasher:pmurhash", |
194 "//tools/imagediff($host_toolchain)", | 193 "//tools/imagediff($host_toolchain)", |
195 "//ui/display:display_unittests", | 194 "//ui/display:display_unittests", |
196 "//ui/events:events_unittests", | 195 "//ui/events:events_unittests", |
197 "//ui/gl:gl_unittests", | 196 "//ui/gl:gl_unittests", |
198 "//ui/touch_selection:ui_touch_selection_unittests", | 197 "//ui/touch_selection:ui_touch_selection_unittests", |
199 ] | 198 ] |
200 } else { | 199 } else { |
201 deps += [ | 200 deps += [ |
| 201 #"//ios/chrome:ios_chrome_unittests", TODO(GYP) |
| 202 #"//ios/chrome/app", TODO(GYP) |
| 203 #"//ios/chrome/browser", TODO(GYP) |
| 204 "//ios/chrome/common", |
202 "//ios/net:ios_net_unittests", | 205 "//ios/net:ios_net_unittests", |
| 206 "//ios/public/provider/chrome/browser", |
203 "//ios/public/provider/web", | 207 "//ios/public/provider/web", |
204 "//ios/testing:ocmock_support_unittest", | 208 "//ios/testing:ocmock_support_unittest", |
205 "//ios/web:ios_web_unittests", | 209 "//ios/web:ios_web_unittests", |
206 "//ios/web/shell:ios_web_shell", | 210 "//ios/web/shell:ios_web_shell", |
207 ] | 211 ] |
208 | |
209 if (ios_use_webrtc) { | |
210 deps += [ | |
211 "//ios/chrome:ios_chrome_unittests", | |
212 "//ios/chrome/app", | |
213 "//ios/chrome/browser", | |
214 "//ios/chrome/common", | |
215 "//ios/public/provider/chrome/browser", | |
216 ] | |
217 } | |
218 } | 212 } |
219 | 213 |
220 deps += root_extra_deps | 214 deps += root_extra_deps |
221 | 215 |
222 if (enable_extensions) { | 216 if (enable_extensions) { |
223 deps += [ "//extensions/shell:app_shell_unittests" ] | 217 deps += [ "//extensions/shell:app_shell_unittests" ] |
224 } | 218 } |
225 | 219 |
226 if (enable_media_router) { | 220 if (enable_media_router) { |
227 deps += [ "//chrome/browser/media/router" ] | 221 deps += [ "//chrome/browser/media/router" ] |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 ] | 864 ] |
871 | 865 |
872 if (target_cpu == "x86") { | 866 if (target_cpu == "x86") { |
873 deps += [ "//chrome/tools/crash_service:crash_service_win64" ] | 867 deps += [ "//chrome/tools/crash_service:crash_service_win64" ] |
874 } | 868 } |
875 } else { | 869 } else { |
876 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] | 870 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] |
877 } | 871 } |
878 } | 872 } |
879 } | 873 } |
OLD | NEW |