| 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") |
| 15 import("//media/media_options.gni") | 16 import("//media/media_options.gni") |
| 16 | 17 |
| 17 if (is_android) { | 18 if (is_android) { |
| 18 import("//build/config/android/config.gni") | 19 import("//build/config/android/config.gni") |
| 19 } | 20 } |
| 20 | 21 |
| 21 declare_args() { | 22 declare_args() { |
| 22 # 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 |
| 23 # checkout to add additional targets without explicitly changing any checked- | 24 # checkout to add additional targets without explicitly changing any checked- |
| 24 # in files. | 25 # in files. |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 "//tools/battor_agent", | 197 "//tools/battor_agent", |
| 197 "//tools/imagediff($host_toolchain)", | 198 "//tools/imagediff($host_toolchain)", |
| 198 "//tools/telemetry:bitmaptools($host_toolchain)", | 199 "//tools/telemetry:bitmaptools($host_toolchain)", |
| 199 "//ui/display:display_unittests", | 200 "//ui/display:display_unittests", |
| 200 "//ui/events:events_unittests", | 201 "//ui/events:events_unittests", |
| 201 "//ui/gl:gl_unittests", | 202 "//ui/gl:gl_unittests", |
| 202 "//ui/touch_selection:ui_touch_selection_unittests", | 203 "//ui/touch_selection:ui_touch_selection_unittests", |
| 203 ] | 204 ] |
| 204 } else { | 205 } else { |
| 205 deps += [ | 206 deps += [ |
| 206 "//ios/chrome:ios_chrome_unittests", | |
| 207 "//ios/chrome/app", | |
| 208 "//ios/chrome/browser", | |
| 209 "//ios/chrome/common", | |
| 210 "//ios/net:ios_net_unittests", | 207 "//ios/net:ios_net_unittests", |
| 211 "//ios/public/provider/chrome/browser", | |
| 212 "//ios/public/provider/web", | 208 "//ios/public/provider/web", |
| 213 "//ios/testing:ocmock_support_unittest", | 209 "//ios/testing:ocmock_support_unittest", |
| 214 "//ios/web:ios_web_unittests", | 210 "//ios/web:ios_web_unittests", |
| 215 "//ios/web/shell:ios_web_shell", | 211 "//ios/web/shell:ios_web_shell", |
| 216 ] | 212 ] |
| 213 |
| 214 if (ios_use_webrtc) { |
| 215 deps += [ |
| 216 "//ios/chrome:ios_chrome_unittests", |
| 217 "//ios/chrome/app", |
| 218 "//ios/chrome/browser", |
| 219 "//ios/chrome/common", |
| 220 "//ios/public/provider/chrome/browser", |
| 221 ] |
| 222 } |
| 217 } | 223 } |
| 218 | 224 |
| 219 deps += root_extra_deps | 225 deps += root_extra_deps |
| 220 | 226 |
| 221 if (enable_extensions) { | 227 if (enable_extensions) { |
| 222 deps += [ "//extensions/shell:app_shell_unittests" ] | 228 deps += [ "//extensions/shell:app_shell_unittests" ] |
| 223 } | 229 } |
| 224 | 230 |
| 225 if (enable_media_router) { | 231 if (enable_media_router) { |
| 226 deps += [ "//chrome/browser/media/router" ] | 232 deps += [ "//chrome/browser/media/router" ] |
| (...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 if (target_cpu == "x86") { | 856 if (target_cpu == "x86") { |
| 851 deps += [ | 857 deps += [ |
| 852 # "//content/shell:crash_service_win64", TODO(GYP): crbug.com/537009 | 858 # "//content/shell:crash_service_win64", TODO(GYP): crbug.com/537009 |
| 853 ] | 859 ] |
| 854 } | 860 } |
| 855 } else { | 861 } else { |
| 856 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] | 862 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] |
| 857 } | 863 } |
| 858 } | 864 } |
| 859 } | 865 } |
| OLD | NEW |