brettw@chromium.org | f0e7ff88 | 2013-12-26 21:23:09 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 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 |
| 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 |
| 9 | # file to your new one or GN won't know about it. |
| 10 | |
dpranke | ad249c7 | 2016-06-11 18:01:22 | [diff] [blame] | 11 | import("//build/config/compiler/compiler.gni") |
rockot | 2f1326e | 2015-02-23 23:53:51 | [diff] [blame] | 12 | import("//build/config/features.gni") |
aizatsky | fc46a9f | 2015-10-09 21:20:08 | [diff] [blame] | 13 | import("//build/config/sanitizers/sanitizers.gni") |
tfarina@chromium.org | 378b4f0 | 2014-06-10 15:58:45 | [diff] [blame] | 14 | import("//build/config/ui.gni") |
John Budorick | 7c8273b | 2019-04-25 15:27:47 | [diff] [blame] | 15 | import("//build/util/generate_wrapper.gni") |
Tommy Steimel | e417e71 | 2020-01-30 14:07:55 | [diff] [blame] | 16 | import("//chrome/browser/buildflags.gni") |
Jordan Bayles | 331c1b5 | 2019-12-23 17:56:28 | [diff] [blame] | 17 | import("//chrome/browser/media/router/features.gni") |
Dirk Pranke | ccc0c36 | 2017-09-28 22:15:11 | [diff] [blame] | 18 | import("//components/nacl/features.gni") |
Scott Violet | c8240b0 | 2018-03-08 22:03:59 | [diff] [blame] | 19 | import("//device/vr/buildflags/buildflags.gni") |
| 20 | import("//extensions/buildflags/buildflags.gni") |
Sam McNally | 11dc014 | 2018-11-23 01:11:05 | [diff] [blame] | 21 | import("//gpu/vulkan/features.gni") |
Alexandre Courbot | 8ad2427d | 2017-08-25 14:04:55 | [diff] [blame] | 22 | import("//media/gpu/args.gni") |
Sam McNally | 11dc014 | 2018-11-23 01:11:05 | [diff] [blame] | 23 | import("//media/media_options.gni") |
brettw | 2b112cd | 2016-10-12 19:35:36 | [diff] [blame] | 24 | import("//remoting/remoting_enable.gni") |
hbos | 17a7b4a2 | 2015-12-07 10:49:45 | [diff] [blame] | 25 | import("//third_party/openh264/openh264_args.gni") |
thakis | 3f7d4fc | 2016-06-10 18:47:50 | [diff] [blame] | 26 | import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
Peter Beverloo | 6994832 | 2017-07-28 19:01:57 | [diff] [blame] | 27 | import("//ui/base/ui_features.gni") |
Elly Fong-Jones | b03817a | 2019-11-14 18:10:12 | [diff] [blame] | 28 | import("//ui/gl/features.gni") |
kylechar | 50abf5a | 2016-11-29 16:03:07 | [diff] [blame] | 29 | import("//ui/ozone/ozone.gni") |
Sam McNally | 11dc014 | 2018-11-23 01:11:05 | [diff] [blame] | 30 | import("//ui/webui/webui_features.gni") |
Yang Guo | 04f22e3 | 2019-05-16 08:01:17 | [diff] [blame] | 31 | import("//v8/gni/snapshot_toolchain.gni") |
machenbach | d65ec5c | 2016-07-22 09:05:23 | [diff] [blame] | 32 | import("//v8/gni/v8.gni") |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 33 | |
cjhopman | ca675d3e | 2014-10-24 03:50:45 | [diff] [blame] | 34 | if (is_android) { |
| 35 | import("//build/config/android/config.gni") |
| 36 | } |
tfarina@chromium.org | 378b4f0 | 2014-06-10 15:58:45 | [diff] [blame] | 37 | |
brettw | b84b294 | 2014-10-22 22:58:45 | [diff] [blame] | 38 | declare_args() { |
| 39 | # A list of extra dependencies to add to the root target. This allows a |
| 40 | # checkout to add additional targets without explicitly changing any checked- |
| 41 | # in files. |
| 42 | root_extra_deps = [] |
| 43 | } |
| 44 | |
brucedawson | c8d6d65 | 2016-09-02 19:43:18 | [diff] [blame] | 45 | if (is_official_build) { |
| 46 | # An official (maximally optimized!) component (optimized for build times) |
| 47 | # build doesn't make sense and usually doesn't work. |
| 48 | assert(!is_component_build) |
| 49 | } |
| 50 | |
Wez | 09fb3a93 | 2017-12-20 21:33:46 | [diff] [blame] | 51 | # This file defines the following two main targets: |
dpranke | d62d851 | 2015-03-02 03:06:03 | [diff] [blame] | 52 | # |
Wez | 09fb3a93 | 2017-12-20 21:33:46 | [diff] [blame] | 53 | # "gn_all" is used to create explicit dependencies from the root BUILD.gn to |
| 54 | # each top-level component that we wish to include when building everything via |
| 55 | # "all". This is required since the set of targets built by "all" is determined |
| 56 | # automatically based on reachability from the root BUILD.gn (for details, see |
| 57 | # crbug.com/503241). Builders should typically use "all", or list targets |
| 58 | # explicitly, rather than relying on "gn_all". |
dpranke | ddc17490 | 2015-04-29 01:38:35 | [diff] [blame] | 59 | # |
dpranke | b6128d0 | 2015-05-01 16:40:30 | [diff] [blame] | 60 | # "gn_visibility": targets that are normally not visible to top-level targets, |
dpranke | ef9c5e58 | 2015-11-15 23:22:08 | [diff] [blame] | 61 | # but are built anyway by "all". Since we don't want any such targets, we have |
| 62 | # this placeholder to make sure hidden targets that aren't otherwise depended |
| 63 | # on yet are accounted for. |
dpranke | ff30e3d | 2015-02-24 06:52:39 | [diff] [blame] | 64 | |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 65 | group("gn_all") { |
| 66 | testonly = true |
| 67 | |
| 68 | deps = [ |
dpranke | b6128d0 | 2015-05-01 16:40:30 | [diff] [blame] | 69 | ":gn_visibility", |
Robert Liao | 38b1b4f | 2017-09-06 20:32:24 | [diff] [blame] | 70 | "//base:base_perftests", |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 71 | "//base:base_unittests", |
Maciej Pawlowski | 4a3ac68 | 2019-05-09 17:06:14 | [diff] [blame] | 72 | "//base/util:base_util_unittests", |
brettw | a874dcc | 2015-08-28 23:59:18 | [diff] [blame] | 73 | "//chrome/installer", |
Sorin Jianu | 58a93adc | 2019-01-29 17:38:48 | [diff] [blame] | 74 | "//chrome/updater", |
Wez | 04eb259 | 2019-09-16 19:41:59 | [diff] [blame] | 75 | "//components:components_unittests", |
Michael Lippautz | eb25453 | 2020-02-28 20:25:41 | [diff] [blame] | 76 | "//components/gc:gc_unittests", |
Vlad Tsyrklevich | 207f327 | 2019-08-02 16:18:26 | [diff] [blame] | 77 | "//components/gwp_asan:gwp_asan_unittests", |
sherouk | ce1c7d7 | 2015-08-24 15:21:59 | [diff] [blame] | 78 | "//net:net_unittests", |
Wez | 3c761e6 | 2019-04-15 16:42:53 | [diff] [blame] | 79 | "//services:services_unittests", |
| 80 | "//services/service_manager/public/cpp", |
Sergey Ulanov | dd606ed | 2017-07-13 00:44:24 | [diff] [blame] | 81 | "//skia:skia_unittests", |
brettw | a874dcc | 2015-08-28 23:59:18 | [diff] [blame] | 82 | "//sql:sql_unittests", |
Wez | 3c761e6 | 2019-04-15 16:42:53 | [diff] [blame] | 83 | "//third_party/flatbuffers:flatbuffers_unittests", |
Andrew Grieve | a7f1ee90 | 2018-05-18 16:17:22 | [diff] [blame] | 84 | "//tools/binary_size:binary_size_trybot_py", |
ochang | cc11d0e | 2016-04-26 19:58:26 | [diff] [blame] | 85 | "//tools/ipc_fuzzer:ipc_fuzzer_all", |
Wez | 3c761e6 | 2019-04-15 16:42:53 | [diff] [blame] | 86 | "//tools/metrics:metrics_metadata", |
Sergey Ulanov | fbd2fea | 2017-07-14 01:01:38 | [diff] [blame] | 87 | "//ui/base:ui_base_unittests", |
Robert Liao | 2d9b643 | 2020-03-04 19:56:43 | [diff] [blame^] | 88 | "//ui/color:color_unittests", |
Wez | 3c761e6 | 2019-04-15 16:42:53 | [diff] [blame] | 89 | "//ui/gfx:gfx_unittests", |
sherouk | 4fb74d4 | 2015-08-24 15:58:41 | [diff] [blame] | 90 | "//url:url_unittests", |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 91 | ] |
dpranke | 2a29462 | 2015-08-07 05:23:01 | [diff] [blame] | 92 | |
sdefresne | 21832bf9 | 2016-03-30 22:01:02 | [diff] [blame] | 93 | if (!is_android && !is_chromecast) { |
| 94 | deps += [ |
| 95 | "//crypto:crypto_unittests", |
| 96 | "//google_apis/gcm:gcm_unit_tests", |
| 97 | ] |
| 98 | } |
| 99 | |
Christopher Lam | ef75ebfe | 2018-03-28 04:20:27 | [diff] [blame] | 100 | if (closure_compile) { |
| 101 | deps += [ ":webui_closure_compile" ] |
| 102 | } |
| 103 | |
scottmg | 2f97ee12 | 2017-05-12 17:50:37 | [diff] [blame] | 104 | if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) { |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 105 | deps += [ |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 106 | "//chrome", |
Robert Liao | f3e619e | 2020-03-02 21:17:55 | [diff] [blame] | 107 | "//chrome/browser/ui/color:dump_colors", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 108 | "//chrome/test:browser_tests", |
| 109 | "//chrome/test:interactive_ui_tests", |
| 110 | "//chrome/test:sync_integration_tests", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 111 | "//chrome/test/chromedriver:chromedriver_unittests", |
Charlie Harrison | 65c79890 | 2018-04-30 17:44:43 | [diff] [blame] | 112 | "//components/subresource_filter/tools:subresource_filter_tools", |
Samuel Huang | 577ef6c | 2018-03-13 18:19:34 | [diff] [blame] | 113 | "//components/zucchini:zucchini", |
| 114 | "//components/zucchini:zucchini_unittests", |
dpranke | dbdd9d8 | 2015-08-12 21:18:18 | [diff] [blame] | 115 | "//gpu/gles2_conform_support:gles2_conform_test", |
stevenjb | 60431636 | 2016-05-06 22:10:26 | [diff] [blame] | 116 | "//gpu/khronos_glcts_support:khronos_glcts_test", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 117 | "//jingle:jingle_unittests", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 118 | "//net:hpack_example_generator", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 119 | "//ppapi:ppapi_unittests", |
| 120 | "//ppapi/examples/2d", |
| 121 | "//ppapi/examples/audio", |
| 122 | "//ppapi/examples/audio_input", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 123 | "//ppapi/examples/crxfs", |
| 124 | "//ppapi/examples/enumerate_devices", |
| 125 | "//ppapi/examples/file_chooser", |
| 126 | "//ppapi/examples/flash_topmost", |
| 127 | "//ppapi/examples/font", |
| 128 | "//ppapi/examples/gamepad", |
| 129 | "//ppapi/examples/gles2", |
| 130 | "//ppapi/examples/gles2_spinning_cube", |
| 131 | "//ppapi/examples/ime", |
| 132 | "//ppapi/examples/input", |
| 133 | "//ppapi/examples/media_stream_audio", |
| 134 | "//ppapi/examples/media_stream_video", |
| 135 | "//ppapi/examples/mouse_cursor", |
| 136 | "//ppapi/examples/mouse_lock", |
| 137 | "//ppapi/examples/printing", |
| 138 | "//ppapi/examples/scaling", |
| 139 | "//ppapi/examples/scripting", |
| 140 | "//ppapi/examples/stub", |
| 141 | "//ppapi/examples/threading", |
| 142 | "//ppapi/examples/url_loader", |
| 143 | "//ppapi/examples/video_capture", |
| 144 | "//ppapi/examples/video_decode", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 145 | "//ppapi/examples/video_encode", |
| 146 | "//printing:printing_unittests", |
dan sinclair | c99b824 | 2018-08-01 20:09:36 | [diff] [blame] | 147 | "//third_party/SPIRV-Tools/src:SPIRV-Tools", |
Corentin Wallez | d0f13af | 2018-08-07 16:43:28 | [diff] [blame] | 148 | "//third_party/SPIRV-Tools/src/test/fuzzers", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 149 | "//third_party/cacheinvalidation:cacheinvalidation_unittests", |
pkotwicz | 558d525 | 2015-10-19 21:09:55 | [diff] [blame] | 150 | "//third_party/pdfium/samples:pdfium_test", |
pkotwicz | 558d525 | 2015-10-19 21:09:55 | [diff] [blame] | 151 | "//tools/perf/clear_system_cache", |
rbpotter | d8ca34c | 2019-07-25 18:48:05 | [diff] [blame] | 152 | "//tools/polymer:polymer_tools_python_unittests", |
Adam Ettenberger | 35b103e | 2019-10-22 17:18:07 | [diff] [blame] | 153 | "//ui/accessibility:accessibility_perftests", |
pkotwicz | 558d525 | 2015-10-19 21:09:55 | [diff] [blame] | 154 | "//ui/accessibility:accessibility_unittests", |
David Tseng | 8175fca | 2019-10-25 03:44:47 | [diff] [blame] | 155 | "//ui/accessibility/extensions:extension_tests", |
| 156 | "//ui/accessibility/extensions:extensions", |
pkotwicz | 558d525 | 2015-10-19 21:09:55 | [diff] [blame] | 157 | ] |
| 158 | } |
| 159 | |
Sergey Ulanov | fbd2fea | 2017-07-14 01:01:38 | [diff] [blame] | 160 | if (!is_ios) { |
| 161 | deps += [ |
Wez | 57c9639 | 2017-12-05 22:19:05 | [diff] [blame] | 162 | "//cc:cc_unittests", |
| 163 | "//components/policy:policy_templates", |
Sergey Ulanov | 19240f7 | 2019-05-10 22:26:20 | [diff] [blame] | 164 | "//components/ui_devtools/viz", |
Mustafa Emre Acer | 52a80900 | 2019-06-27 20:41:28 | [diff] [blame] | 165 | "//components/url_formatter/tools:format_url", |
Sergey Ulanov | 19240f7 | 2019-05-10 22:26:20 | [diff] [blame] | 166 | "//components/viz:viz_perftests", |
| 167 | "//components/viz:viz_unittests", |
Wez | 57c9639 | 2017-12-05 22:19:05 | [diff] [blame] | 168 | "//content/shell:content_shell", |
| 169 | "//content/test:content_browsertests", |
| 170 | "//content/test:content_perftests", |
| 171 | "//content/test:content_unittests", |
Nathan Zabriskie | 92461a0 | 2020-02-06 20:44:27 | [diff] [blame] | 172 | "//gpu:gpu_benchmark", |
Wez | 57c9639 | 2017-12-05 22:19:05 | [diff] [blame] | 173 | "//gpu:gpu_unittests", |
Wez | 57c9639 | 2017-12-05 22:19:05 | [diff] [blame] | 174 | "//ipc:ipc_tests", |
Sergey Ulanov | 135ba08 | 2017-07-18 19:39:22 | [diff] [blame] | 175 | "//media:media_unittests", |
Wez | 57c9639 | 2017-12-05 22:19:05 | [diff] [blame] | 176 | "//media/midi:midi_unittests", |
| 177 | "//media/mojo:media_mojo_unittests", |
Sergey Ulanov | fbd2fea | 2017-07-14 01:01:38 | [diff] [blame] | 178 | "//mojo", |
Oksana Zhuravlova | 1792d19f | 2018-02-22 19:13:31 | [diff] [blame] | 179 | "//mojo:mojo_unittests", |
Wez | 57c9639 | 2017-12-05 22:19:05 | [diff] [blame] | 180 | "//net:net_perftests", |
Sergey Ulanov | 6ab219c | 2019-05-11 00:42:20 | [diff] [blame] | 181 | "//storage:storage_unittests", |
Michael Spang | a0d1ebc8 | 2019-02-13 17:45:04 | [diff] [blame] | 182 | "//third_party/angle/src/tests:angle_end2end_tests", |
| 183 | "//third_party/angle/src/tests:angle_unittests", |
Sergey Ulanov | 6ab219c | 2019-05-11 00:42:20 | [diff] [blame] | 184 | "//third_party/blink/common:blink_common_unittests", |
Kent Tamura | ef54e40 | 2019-02-14 07:18:36 | [diff] [blame] | 185 | "//third_party/blink/renderer/controller:blink_unittests", |
Sergey Ulanov | 6ab219c | 2019-05-11 00:42:20 | [diff] [blame] | 186 | "//third_party/blink/renderer/platform:blink_platform_unittests", |
| 187 | "//third_party/blink/renderer/platform/heap:blink_heap_unittests", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 188 | "//third_party/blink/renderer/platform/wtf:wtf_unittests", |
Sergey Ulanov | 6ab219c | 2019-05-11 00:42:20 | [diff] [blame] | 189 | "//tools/imagediff", |
| 190 | "//ui/display:display_unittests", |
| 191 | "//ui/events:events_unittests", |
Sergey Ulanov | fbd2fea | 2017-07-14 01:01:38 | [diff] [blame] | 192 | "//ui/gl:gl_unittests", |
Sergey Ulanov | 6ab219c | 2019-05-11 00:42:20 | [diff] [blame] | 193 | "//ui/latency:latency_unittests", |
Peter Kasting | 8d5c4d6 | 2019-09-20 00:16:09 | [diff] [blame] | 194 | "//ui/native_theme:native_theme_unittests", |
Sergey Ulanov | 6ab219c | 2019-05-11 00:42:20 | [diff] [blame] | 195 | "//ui/touch_selection:ui_touch_selection_unittests", |
Wez | 57c9639 | 2017-12-05 22:19:05 | [diff] [blame] | 196 | "//url/ipc:url_ipc_unittests", |
Sergey Ulanov | 6ab219c | 2019-05-11 00:42:20 | [diff] [blame] | 197 | "//v8:gn_all", |
Sergey Ulanov | fbd2fea | 2017-07-14 01:01:38 | [diff] [blame] | 198 | ] |
| 199 | } |
| 200 | |
Scott Violet | 3127099 | 2019-08-29 04:39:38 | [diff] [blame] | 201 | if (is_win || (is_linux && !is_chromeos) || is_android) { |
John Abd-El-Malek | 4a9ab59 | 2019-10-04 00:40:31 | [diff] [blame] | 202 | deps += [ |
| 203 | "//weblayer/shell:weblayer_shell", |
| 204 | "//weblayer/test:weblayer_browsertests", |
| 205 | ] |
Scott Violet | 68c6ccf | 2019-11-12 20:27:56 | [diff] [blame] | 206 | if (is_android) { |
| 207 | deps += [ "//weblayer/browser/android/javatests:weblayer_instrumentation_test_apk" ] |
| 208 | } |
John Abd-El-Malek | 002abf2 | 2019-09-18 06:32:39 | [diff] [blame] | 209 | } |
| 210 | |
Wez | 12ce94a | 2018-03-27 03:42:25 | [diff] [blame] | 211 | if (!is_ios && !is_android) { |
Wez | 115d431 | 2018-02-17 04:05:19 | [diff] [blame] | 212 | deps += [ |
| 213 | "//components/cronet:cronet_tests", |
| 214 | "//components/cronet:cronet_unittests", |
Sadrul Habib Chowdhury | 0b46e18 | 2019-01-30 05:25:50 | [diff] [blame] | 215 | "//components/viz/demo:viz_demo", |
Wez | 115d431 | 2018-02-17 04:05:19 | [diff] [blame] | 216 | ] |
| 217 | } |
| 218 | |
Jordan Bayles | 331c1b5 | 2019-12-23 17:56:28 | [diff] [blame] | 219 | if (enable_openscreen) { |
| 220 | deps += [ "//chrome/browser/media/router:openscreen_unittests" ] |
| 221 | } |
| 222 | |
scottmg | 2f97ee12 | 2017-05-12 17:50:37 | [diff] [blame] | 223 | if (!is_ios && !is_fuchsia) { |
pkotwicz | 558d525 | 2015-10-19 21:09:55 | [diff] [blame] | 224 | deps += [ |
stip | c6de0f49 | 2016-06-01 20:05:03 | [diff] [blame] | 225 | "//chrome/test:telemetry_perf_unittests", |
pkotwicz | 558d525 | 2015-10-19 21:09:55 | [diff] [blame] | 226 | "//chrome/test:unit_tests", |
| 227 | "//components:components_browsertests", |
pkotwicz | 558d525 | 2015-10-19 21:09:55 | [diff] [blame] | 228 | "//device:device_unittests", |
varkha | 5aa18a0 | 2017-05-31 22:39:50 | [diff] [blame] | 229 | "//google_apis/gcm:mcs_probe", |
mcasas | d2f53ea | 2016-06-24 19:24:27 | [diff] [blame] | 230 | "//media/capture:capture_unittests", |
miu | 45b848fe | 2015-11-26 01:23:29 | [diff] [blame] | 231 | "//media/cast:cast_unittests", |
ynovikov | 55e66c2 | 2017-02-16 15:45:37 | [diff] [blame] | 232 | "//third_party/angle/src/tests:angle_white_box_tests", |
nednguyen | c42bf91 | 2016-01-27 01:39:28 | [diff] [blame] | 233 | "//third_party/catapult/telemetry:bitmaptools($host_toolchain)", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 234 | "//third_party/smhasher:pmurhash", |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 235 | ] |
scottmg | 2f97ee12 | 2017-05-12 17:50:37 | [diff] [blame] | 236 | } else if (is_ios) { |
Rohit Rao | 4562328 | 2019-11-15 17:59:31 | [diff] [blame] | 237 | deps += [ |
| 238 | "//ios:all", |
| 239 | "//third_party/crashpad/crashpad:crashpad_tests", |
| 240 | ] |
Scott Graham | 677e7910 | 2017-08-15 20:07:37 | [diff] [blame] | 241 | } else if (is_fuchsia) { |
Scott Graham | 4411204b | 2018-10-03 19:46:26 | [diff] [blame] | 242 | deps += [ |
| 243 | ":d8_fuchsia", |
Kevin Marshall | d9141fe | 2019-01-31 18:22:52 | [diff] [blame] | 244 | "//fuchsia:gn_all", |
Nicolas Ouellet-Payeur | c7a9d26 | 2019-05-14 01:00:25 | [diff] [blame] | 245 | "//headless:headless_non_renderer", |
Scott Graham | 4411204b | 2018-10-03 19:46:26 | [diff] [blame] | 246 | ] |
sherouk | 53f0f1a | 2015-08-03 15:59:35 | [diff] [blame] | 247 | } |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 248 | |
scottmg | 34fb7e5 | 2014-12-03 23:27:24 | [diff] [blame] | 249 | deps += root_extra_deps |
brettw@chromium.org | fce5c3fe | 2014-04-10 21:13:05 | [diff] [blame] | 250 | |
tfarina | 4aa9edc | 2015-10-26 22:14:02 | [diff] [blame] | 251 | if (enable_extensions) { |
thestig | 344fe3f | 2017-06-08 23:42:13 | [diff] [blame] | 252 | deps += [ |
| 253 | "//extensions:extensions_browsertests", |
| 254 | "//extensions:extensions_unittests", |
| 255 | "//extensions/shell:app_shell_unittests", |
| 256 | ] |
Yuke Liao | 27ffccb | 2019-07-04 06:59:53 | [diff] [blame] | 257 | |
| 258 | # TODO(crbug.com/981112): This target is failing to compile consistently in |
| 259 | # coverage build, remove this condition when the bug is fixed. |
| 260 | if (!use_clang_coverage) { |
| 261 | deps += [ "//extensions/browser/api/declarative_net_request/filter_list_converter" ] |
| 262 | } |
rockot | 2f1326e | 2015-02-23 23:53:51 | [diff] [blame] | 263 | } |
| 264 | |
garykac | 3eddb5b | 2015-04-17 23:16:38 | [diff] [blame] | 265 | if (enable_remoting) { |
| 266 | deps += [ "//remoting:remoting_all" ] |
dpranke | ce5eb83 | 2015-04-01 20:21:05 | [diff] [blame] | 267 | } |
| 268 | |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 269 | if (toolkit_views) { |
ellyjones | 41c21fe | 2016-06-09 17:10:19 | [diff] [blame] | 270 | deps += [ |
| 271 | "//ui/views:views_unittests", |
| 272 | "//ui/views/examples:views_examples_exe", |
| 273 | "//ui/views/examples:views_examples_with_content_exe", |
| 274 | ] |
James Robinson | 060f2e3 | 2014-09-10 22:31:37 | [diff] [blame] | 275 | } |
| 276 | |
jamescook | 4c02a0b | 2016-12-02 23:14:42 | [diff] [blame] | 277 | if (use_aura) { |
| 278 | deps += [ |
Robert Liao | ee8a667 | 2019-08-15 21:02:03 | [diff] [blame] | 279 | "//ui/aura:aura_demo", |
msw | da0133e6 | 2016-02-16 20:50:02 | [diff] [blame] | 280 | "//ui/aura:aura_unittests", |
msw | da0133e6 | 2016-02-16 20:50:02 | [diff] [blame] | 281 | "//ui/wm:wm_unittests", |
| 282 | ] |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 283 | } |
| 284 | |
| 285 | if (use_ozone) { |
kylechar | 5c9a1fb | 2016-10-21 13:17:25 | [diff] [blame] | 286 | deps += [ |
| 287 | "//ui/ozone", |
| 288 | "//ui/ozone:ozone_unittests", |
Sergey Ulanov | 58afcdc | 2018-06-23 22:48:20 | [diff] [blame] | 289 | "//ui/ozone/demo", |
| 290 | "//ui/ozone/gl:ozone_gl_unittests", |
kylechar | 5c9a1fb | 2016-10-21 13:17:25 | [diff] [blame] | 291 | ] |
Wez | 57c9639 | 2017-12-05 22:19:05 | [diff] [blame] | 292 | |
Elliot Glaysher | a3ad4ce | 2017-12-08 20:37:29 | [diff] [blame] | 293 | if (ozone_platform_x11) { |
| 294 | deps += [ "//ui/ozone:ozone_x11_unittests" ] |
| 295 | } |
tfarina@chromium.org | a306aaa | 2014-05-24 13:21:50 | [diff] [blame] | 296 | } |
| 297 | |
thomasanderson | af830f3a | 2016-12-07 04:52:02 | [diff] [blame] | 298 | if (use_x11 || ozone_platform_x11) { |
| 299 | deps += [ "//tools/xdisplaycheck" ] |
| 300 | } |
| 301 | |
Roger Tawa | f761bb6 | 2018-10-09 20:19:27 | [diff] [blame] | 302 | if (is_win) { |
| 303 | deps += [ |
| 304 | "//chrome/credential_provider", |
| 305 | "//chrome/credential_provider/test:gcp_unittests", |
| 306 | ] |
| 307 | } |
| 308 | |
Nicolas Ouellet-Payeur | 6da29fe | 2019-06-12 17:47:45 | [diff] [blame] | 309 | if (is_win && (target_cpu == "x86" || target_cpu == "x64")) { |
| 310 | deps += [ "//chrome/browser/browser_switcher/bho:browser_switcher_dlls" ] |
| 311 | } |
| 312 | |
Nicolas Ouellet-payeur | 0d23b5cf | 2018-10-19 14:53:07 | [diff] [blame] | 313 | if (is_win || is_linux) { |
| 314 | deps += [ |
| 315 | "//tools/traffic_annotation/auditor:traffic_annotation_auditor", |
| 316 | "//tools/traffic_annotation/auditor:traffic_annotation_auditor_unittests", |
| 317 | ] |
| 318 | } |
| 319 | |
thakis | dc11faf5 | 2017-04-25 21:49:42 | [diff] [blame] | 320 | if (is_mac) { |
| 321 | deps += [ "//chrome/installer/gcapi_mac:gcapi_example" ] |
| 322 | } |
| 323 | |
dpranke@chromium.org | 5a8d516 | 2014-04-12 01:19:16 | [diff] [blame] | 324 | if (is_android) { |
cjhopman@chromium.org | 26046b5 | 2014-07-16 00:11:03 | [diff] [blame] | 325 | deps += [ |
pkotwicz | e2dae8b | 2015-11-03 20:12:55 | [diff] [blame] | 326 | "//base:base_junit_tests", |
Eric Stevenson | c3c269a3 | 2017-08-02 21:40:06 | [diff] [blame] | 327 | "//base/android/jni_generator:jni_generator_tests", |
dpranke | 244f973 | 2015-11-20 05:38:10 | [diff] [blame] | 328 | "//base/android/linker:chromium_android_linker", |
cjhopman | 3d85c6d | 2014-11-18 03:39:38 | [diff] [blame] | 329 | "//build/android/gyp/test:hello_world", |
agrieve | a350dbdb | 2017-07-05 15:27:17 | [diff] [blame] | 330 | "//build/android/stacktrace:java_deobfuscate", |
Sky Malice | 4395552 | 2020-01-07 19:55:56 | [diff] [blame] | 331 | "//build/config/android/test/proto:test_build_protos", |
Egor Pasko | fd5c84d | 2018-04-11 20:20:11 | [diff] [blame] | 332 | "//chrome/android/webapk/shell_apk:maps_go_webapk", |
pkotwicz | 2dd6796 | 2016-05-10 00:21:08 | [diff] [blame] | 333 | "//chrome/android/webapk/shell_apk:webapk", |
Peter Kotwicz | f4f4cd6 | 2019-06-11 19:57:38 | [diff] [blame] | 334 | "//chrome/android/webapk/shell_apk/prepare_upload_dir:prepare_webapk_shell_upload_dir", |
danakj | cb3fb4c0 | 2019-06-28 17:43:00 | [diff] [blame] | 335 | "//chrome/test:android_browsertests", |
pkotwicz | e2dae8b | 2015-11-03 20:12:55 | [diff] [blame] | 336 | "//components/policy/android:components_policy_junit_tests", |
Boris Sazonov | d4db00c5 | 2017-12-29 14:10:24 | [diff] [blame] | 337 | "//components/signin/core/browser/android:components_signin_junit_tests", |
pkotwicz | e2dae8b | 2015-11-03 20:12:55 | [diff] [blame] | 338 | "//content/public/android:content_junit_tests", |
pkotwicz | 8adff4e | 2015-12-17 21:55:45 | [diff] [blame] | 339 | "//content/shell/android:content_shell_apk", |
mcasas | eddfbeb | 2017-05-10 04:47:49 | [diff] [blame] | 340 | "//device:device_junit_tests", |
markdittmer | 6e70beb8 | 2016-05-02 05:40:47 | [diff] [blame] | 341 | "//media/gpu:video_decode_accelerator_unittest", |
pkotwicz | e2dae8b | 2015-11-03 20:12:55 | [diff] [blame] | 342 | "//net/android:net_junit_tests", |
ke.he | af8ead2 | 2017-05-13 03:54:30 | [diff] [blame] | 343 | "//services:service_junit_tests", |
jbudorick | 5ef4290 | 2016-04-07 04:17:11 | [diff] [blame] | 344 | "//testing/android/junit:junit_unit_tests", |
John Budorick | 3fa4315 | 2017-06-12 19:13:20 | [diff] [blame] | 345 | "//third_party/catapult/devil", |
pkotwicz | 8adff4e | 2015-12-17 21:55:45 | [diff] [blame] | 346 | "//third_party/smhasher:murmurhash3", |
pkotwicz | e38594d | 2015-09-25 00:05:10 | [diff] [blame] | 347 | "//tools/android:android_tools", |
pkotwicz | 6b5571b | 2015-12-08 21:54:49 | [diff] [blame] | 348 | "//tools/android:memconsumer", |
mikecase | f5e9830 | 2016-03-11 18:38:34 | [diff] [blame] | 349 | "//tools/android:push_apps_to_background", |
jbudorick | dfc01f6 | 2016-06-01 15:42:12 | [diff] [blame] | 350 | "//tools/android/audio_focus_grabber:audio_focus_grabber_apk", |
| 351 | "//tools/android/customtabs_benchmark:customtabs_benchmark_apk", |
Peter Wen | d0cc6d6 | 2017-11-02 16:32:30 | [diff] [blame] | 352 | "//tools/android/errorprone_plugin:errorprone_plugin_java", |
dgn | 28050da | 2015-10-19 10:16:43 | [diff] [blame] | 353 | "//tools/android/kerberos/SpnegoAuthenticator:spnego_authenticator_apk", |
newt | 9e22603 | 2016-01-26 01:30:15 | [diff] [blame] | 354 | "//ui/android:ui_junit_tests", |
Clark DuVall | b68758be | 2019-11-04 19:32:06 | [diff] [blame] | 355 | "//weblayer/public/java:client_aar", |
David Staessens | 96d56fb | 2019-10-23 07:35:05 | [diff] [blame] | 356 | "//weblayer/shell/android:weblayer_shell_apk", |
Tim Volodine | 41aca50 | 2019-12-11 17:55:55 | [diff] [blame] | 357 | "//weblayer/shell/android:weblayer_support_apk", |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 358 | ] |
| 359 | deps -= [ |
rockot | 9c67e5f | 2015-03-12 20:01:21 | [diff] [blame] | 360 | "//net:net_perftests", |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 361 | "//url:url_unittests", |
cjhopman@chromium.org | 26046b5 | 2014-07-16 00:11:03 | [diff] [blame] | 362 | ] |
| 363 | |
pkotwicz | 92e2e231 | 2015-12-15 22:29:46 | [diff] [blame] | 364 | if (!is_component_build) { |
| 365 | deps += [ |
John Budorick | bc3571aa | 2019-04-25 02:20:06 | [diff] [blame] | 366 | "//components/cronet/android:cronet_package_android", |
jbudorick | dfc01f6 | 2016-06-01 15:42:12 | [diff] [blame] | 367 | "//components/cronet/android:cronet_perf_test_apk", |
pkotwicz | 92e2e231 | 2015-12-15 22:29:46 | [diff] [blame] | 368 | "//components/cronet/android:cronet_sample_apk", |
| 369 | "//components/cronet/android:cronet_sample_test_apk", |
pkotwicz | 92e2e231 | 2015-12-15 22:29:46 | [diff] [blame] | 370 | "//components/cronet/android:cronet_test_instrumentation_apk", |
Wez | 3042f15a | 2018-02-24 01:05:49 | [diff] [blame] | 371 | "//components/cronet/android:cronet_unittests_android", |
pkotwicz | 92e2e231 | 2015-12-15 22:29:46 | [diff] [blame] | 372 | ] |
| 373 | } |
| 374 | |
pkotwicz | 061c5a4 | 2015-09-30 02:16:54 | [diff] [blame] | 375 | if (!is_chromecast) { |
| 376 | deps += [ |
Robbie McElrath | 0b2663c | 2019-12-05 20:49:06 | [diff] [blame] | 377 | "//android_webview:empty_group", |
agrieve | b08e2f5b | 2015-12-29 01:17:30 | [diff] [blame] | 378 | "//android_webview/test", |
mikecase | cb1b506 | 2016-07-01 20:53:44 | [diff] [blame] | 379 | "//android_webview/tools/automated_ui_tests:webview_ui_test_app", |
mikecase | 49971fc | 2016-03-21 21:18:05 | [diff] [blame] | 380 | "//android_webview/tools/system_webview_shell", |
Paul Miller | 0740e23 | 2018-10-30 20:27:24 | [diff] [blame] | 381 | "//android_webview/tools/webview_log_verbosifier:webview_log_verbosifier_apk", |
pkotwicz | e2dae8b | 2015-11-03 20:12:55 | [diff] [blame] | 382 | "//chrome/android:chrome_junit_tests", |
pkotwicz | 061c5a4 | 2015-09-30 02:16:54 | [diff] [blame] | 383 | "//chrome/android:chrome_public_apk", |
smaier | d50624e | 2016-08-05 14:21:10 | [diff] [blame] | 384 | "//chrome/android:chrome_public_test_apk", |
Peter Wen | 9ca6f4d | 2019-02-27 15:34:54 | [diff] [blame] | 385 | "//chrome/android/features/media_router:media_router_junit_tests", |
pkotwicz | 061c5a4 | 2015-09-30 02:16:54 | [diff] [blame] | 386 | "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_apk", |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 387 | "//content/shell/android:content_shell_test_apk", |
pkotwicz | 0a2255e | 2015-10-06 16:29:05 | [diff] [blame] | 388 | "//third_party/custom_tabs_client:custom_tabs_client_example_apk", |
pkotwicz | 061c5a4 | 2015-09-30 02:16:54 | [diff] [blame] | 389 | ] |
| 390 | } |
| 391 | |
pkotwicz | 06a4b4b4 | 2015-10-29 23:11:11 | [diff] [blame] | 392 | if (target_cpu != "x64") { |
Andrew Grieve | 7c179d7 | 2018-07-11 03:05:03 | [diff] [blame] | 393 | deps += [ "//content/shell/android:chromium_linker_test_apk" ] |
pkotwicz | 06a4b4b4 | 2015-10-29 23:11:11 | [diff] [blame] | 394 | } |
| 395 | |
dgn | d1e190d | 2017-03-17 13:34:49 | [diff] [blame] | 396 | if (enable_chrome_android_internal) { |
brettw | f9427f9 | 2016-05-05 23:18:55 | [diff] [blame] | 397 | deps += [ "//clank" ] |
cjhopman | ca675d3e | 2014-10-24 03:50:45 | [diff] [blame] | 398 | } |
Robbie McElrath | 02fee1e | 2019-10-19 15:34:45 | [diff] [blame] | 399 | |
| 400 | if (public_android_sdk) { |
| 401 | deps += [ "//chrome/android/monochrome:monochrome_apk_checker" ] |
| 402 | } |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 403 | } |
| 404 | |
David 'Digit' Turner | 799d212 | 2018-04-18 08:10:57 | [diff] [blame] | 405 | # NOTE: The following should really be 'is_android', but the fuzzing build |
| 406 | # seems currently broken for this platform at the moment, and the |
| 407 | # corresponding code build and works on Linux unmodified. |
| 408 | # See instructions in the corresponding BUILD.gn. |
| 409 | if (is_linux) { |
| 410 | deps += |
| 411 | [ "//third_party/android_crazy_linker:android_crazy_linker_zip_fuzzer" ] |
| 412 | } |
| 413 | |
Anand K. Mistry | 5cd170e | 2018-11-06 00:25:21 | [diff] [blame] | 414 | if (is_linux || is_chromeos) { |
| 415 | # This is only used by ChromeOS, but we want maximal fuzzer coverage, so |
| 416 | # run it under linux too. |
| 417 | deps += [ |
| 418 | "//third_party/minizip:minizip_compress_fuzzer", |
| 419 | "//third_party/minizip:minizip_uncompress_fuzzer", |
| 420 | ] |
| 421 | } |
| 422 | |
brettw | f9427f9 | 2016-05-05 23:18:55 | [diff] [blame] | 423 | if (is_linux || is_android) { |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 424 | deps += [ |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 425 | "//third_party/breakpad:breakpad_unittests", |
| 426 | "//third_party/breakpad:core-2-minidump", |
| 427 | "//third_party/breakpad:generate_test_dump", |
| 428 | "//third_party/breakpad:minidump-2-core", |
Benoit Lize | e34d38a | 2018-06-18 09:19:02 | [diff] [blame] | 429 | "//tools/dump_process_memory:dump_process", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 430 | ] |
| 431 | } |
| 432 | |
dpranke | 6293d25 | 2015-04-14 19:12:00 | [diff] [blame] | 433 | if (is_chromeos) { |
| 434 | deps += [ |
James Cook | f8a2bf7 | 2017-10-16 18:51:39 | [diff] [blame] | 435 | "//ash:ash_shell_with_content", |
| 436 | "//ash:ash_unittests", |
Jiaquan He | 68b28e2 | 2018-06-12 06:58:09 | [diff] [blame] | 437 | "//ash/app_list:app_list_demo", |
| 438 | "//ash/app_list:app_list_unittests", |
Darren Shen | 50e1495 | 2019-05-14 03:40:43 | [diff] [blame] | 439 | "//ash/keyboard/ui:keyboard_unittests", |
G. Silva | d21fb154 | 2019-03-15 02:17:33 | [diff] [blame] | 440 | "//chrome/test:usage_time_limit_unittests", |
dpranke | 6293d25 | 2015-04-14 19:12:00 | [diff] [blame] | 441 | "//chromeos:chromeos_unittests", |
khorimoto | 4c53995 | 2016-12-04 02:37:11 | [diff] [blame] | 442 | "//chromeos/components:chromeos_components_unittests", |
James Hawkins | 813085e | 2018-03-30 18:56:41 | [diff] [blame] | 443 | "//chromeos/components/proximity_auth:proximity_auth_unittests", |
jamescook | 4c02a0b | 2016-12-02 23:14:42 | [diff] [blame] | 444 | "//components/session_manager/core", |
dpranke | 6293d25 | 2015-04-14 19:12:00 | [diff] [blame] | 445 | "//ui/chromeos:ui_chromeos_unittests", |
| 446 | ] |
| 447 | } |
| 448 | |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 449 | if (is_chromeos || is_mac || is_win) { |
| 450 | deps += [ |
| 451 | "//rlz:rlz_id", |
| 452 | "//rlz:rlz_lib", |
| 453 | "//rlz:rlz_unittests", |
| 454 | ] |
| 455 | } |
| 456 | |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 457 | if (is_linux) { |
| 458 | # The following are definitely linux-only. |
hiroshige | e6d374c | 2015-02-24 07:54:06 | [diff] [blame] | 459 | deps += [ |
dpranke | 2bc8921 | 2015-11-18 00:24:43 | [diff] [blame] | 460 | "//chrome:xdg_mime", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 461 | "//net:disk_cache_memory_test", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 462 | "//net:quic_client", |
| 463 | "//net:quic_server", |
| 464 | "//sandbox/linux:chrome_sandbox", |
dpranke | e2ef382 | 2015-02-24 21:42:18 | [diff] [blame] | 465 | "//sandbox/linux:sandbox_linux_unittests", |
Patrik Höglund | d9dfb67 | 2018-02-19 11:55:36 | [diff] [blame] | 466 | "//testing:empty_main", |
hiroshige | e6d374c | 2015-02-24 07:54:06 | [diff] [blame] | 467 | ] |
dnicoara | 8c6aa8e | 2015-03-11 23:20:32 | [diff] [blame] | 468 | |
mbjorge | a12e5a5 | 2016-05-31 22:15:17 | [diff] [blame] | 469 | if (use_dbus) { |
| 470 | deps += [ |
| 471 | "//dbus:dbus_test_server", |
| 472 | "//dbus:dbus_unittests", |
| 473 | ] |
| 474 | } |
| 475 | |
dpranke | 2bc8921 | 2015-11-18 00:24:43 | [diff] [blame] | 476 | if (is_chrome_branded && is_official_build) { |
| 477 | # TODO(dpranke): add the linux_dump_symbols flag? |
| 478 | deps += [ "//chrome:linux_symbols" ] |
| 479 | } |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 480 | } |
| 481 | |
sherouk | e1859f9 | 2015-08-05 10:19:10 | [diff] [blame] | 482 | if (is_ios || is_win || (is_linux && !is_chromeos)) { |
| 483 | deps += [ |
| 484 | "//base:base_i18n_perftests", |
sherouk | 710734d | 2015-09-02 19:02:58 | [diff] [blame] | 485 | "//google_apis:google_apis_unittests", |
sherouk | e1859f9 | 2015-08-05 10:19:10 | [diff] [blame] | 486 | ] |
| 487 | } |
| 488 | |
Alexis Hetu | 56d2155 | 2018-08-10 19:22:41 | [diff] [blame] | 489 | if ((is_win || is_mac || is_linux || is_chromeos || is_fuchsia) && |
sugoi | a1b7b92 | 2016-12-13 12:52:49 | [diff] [blame] | 490 | (target_cpu == "x86" || target_cpu == "x64")) { |
sugoi | abe9189 | 2016-09-20 12:53:51 | [diff] [blame] | 491 | deps += [ "//third_party/swiftshader" ] |
| 492 | } |
| 493 | |
thakis | 507c15c | 2016-06-01 00:26:01 | [diff] [blame] | 494 | # TODO(GYP): Figure out which of these should (and can) build |
| 495 | # for chromeos/ios. |
scottmg | 2f97ee12 | 2017-05-12 17:50:37 | [diff] [blame] | 496 | if (!is_chromeos && !is_ios && !is_fuchsia) { |
tfarina | 9e7cf70 | 2015-02-23 21:13:44 | [diff] [blame] | 497 | deps += [ |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 498 | "//base:build_utf8_validator_tables", |
dpranke | 244f973 | 2015-11-20 05:38:10 | [diff] [blame] | 499 | "//base:check_example", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 500 | "//cc:cc_perftests", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 501 | "//components:components_perftests", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 502 | "//device:device_unittests", |
| 503 | "//gin:gin_shell", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 504 | "//gin:gin_unittests", |
Antoine Labour | c6ade25 | 2017-10-19 01:01:16 | [diff] [blame] | 505 | "//gpu:command_buffer_perftests", |
Takuto Ikuta | f533325 | 2019-11-06 16:07:08 | [diff] [blame] | 506 | "//gpu:gl_tests", |
dpranke | 244f973 | 2015-11-20 05:38:10 | [diff] [blame] | 507 | "//gpu:gpu_perftests", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 508 | "//ipc:ipc_perftests", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 509 | "//media:media_perftests", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 510 | "//net:dump_cache", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 511 | "//third_party/libphonenumber:libphonenumber_unittests", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 512 | "//ui/compositor:compositor_unittests", |
| 513 | ] |
| 514 | |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 515 | if (!is_android) { |
| 516 | deps += [ |
| 517 | "//chrome/test:load_library_perf_tests", |
| 518 | "//chrome/test:sync_performance_tests", |
John Chen | 1a0f367 | 2020-02-14 16:20:29 | [diff] [blame] | 519 | "//chrome/test/chromedriver:chromedriver", |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 520 | "//courgette:courgette", |
| 521 | "//courgette:courgette_fuzz", |
| 522 | "//courgette:courgette_minimal_tool", |
| 523 | "//courgette:courgette_unittests", |
stevenjb | 7b6fd64 | 2016-05-18 18:15:30 | [diff] [blame] | 524 | "//media/cast:generate_barcode_video", |
| 525 | "//media/cast:generate_timecode_audio", |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 526 | "//net:crash_cache", |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 527 | "//net:dns_fuzz_stub", |
Nico Weber | 2d5aa49bc | 2020-01-28 20:59:42 | [diff] [blame] | 528 | "//net:net_watcher", # TODO(GYP): This should be conditional on |
| 529 | # use_v8_in_net |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 530 | "//net:run_testserver", |
| 531 | "//net:stress_cache", |
| 532 | "//net:tld_cleanup", |
| 533 | "//ppapi:pepper_hash_for_uma", |
| 534 | "//ppapi:ppapi_perftests", |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 535 | "//third_party/leveldatabase:env_chromium_unittests", |
| 536 | "//third_party/libaddressinput:libaddressinput_unittests", |
| 537 | ] |
| 538 | } |
dpranke | 7e19b47 | 2015-11-13 00:49:33 | [diff] [blame] | 539 | |
John Chen | d03c396a | 2020-02-21 23:33:08 | [diff] [blame] | 540 | if (is_android && (target_cpu == "arm" || target_cpu == "arm64")) { |
| 541 | deps += [ "//chrome/test/chromedriver:chromedriver($host_toolchain)" ] |
| 542 | } |
| 543 | |
jamescook | fbbf911 | 2016-06-14 16:24:49 | [diff] [blame] | 544 | if (enable_extensions) { |
Michael Giuffrida | 8ca5b93 | 2019-08-08 15:43:12 | [diff] [blame] | 545 | deps += [ "//extensions/shell:app_shell" ] |
Michael Giuffrida | 4b0cdbb3 | 2018-03-16 19:13:15 | [diff] [blame] | 546 | if (is_desktop_linux && is_official_build) { |
| 547 | deps += [ "//extensions/shell:app_shell_linux_symbols" ] |
| 548 | } |
jamescook | fbbf911 | 2016-06-14 16:24:49 | [diff] [blame] | 549 | } |
| 550 | |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 551 | if (enable_nacl) { |
brettw | f4b4a428 | 2015-12-16 00:41:13 | [diff] [blame] | 552 | deps += [ "//components/nacl/loader:nacl_loader_unittests" ] |
dpranke | 2bc8921 | 2015-11-18 00:24:43 | [diff] [blame] | 553 | |
| 554 | if (is_linux) { |
| 555 | # TODO(dpranke): Figure out what platforms should actually have this. |
milko.leporis | 3de038d | 2016-08-18 09:59:37 | [diff] [blame] | 556 | deps += [ "//components/nacl/loader:nacl_helper" ] |
| 557 | |
| 558 | if (enable_nacl_nonsfi) { |
| 559 | deps += [ |
| 560 | "//components/nacl/loader:helper_nonsfi", |
| 561 | "//components/nacl/loader:nacl_helper_nonsfi_unittests", |
| 562 | ] |
| 563 | } |
dpranke | 2bc8921 | 2015-11-18 00:24:43 | [diff] [blame] | 564 | } |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 565 | } |
| 566 | |
xhwang | fa2d9d47 | 2015-12-18 23:31:18 | [diff] [blame] | 567 | if (media_use_ffmpeg && !is_android) { |
mostynb | 2196a46 | 2015-08-20 17:22:10 | [diff] [blame] | 568 | deps += [ "//media:ffmpeg_regression_tests" ] |
| 569 | } |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 570 | } |
| 571 | |
Fabrice de Gans-Riberi | d3ccfd3 | 2019-07-30 02:36:05 | [diff] [blame] | 572 | if (is_fuchsia) { |
| 573 | deps += [ "//chrome/test/chromedriver:chromedriver($host_toolchain)" ] |
| 574 | } |
| 575 | |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 576 | if (is_android || (is_linux && !is_chromeos)) { |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 577 | deps += [ |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 578 | "//components/network_hints/browser", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 579 | "//content/public/app:browser", |
| 580 | "//content/public/app:child", |
Oksana Zhuravlova | 32f0a13 | 2018-02-27 00:12:55 | [diff] [blame] | 581 | "//mojo:mojo_perftests", |
rockot | 734fb66 | 2016-10-15 16:41:30 | [diff] [blame] | 582 | "//services/service_manager/public/cpp", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 583 | "//testing/gmock:gmock_main", |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 584 | "//third_party/breakpad:dump_syms($host_toolchain)", |
| 585 | "//third_party/breakpad:microdump_stackwalk($host_toolchain)", |
| 586 | "//third_party/breakpad:minidump_dump($host_toolchain)", |
| 587 | "//third_party/breakpad:minidump_stackwalk($host_toolchain)", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 588 | ] |
| 589 | |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 590 | if (!is_android) { |
| 591 | deps += [ |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 592 | "//chrome/test:chrome_app_unittests", |
brettw | f9427f9 | 2016-05-05 23:18:55 | [diff] [blame] | 593 | "//gpu/khronos_glcts_support:khronos_glcts_test", |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 594 | "//media/cast:cast_benchmarks", |
| 595 | "//media/cast:tap_proxy", |
| 596 | "//skia:filter_fuzz_stub", |
| 597 | "//skia:image_operations_bench", |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 598 | "//ui/snapshot:snapshot_unittests", |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 599 | ] |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 600 | |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 601 | if (!is_debug && !is_component_build) { |
| 602 | deps += [ "//chrome/tools/service_discovery_sniffer" ] |
| 603 | } |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 604 | } |
| 605 | |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 606 | if (use_x11) { |
wtc | 6e2e29c | 2015-03-13 01:09:44 | [diff] [blame] | 607 | if (target_cpu != "arm") { |
tfarina | 8944e6f | 2015-03-25 20:06:59 | [diff] [blame] | 608 | deps += [ "//gpu/tools/compositor_model_bench" ] |
wtc | 6e2e29c | 2015-03-13 01:09:44 | [diff] [blame] | 609 | } |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 610 | } |
| 611 | } |
| 612 | |
| 613 | if (is_mac) { |
| 614 | deps += [ |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 615 | "//third_party/breakpad:crash_inspector", |
| 616 | "//third_party/breakpad:dump_syms", |
tfarina | 9e7cf70 | 2015-02-23 21:13:44 | [diff] [blame] | 617 | ] |
dpranke | 4376059 | 2014-11-08 02:59:57 | [diff] [blame] | 618 | deps -= [ |
brettw | 011138d | 2015-10-21 03:05:38 | [diff] [blame] | 619 | # Mojo in GN contains some things which are never compiled in GYP on Mac, |
| 620 | # so compilation fails on Mac. They need porting. |
brettw | e1d4065 | 2015-10-23 23:06:10 | [diff] [blame] | 621 | "//mojo", |
dpranke | cf8465db7 | 2014-11-10 23:51:22 | [diff] [blame] | 622 | ] |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 623 | } |
| 624 | |
| 625 | if (is_win) { |
| 626 | deps += [ |
| 627 | "//base:pe_image_test", |
John Budorick | eee513d | 2019-11-08 00:38:52 | [diff] [blame] | 628 | "//chrome/chrome_cleaner", |
Patrick Monette | 0196be2 | 2019-05-10 03:33:15 | [diff] [blame] | 629 | "//chrome/chrome_elf:chrome_elf_unittests", |
| 630 | "//chrome/chrome_elf:dll_hash_main", |
S. Ganesh | f173408 | 2018-05-23 03:34:07 | [diff] [blame] | 631 | "//chrome/elevation_service:elevation_service_unittests", |
ananta | f2e54a9 | 2016-05-28 00:39:16 | [diff] [blame] | 632 | "//chrome/install_static:install_static_unittests", |
Xi Cheng | ec65b3b | 2018-02-02 20:42:02 | [diff] [blame] | 633 | "//chrome/installer/gcapi", |
grt | 734e87b | 2015-07-06 19:36:43 | [diff] [blame] | 634 | "//chrome/installer/setup:setup_unittests", |
Xi Cheng | d47af34 | 2018-04-24 02:36:33 | [diff] [blame] | 635 | "//chrome/notification_helper:notification_helper_unittests", |
Cliff Smolinsky | 56ac67b | 2019-05-08 14:20:36 | [diff] [blame] | 636 | "//chrome/test:delayloads_unittests", |
pastarmovj | 02d5cc99 | 2016-12-05 17:55:24 | [diff] [blame] | 637 | "//cloud_print:cloud_print_unittests", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 638 | "//components/wifi:wifi_test", |
Samuel Huang | 577ef6c | 2018-03-13 18:19:34 | [diff] [blame] | 639 | "//components/zucchini", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 640 | "//net:quic_client", |
| 641 | "//net:quic_server", |
| 642 | "//sandbox/win:pocdll", |
| 643 | "//sandbox/win:sandbox_poc", |
| 644 | "//sandbox/win:sbox_integration_tests", |
| 645 | "//sandbox/win:sbox_unittests", |
| 646 | "//sandbox/win:sbox_validation_tests", |
| 647 | "//testing/gtest:gtest_main", |
ajwong | bf19327 | 2017-03-16 00:00:44 | [diff] [blame] | 648 | "//third_party/tcmalloc:addr2line-pdb", |
Xi Cheng | ec65b3b | 2018-02-02 20:42:02 | [diff] [blame] | 649 | |
| 650 | # The following two are accessibility API debugging tools. |
| 651 | "//tools/accessibility/inspect:ax_dump_events", |
| 652 | "//tools/accessibility/inspect:ax_dump_tree", |
robliao | fd54b5c | 2017-01-13 00:41:30 | [diff] [blame] | 653 | "//tools/win/chromeexts:chromeexts", |
dpranke | fd181327 | 2015-04-13 23:56:00 | [diff] [blame] | 654 | ] |
fdoray | fb048bff | 2016-04-28 22:07:36 | [diff] [blame] | 655 | |
Nico Weber | 300365f | 2018-02-23 20:45:04 | [diff] [blame] | 656 | # TODO(thakis): Enable this in cross builds, https://crbug.com/799827 |
| 657 | if (!(is_component_build && is_debug && target_cpu == "x86") && |
| 658 | host_os == "win") { |
Mike Meade | af55518 | 2018-03-21 23:26:20 | [diff] [blame] | 659 | deps += [ "//chrome/test/mini_installer:mini_installer_tests" ] |
fdoray | fb048bff | 2016-04-28 22:07:36 | [diff] [blame] | 660 | } |
scottmg | 6ea9ff3e | 2017-05-19 00:08:16 | [diff] [blame] | 661 | } else if (!is_android && !is_ios && !is_fuchsia) { |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 662 | deps += [ "//third_party/breakpad:symupload($host_toolchain)" ] |
mohsen | f837da7c | 2014-12-09 19:01:34 | [diff] [blame] | 663 | } |
rsesek | 985bd81 | 2016-04-26 21:06:15 | [diff] [blame] | 664 | |
slan | ce9d62f | 2015-11-04 01:15:01 | [diff] [blame] | 665 | if (is_chromecast) { |
Sergey Ulanov | 0740654 | 2019-12-18 00:09:43 | [diff] [blame] | 666 | deps += [ "//chromecast:cast_test_lists" ] |
| 667 | |
| 668 | if (!is_fuchsia) { |
| 669 | deps += [ "//chromecast:cast_shell" ] |
| 670 | } |
Randy Rossi | 2caf0d8 | 2019-04-15 17:17:04 | [diff] [blame] | 671 | if (enable_extensions && use_aura) { |
David Tseng | 444380b | 2020-02-26 01:47:34 | [diff] [blame] | 672 | deps += [ |
| 673 | "//chrome/browser/resources/chromeos/accessibility/chromevox:build", |
| 674 | ] |
Randy Rossi | 2caf0d8 | 2019-04-15 17:17:04 | [diff] [blame] | 675 | } |
slan | ce9d62f | 2015-11-04 01:15:01 | [diff] [blame] | 676 | } |
miu | 45b848fe | 2015-11-26 01:23:29 | [diff] [blame] | 677 | |
Joshua Peraza | 145cc93 | 2018-03-30 23:18:41 | [diff] [blame] | 678 | if (is_mac || is_win || is_android || (is_linux && !is_chromeos)) { |
rsesek | 985bd81 | 2016-04-26 21:06:15 | [diff] [blame] | 679 | deps += [ |
Mark Mentovai | 1782adb | 2017-11-08 05:11:27 | [diff] [blame] | 680 | "//third_party/crashpad/crashpad:crashpad_tests", |
rsesek | 985bd81 | 2016-04-26 21:06:15 | [diff] [blame] | 681 | "//third_party/crashpad/crashpad/handler:crashpad_handler", |
| 682 | "//third_party/crashpad/crashpad/tools:crashpad_database_util", |
| 683 | ] |
| 684 | } |
| 685 | |
hbos | 17a7b4a2 | 2015-12-07 10:49:45 | [diff] [blame] | 686 | if (use_openh264) { |
| 687 | deps += [ |
| 688 | "//third_party/openh264:common", |
| 689 | "//third_party/openh264:encoder", |
| 690 | "//third_party/openh264:processing", |
| 691 | ] |
| 692 | } |
dpranke | 2a29462 | 2015-08-07 05:23:01 | [diff] [blame] | 693 | |
Peter Beverloo | 6994832 | 2017-07-28 19:01:57 | [diff] [blame] | 694 | if (enable_message_center) { |
| 695 | deps += [ "//ui/message_center:message_center_unittests" ] |
| 696 | } |
| 697 | |
scottmg | 2f97ee12 | 2017-05-12 17:50:37 | [diff] [blame] | 698 | if (!is_android && !is_ios && !is_fuchsia) { |
scheib | 35dc920 | 2016-04-26 22:35:43 | [diff] [blame] | 699 | deps += [ "//content/browser/bluetooth/tools:bluetooth_metrics_hash" ] |
| 700 | } |
| 701 | |
ben | 8f4e95ad | 2015-12-01 18:35:58 | [diff] [blame] | 702 | if (is_win || is_linux) { |
sky | 70471b2 | 2016-01-14 16:20:54 | [diff] [blame] | 703 | deps += [ |
xhwang | 9c958fd | 2016-12-05 23:17:16 | [diff] [blame] | 704 | "//media/mojo/services:media_service_unittests", |
sky | fcde3a4 | 2016-02-09 20:27:44 | [diff] [blame] | 705 | "//mojo", |
sky | 70471b2 | 2016-01-14 16:20:54 | [diff] [blame] | 706 | ] |
kylechar | 5c9a1fb | 2016-10-21 13:17:25 | [diff] [blame] | 707 | |
wez | 0ee841c | 2016-12-21 20:36:20 | [diff] [blame] | 708 | # crbug.com/676055: media_service_unittests fails to link under Windows |
| 709 | # component builds, due to duplicate symbol definitions. |
| 710 | if (is_win && is_component_build) { |
| 711 | deps -= [ "//media/mojo/services:media_service_unittests" ] |
| 712 | } |
sky | 97b6559 | 2015-11-02 20:08:25 | [diff] [blame] | 713 | } |
| 714 | |
Eric Seckler | c01be60 | 2019-01-03 09:17:02 | [diff] [blame] | 715 | if (is_mac || is_linux || is_android || is_fuchsia) { |
Oystein Eftevaag | a9439b9 | 2018-01-08 19:30:14 | [diff] [blame] | 716 | deps += [ "//third_party/perfetto:all" ] |
| 717 | } |
| 718 | |
Victor Costan | 0ae329b7 | 2018-12-14 05:00:28 | [diff] [blame] | 719 | if (is_win || is_mac || is_linux) { |
Victor Costan | aff027744a3 | 2018-11-19 21:05:32 | [diff] [blame] | 720 | deps += [ "//third_party/sqlite:sqlite_shell" ] |
| 721 | } |
| 722 | |
stevenjb | 7b6fd64 | 2016-05-18 18:15:30 | [diff] [blame] | 723 | if (is_linux && !is_chromeos && !is_chromecast) { |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 724 | # TODO(GYP): Figure out if any of these should be in gn_all |
| 725 | # and figure out how cross-platform they are |
isherman | 0f89b43eb | 2015-04-11 00:02:45 | [diff] [blame] | 726 | deps += [ |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 727 | "//chrome/installer/util:strings", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 728 | "//chrome/tools/convert_dict", |
| 729 | "//components/constrained_window:unit_tests", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 730 | "//components/metrics:serialization", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 731 | "//components/rappor:unit_tests", |
Colin Blundell | 932b4374 | 2018-03-13 14:51:25 | [diff] [blame] | 732 | "//components/services/filesystem:filesystem_service_unittests", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 733 | "//components/sessions:unit_tests", |
| 734 | "//media/blink:media_blink_unittests", |
stevenjb | 7b6fd64 | 2016-05-18 18:15:30 | [diff] [blame] | 735 | "//media/cast:udp_proxy", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 736 | "//storage/browser:dump_file_system", |
| 737 | "//third_party/angle:libANGLE", |
| 738 | "//third_party/angle:libEGL", |
| 739 | "//third_party/angle:libGLESv2", |
pwnall | cfb346f1 | 2017-03-02 22:01:37 | [diff] [blame] | 740 | "//third_party/leveldatabase:leveldb_test_targets", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 741 | "//third_party/libjpeg_turbo:simd", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 742 | "//third_party/opus:opus_compare", |
| 743 | "//third_party/opus:opus_demo", |
dpranke | 244f973 | 2015-11-20 05:38:10 | [diff] [blame] | 744 | "//third_party/opus:test_opus_api", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 745 | "//third_party/opus:test_opus_decode", |
| 746 | "//third_party/opus:test_opus_encode", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 747 | "//third_party/opus:test_opus_padding", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 748 | "//ui/display/types", |
| 749 | "//ui/shell_dialogs:shell_dialogs_unittests", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 750 | ] |
dpranke | b071354 | 2015-07-31 21:07:21 | [diff] [blame] | 751 | |
ossy.szeged | d584dd7 | 2016-11-21 11:36:18 | [diff] [blame] | 752 | if (enable_nacl) { |
| 753 | deps += [ "//native_client/src/trusted/debug_stub:gdb_rsp_unittest" ] |
| 754 | } |
| 755 | |
Gordana.Cmiljanovic | 85746ff1 | 2015-04-28 08:17:16 | [diff] [blame] | 756 | if (target_cpu == "x86" || target_cpu == "x64") { |
agrieve | 473155b | 2015-12-28 20:23:11 | [diff] [blame] | 757 | if (!is_android) { |
| 758 | deps += [ "//chrome/test:load_library_perf_tests" ] |
| 759 | } |
Dirk Pranke | 4dabe80 | 2017-11-02 07:18:55 | [diff] [blame] | 760 | if (enable_nacl) { |
| 761 | deps += [ "//native_client/src/trusted/platform_qualify:vcpuid" ] |
| 762 | } |
| 763 | deps += [ "//third_party/libjpeg_turbo:simd_asm" ] |
Gordana.Cmiljanovic | 85746ff1 | 2015-04-28 08:17:16 | [diff] [blame] | 764 | } |
dpranke | 807f602 | 2015-03-17 23:20:56 | [diff] [blame] | 765 | if (is_linux && current_toolchain == host_toolchain) { |
jochen | 11513aa0 | 2016-05-11 09:59:51 | [diff] [blame] | 766 | deps += [ "//v8:v8_shell" ] |
dpranke | 807f602 | 2015-03-17 23:20:56 | [diff] [blame] | 767 | } |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 768 | } |
dpranke | b071354 | 2015-07-31 21:07:21 | [diff] [blame] | 769 | |
Nico Weber | a6f2e18 | 2019-03-18 15:09:25 | [diff] [blame] | 770 | if ((is_linux && !is_chromecast) || (is_win && use_libfuzzer) || |
| 771 | (use_libfuzzer && is_mac)) { |
aizatsky | af49611 | 2016-04-15 19:26:32 | [diff] [blame] | 772 | deps += [ |
Luum Habtemariam | 9c7c3e5 | 2019-08-05 22:26:22 | [diff] [blame] | 773 | "//chrome/services/ipp_parser/public/cpp:fuzzers", |
aizatsky | af49611 | 2016-04-15 19:26:32 | [diff] [blame] | 774 | "//testing/libfuzzer/fuzzers", |
Max Moroz | 174bee5 | 2019-02-21 00:11:28 | [diff] [blame] | 775 | "//third_party/grpc:fuzzers", |
aizatsky | 3f56017 | 2016-06-03 23:26:06 | [diff] [blame] | 776 | "//third_party/icu/fuzzers", |
noel | 6997c5c | 2017-04-13 14:12:18 | [diff] [blame] | 777 | "//third_party/qcms:fuzzers", |
Lei Zhang | 1295fa76 | 2017-12-12 00:49:16 | [diff] [blame] | 778 | "//third_party/zlib/contrib/tests/fuzzers", |
aizatsky | af49611 | 2016-04-15 19:26:32 | [diff] [blame] | 779 | ] |
Jonathan Metzman | 2656ecd | 2018-11-21 08:22:41 | [diff] [blame] | 780 | |
| 781 | # TODO(crbug.com/906751): Get the libFuzzer tests working on Windows. |
| 782 | # Disable them for now becaue they cause the Windows clang ToT builder to |
| 783 | # fail. |
| 784 | if (!is_win) { |
| 785 | deps += [ "//testing/libfuzzer/tests:libfuzzer_tests" ] |
| 786 | } |
aizatsky | af49611 | 2016-04-15 19:26:32 | [diff] [blame] | 787 | } |
| 788 | |
sbc | 92b4d57 | 2016-02-18 03:28:23 | [diff] [blame] | 789 | if (enable_nacl) { |
| 790 | deps += [ "//native_client_sdk/src:nacl_core_sdk" ] |
| 791 | } |
| 792 | |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 793 | if (is_linux && use_ozone) { |
| 794 | deps += [ |
Nicolas Ouellet-Payeur | c7a9d26 | 2019-05-14 01:00:25 | [diff] [blame] | 795 | "//headless:headless_non_renderer", |
skyostil | fe11616 | 2016-02-26 20:53:33 | [diff] [blame] | 796 | "//headless:headless_tests", |
| 797 | ] |
| 798 | } |
Christopher Grant | 193648b | 2017-06-07 15:08:36 | [diff] [blame] | 799 | |
| 800 | if (enable_vr) { |
Tibor Goldschwendt | 213a4220 | 2017-10-17 20:13:44 | [diff] [blame] | 801 | deps += [ |
| 802 | "//chrome/browser/vr:vr_common_perftests", |
| 803 | "//chrome/browser/vr:vr_common_unittests", |
Christopher Grant | 55c1589 | 2017-11-21 14:03:32 | [diff] [blame] | 804 | "//chrome/browser/vr:vr_pixeltests", |
bsheedy | 3b8ce26 | 2019-03-18 18:40:33 | [diff] [blame] | 805 | "//tools/perf/contrib/vr_benchmarks:vr_perf_tests", |
Tibor Goldschwendt | 213a4220 | 2017-10-17 20:13:44 | [diff] [blame] | 806 | ] |
bsheedy | b360bdad | 2018-01-18 17:33:13 | [diff] [blame] | 807 | if (is_desktop_linux && use_ozone) { |
Christopher Grant | 16c6f4e | 2017-09-29 02:12:13 | [diff] [blame] | 808 | deps += [ "//chrome/browser/vr/testapp:vr_testapp" ] |
| 809 | } |
Yash Malik | 8109b5b | 2017-07-13 22:40:03 | [diff] [blame] | 810 | if (is_android) { |
bsheedy | 3b8ce26 | 2019-03-18 18:40:33 | [diff] [blame] | 811 | deps += [ "//chrome/browser/android/vr:vr_android_unittests" ] |
Yash Malik | 8109b5b | 2017-07-13 22:40:03 | [diff] [blame] | 812 | } |
Christopher Grant | 193648b | 2017-06-07 15:08:36 | [diff] [blame] | 813 | } |
Scott Graham | f24e374 | 2017-08-11 17:50:22 | [diff] [blame] | 814 | |
Peng Huang | 19159489 | 2018-08-25 02:17:26 | [diff] [blame] | 815 | if (enable_vulkan) { |
| 816 | deps += [ "//gpu/vulkan/demo" ] |
| 817 | } |
Martin Robinson | 2979285 | 2018-09-07 18:11:18 | [diff] [blame] | 818 | |
| 819 | if (use_atk) { |
Martin Robinson | e4fddede | 2018-09-18 10:30:21 | [diff] [blame] | 820 | deps += [ |
| 821 | "//tools/accessibility/inspect:ax_dump_events", |
| 822 | "//tools/accessibility/inspect:ax_dump_tree", |
| 823 | ] |
Martin Robinson | 2979285 | 2018-09-07 18:11:18 | [diff] [blame] | 824 | } |
Alessio Bazzica | 383dcef9 | 2019-02-08 14:14:42 | [diff] [blame] | 825 | |
Kai Ninomiya | 873ceec | 2020-01-30 04:19:28 | [diff] [blame] | 826 | if (build_dawn_tests) { |
Elly Fong-Jones | b03817a | 2019-11-14 18:10:12 | [diff] [blame] | 827 | deps += [ |
| 828 | "//third_party/dawn:dawn_end2end_tests_temp_group", |
| 829 | "//third_party/dawn:dawn_unittests_temp_group", |
| 830 | ] |
| 831 | } |
| 832 | |
Alessio Bazzica | 383dcef9 | 2019-02-08 14:14:42 | [diff] [blame] | 833 | # PFFFT. |
| 834 | deps += [ |
| 835 | "//third_party/pffft:fuzzers", |
| 836 | "//third_party/pffft:pffft_benchmark", |
| 837 | "//third_party/pffft:pffft_unittest", |
| 838 | ] |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 839 | } |
| 840 | |
Takuto Ikuta | 9d11eb1 | 2018-11-20 02:30:00 | [diff] [blame] | 841 | if ((is_linux || is_win) && enable_remoting && !use_ozone) { |
| 842 | # This group is used for network annotation check test. |
| 843 | group("shipped_binaries") { |
| 844 | deps = [ |
| 845 | "//chrome:chrome", |
Yuwei Huang | 256df17 | 2019-10-01 00:55:12 | [diff] [blame] | 846 | "//remoting/client", |
Takuto Ikuta | 9d11eb1 | 2018-11-20 02:30:00 | [diff] [blame] | 847 | "//remoting/host:host", |
Nicolas Ouellet-payeur | 30c7f73 | 2019-08-20 12:08:26 | [diff] [blame] | 848 | "//tools/traffic_annotation/summary:annotations_xml", |
Takuto Ikuta | 9d11eb1 | 2018-11-20 02:30:00 | [diff] [blame] | 849 | ] |
Joe Mason | 448d37b5d | 2019-12-11 16:00:50 | [diff] [blame] | 850 | |
| 851 | if (is_win) { |
| 852 | deps += [ "//chrome/chrome_cleaner:shipped_binaries" ] |
| 853 | } |
Takuto Ikuta | 9d11eb1 | 2018-11-20 02:30:00 | [diff] [blame] | 854 | } |
| 855 | } |
| 856 | |
Scott Graham | 677e7910 | 2017-08-15 20:07:37 | [diff] [blame] | 857 | if (is_fuchsia) { |
| 858 | # TODO(https://crbug.com/731217): This can't practically be in //v8 without |
| 859 | # duplicating all the Fuchsia running infrastructure there. |
Wez | abe2d75 | 2020-02-11 17:12:23 | [diff] [blame] | 860 | cr_fuchsia_package("d8_fuchsia_pkg") { |
Kevin Marshall | 57a19db | 2018-09-12 20:07:05 | [diff] [blame] | 861 | testonly = true |
Kevin Marshall | 39b4aa8 | 2018-06-23 00:12:15 | [diff] [blame] | 862 | binary = "//v8:d8" |
| 863 | package_name_override = "d8" |
| 864 | } |
| 865 | |
| 866 | fuchsia_package_runner("d8_fuchsia") { |
Kevin Marshall | 57a19db | 2018-09-12 20:07:05 | [diff] [blame] | 867 | testonly = true |
Kevin Marshall | 39b4aa8 | 2018-06-23 00:12:15 | [diff] [blame] | 868 | package = ":d8_fuchsia_pkg" |
| 869 | package_name_override = "d8" |
Scott Graham | 677e7910 | 2017-08-15 20:07:37 | [diff] [blame] | 870 | } |
| 871 | } |
| 872 | |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 873 | # TODO(GYP_GONE): Figure out if we really need this target or if there's |
| 874 | # some better way to specify things. |
| 875 | if (is_win) { |
| 876 | group("chrome_official_builder_no_unittests") { |
| 877 | deps = [ |
proberge | fe47600 | 2017-06-23 14:29:01 | [diff] [blame] | 878 | "//chrome/common/win:eventlog_provider", |
Roger Tawa | 5cb75d7 | 2018-11-09 21:56:38 | [diff] [blame] | 879 | "//chrome/credential_provider", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 880 | "//chrome/installer/gcapi", |
| 881 | "//chrome/installer/mini_installer", |
Joshua Pawlicki | b7c32d30 | 2019-09-09 20:19:39 | [diff] [blame] | 882 | "//chrome/updater/win/installer", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 883 | "//cloud_print", |
| 884 | "//cloud_print/virtual_driver/win/port_monitor:copy_gcp_portmon_binaries", |
| 885 | "//components/policy:pack_policy_templates", |
Samuel Huang | 577ef6c | 2018-03-13 18:19:34 | [diff] [blame] | 886 | "//components/zucchini", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 887 | "//courgette", |
| 888 | "//courgette:copy_courgette_binaries", |
holte | b87f01f5 | 2017-04-10 20:45:53 | [diff] [blame] | 889 | "//tools/metrics:metrics_metadata", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 890 | ] |
| 891 | |
| 892 | if (target_cpu == "x86") { |
| 893 | if (is_clang) { |
Nico Weber | 94d731c1 | 2017-07-25 19:40:46 | [diff] [blame] | 894 | deps += [ "//courgette(//build/toolchain/win:win_clang_x64)" ] |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 895 | } else { |
| 896 | deps += [ "//courgette(//build/toolchain/win:x64)" ] |
| 897 | } |
| 898 | } |
| 899 | if (is_chrome_branded) { |
| 900 | deps += [ "//remoting/host:remoting_host_installation" ] |
| 901 | } |
| 902 | } |
| 903 | |
| 904 | group("chrome_official_builder") { |
| 905 | testonly = true |
| 906 | |
| 907 | deps = [ |
| 908 | ":chrome_official_builder_no_unittests", |
| 909 | "//base:base_unittests", |
| 910 | "//chrome/test:browser_tests", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 911 | "//ipc:ipc_tests", |
| 912 | "//media:media_unittests", |
| 913 | "//media/midi:midi_unittests", |
| 914 | "//net:net_unittests", |
| 915 | "//printing:printing_unittests", |
| 916 | "//sql:sql_unittests", |
| 917 | "//ui/base:ui_base_unittests", |
| 918 | "//ui/gfx:gfx_unittests", |
| 919 | "//ui/touch_selection:ui_touch_selection_unittests", |
| 920 | "//ui/views:views_unittests", |
| 921 | "//url:url_unittests", |
| 922 | ] |
| 923 | } |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 924 | } |
| 925 | |
| 926 | if (is_chromeos) { |
| 927 | group("chromiumos_preflight") { |
| 928 | testonly = true |
| 929 | deps = [ |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 930 | "//chrome", |
Chinglin Yu | d414125 | 2019-09-23 10:25:05 | [diff] [blame] | 931 | "//chrome/browser/metrics/perf:profile_provider_unittest", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 932 | "//chrome/test/chromedriver", |
Wei Lee | 01d63ef | 2019-05-09 09:24:50 | [diff] [blame] | 933 | "//components/chromeos_camera:jpeg_decode_accelerator_unittest", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 934 | "//media:media_unittests", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 935 | "//ppapi/examples/video_decode", |
| 936 | "//sandbox/linux:chrome_sandbox", |
| 937 | "//sandbox/linux:sandbox_linux_unittests", |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 938 | "//third_party/breakpad:minidump_stackwalk($host_toolchain)", |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 939 | |
| 940 | # Blocked on https://github.com/catapult-project/catapult/issues/2297 |
| 941 | #"//third_party/catapult/telemetry:bitmaptools", |
| 942 | "//tools/perf/clear_system_cache", |
| 943 | ] |
Alexandre Courbot | 8ad2427d | 2017-08-25 14:04:55 | [diff] [blame] | 944 | |
| 945 | if (use_v4l2_codec || use_vaapi) { |
| 946 | deps += [ |
Wei Lee | 01d63ef | 2019-05-09 09:24:50 | [diff] [blame] | 947 | "//components/chromeos_camera:jpeg_encode_accelerator_unittest", |
David Staessens | 601a210 | 2019-02-06 03:37:13 | [diff] [blame] | 948 | "//media/gpu:video_decode_accelerator_perf_tests", |
David Staessens | 82b5b7d | 2018-11-21 10:40:26 | [diff] [blame] | 949 | "//media/gpu:video_decode_accelerator_tests", |
Alexandre Courbot | 8ad2427d | 2017-08-25 14:04:55 | [diff] [blame] | 950 | "//media/gpu:video_encode_accelerator_unittest", |
| 951 | ] |
| 952 | } |
tfarina | fbc99249 | 2017-03-08 22:44:04 | [diff] [blame] | 953 | } |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 954 | } |
| 955 | |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 956 | group("gn_visibility") { |
dpranke | d62d851 | 2015-03-02 03:06:03 | [diff] [blame] | 957 | deps = [ |
dpranke | b6128d0 | 2015-05-01 16:40:30 | [diff] [blame] | 958 | "//build/config/sanitizers:options_sources", |
dpranke | db5527d7 | 2015-03-08 04:22:47 | [diff] [blame] | 959 | # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? |
| 960 | # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? |
dpranke | d62d851 | 2015-03-02 03:06:03 | [diff] [blame] | 961 | ] |
dpranke | d2fb522 | 2015-09-10 22:39:05 | [diff] [blame] | 962 | |
| 963 | if (!is_ios) { |
Peng Huang | a3f0ece | 2018-01-20 01:22:46 | [diff] [blame] | 964 | deps += [ "//v8:postmortem-metadata" ] |
Simon Zünd | b6e449b | 2019-10-15 07:33:43 | [diff] [blame] | 965 | if (!v8_use_external_startup_data) { |
Peng Huang | a3f0ece | 2018-01-20 01:22:46 | [diff] [blame] | 966 | deps += [ "//v8:v8_snapshot" ] |
| 967 | } |
dpranke | d2fb522 | 2015-09-10 22:39:05 | [diff] [blame] | 968 | } |
dpranke | d62d851 | 2015-03-02 03:06:03 | [diff] [blame] | 969 | } |
| 970 | |
Sergey Ulanov | daa25ebc | 2018-01-02 18:17:17 | [diff] [blame] | 971 | if (!is_ios) { |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 972 | # This group includes all of the targets needed to build and test Blink, |
Giovanni Ortuño Urquidi | e7f98f8 | 2019-10-29 00:26:59 | [diff] [blame] | 973 | # including running web tests (see below). This target is defined here because |
| 974 | # previously //third_party/WebKit, now //third_party/blink, couldn't depend on |
| 975 | # //content/shell. This might not longer be true, see |
| 976 | # https://crbug.com/1018659. |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 977 | group("blink_tests") { |
| 978 | testonly = true |
| 979 | |
| 980 | deps = [ |
Kent Tamura | ef54e40 | 2019-02-14 07:18:36 | [diff] [blame] | 981 | ":blink_web_tests", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 982 | "//third_party/blink/public:all_blink", |
tansell | 88df4259 | 2016-11-15 07:22:59 | [diff] [blame] | 983 | ] |
| 984 | } |
| 985 | |
Kent Tamura | ef54e40 | 2019-02-14 07:18:36 | [diff] [blame] | 986 | # Web tests runner |
Kent Tamura | 5e69e91 | 2018-05-02 13:05:00 | [diff] [blame] | 987 | # third_party/blink/tools/run_web_tests.py |
Kent Tamura | ef54e40 | 2019-02-14 07:18:36 | [diff] [blame] | 988 | group("run_web_tests") { |
tansell | 88df4259 | 2016-11-15 07:22:59 | [diff] [blame] | 989 | testonly = true |
Nico Weber | 77da494 | 2020-01-13 20:13:35 | [diff] [blame] | 990 | deps = [ ":blink_web_tests" ] |
tansell | 88df4259 | 2016-11-15 07:22:59 | [diff] [blame] | 991 | } |
| 992 | |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 993 | if (!is_chromeos && !is_ios && !is_fuchsia && !is_android) { |
| 994 | # WPT Webdriver tests runner |
| 995 | # chrome/test/chromedriver/test/run_webdriver_tests.py |
| 996 | group("webdriver_wpt_tests") { |
| 997 | testonly = true |
| 998 | data = [ |
kyle Ju | 1c03185 | 2019-03-28 16:31:48 | [diff] [blame] | 999 | "//chrome/test/chromedriver/chrome_paths.py", |
| 1000 | "//chrome/test/chromedriver/server/server.py", |
| 1001 | "//chrome/test/chromedriver/test/run_webdriver_tests.py", |
| 1002 | "//chrome/test/chromedriver/util.py", |
| 1003 | "//testing/xvfb.py", |
kyle Ju | 0eabe31 | 2019-02-15 15:29:50 | [diff] [blame] | 1004 | "//third_party/blink/tools/blinkpy/", |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 1005 | "//third_party/blink/web_tests/external/wpt/webdriver/", |
kyle Ju | 1c03185 | 2019-03-28 16:31:48 | [diff] [blame] | 1006 | "//third_party/blink/web_tests/VirtualTestSuites", |
| 1007 | "//third_party/blink/web_tests/WebDriverExpectations", |
kyle Ju | 0eabe31 | 2019-02-15 15:29:50 | [diff] [blame] | 1008 | "//third_party/pywebsocket/src/mod_pywebsocket/", |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 1009 | ] |
| 1010 | data_deps = [ |
| 1011 | "//chrome:chrome", |
| 1012 | "//chrome/test/chromedriver", |
Robert Ma | 6f90876 | 2020-01-31 16:24:54 | [diff] [blame] | 1013 | "//third_party/catapult/third_party/typ", |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 1014 | ] |
Scott Violet | 0a4949d | 2020-02-11 18:53:03 | [diff] [blame] | 1015 | if (is_win) { |
| 1016 | data_deps += [ "//build/win:copy_cdb_to_output" ] |
| 1017 | } |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 1018 | } |
Luke Zielinski | 218ddea3 | 2019-07-15 16:52:24 | [diff] [blame] | 1019 | group("wpt_tests_isolate") { |
| 1020 | testonly = true |
| 1021 | data_deps = [ |
| 1022 | "//chrome:chrome", |
| 1023 | "//chrome/test/chromedriver", |
| 1024 | ] |
Robert Ma | 6f90876 | 2020-01-31 16:24:54 | [diff] [blame] | 1025 | deps = [ |
| 1026 | "//third_party/blink/tools:wpt_tests_isolate", |
| 1027 | "//third_party/catapult/third_party/typ", |
| 1028 | ] |
Luke Zielinski | 218ddea3 | 2019-07-15 16:52:24 | [diff] [blame] | 1029 | } |
kyle Ju | f8cdeac | 2019-02-07 00:10:01 | [diff] [blame] | 1030 | } |
| 1031 | |
Liviu Rau | 7862f8f | 2019-12-09 21:33:19 | [diff] [blame] | 1032 | group("devtools_web_tests") { |
| 1033 | testonly = true |
Nico Weber | 77da494 | 2020-01-13 20:13:35 | [diff] [blame] | 1034 | deps = [ ":blink_web_tests" ] |
| 1035 | data_deps = [ ":blink_web_tests" ] |
| 1036 | data = [ "//third_party/devtools-frontend/src/test/webtests/" ] |
Liviu Rau | 7862f8f | 2019-12-09 21:33:19 | [diff] [blame] | 1037 | } |
| 1038 | |
tansell | 88df4259 | 2016-11-15 07:22:59 | [diff] [blame] | 1039 | # https://www.chromium.org/developers/testing/webkit-layout-tests |
John Budorick | 7c8273b | 2019-04-25 15:27:47 | [diff] [blame] | 1040 | generate_wrapper("blink_web_tests") { |
| 1041 | testonly = true |
| 1042 | wrapper_script = "${root_build_dir}/bin/run_blink_web_tests" |
| 1043 | executable = "//third_party/blink/tools/run_web_tests.py" |
| 1044 | executable_args = [] |
| 1045 | |
Ned Nguyen | 94d77df | 2018-11-06 00:38:07 | [diff] [blame] | 1046 | if (is_debug) { |
John Budorick | 7c8273b | 2019-04-25 15:27:47 | [diff] [blame] | 1047 | executable_args += [ "--debug" ] |
Ned Nguyen | 94d77df | 2018-11-06 00:38:07 | [diff] [blame] | 1048 | } else { |
John Budorick | 7c8273b | 2019-04-25 15:27:47 | [diff] [blame] | 1049 | executable_args += [ "--release" ] |
| 1050 | } |
| 1051 | |
| 1052 | if (is_android) { |
| 1053 | executable_args += [ |
| 1054 | "--platform", |
| 1055 | "android", |
Ned Nguyen | 94d77df | 2018-11-06 00:38:07 | [diff] [blame] | 1056 | ] |
| 1057 | } |
| 1058 | |
tansell | 88df4259 | 2016-11-15 07:22:59 | [diff] [blame] | 1059 | data_deps = [ |
yzshen | a064699 | 2017-04-02 22:01:27 | [diff] [blame] | 1060 | ":layout_test_data_mojo_bindings", |
Ken Rockot | 86d36046 | 2018-10-24 02:50:09 | [diff] [blame] | 1061 | ":layout_test_data_mojo_bindings_lite", |
tansell | 88df4259 | 2016-11-15 07:22:59 | [diff] [blame] | 1062 | "//content/shell:content_shell", |
Ovidio Henriquez | 25e7f8d | 2019-05-02 01:37:17 | [diff] [blame] | 1063 | "//content/shell:mojo_bindings_js_data_deps", |
Natalie Chouinard | 3f8829c | 2019-12-17 02:39:20 | [diff] [blame] | 1064 | "//content/test:mojo_web_test_bindings_js_data_deps", |
Reilly Grant | fa93b14 | 2018-02-01 02:13:48 | [diff] [blame] | 1065 | "//device/bluetooth/public/mojom:fake_bluetooth_interfaces_js_data_deps", |
Reilly Grant | fa93b14 | 2018-02-01 02:13:48 | [diff] [blame] | 1066 | "//device/vr/public/mojom:mojom_js_data_deps", |
Christian Fremerey | 65d1f5e | 2018-03-02 23:46:48 | [diff] [blame] | 1067 | "//media/capture/mojom:image_capture_js_data_deps", |
Adithya Srinivasan | 5b82b2e | 2018-12-14 16:08:09 | [diff] [blame] | 1068 | "//media/midi:mojo_js_data_deps", |
yzshen | 9e737bf | 2017-06-21 19:38:23 | [diff] [blame] | 1069 | "//mojo/public/interfaces/bindings/tests:test_data_deps", |
Giovanni Ortuño Urquidi | f07d80c | 2019-10-03 07:43:38 | [diff] [blame] | 1070 | "//mojo/public/js/ts/bindings/tests:test_interfaces_js_data_deps", |
Natalie Chouinard | 3f8829c | 2019-12-17 02:39:20 | [diff] [blame] | 1071 | "//mojo/public/mojom/base:base_js_data_deps", |
Ke He | 31d0bb0 | 2018-02-24 07:16:24 | [diff] [blame] | 1072 | "//services/device/public/mojom:generic_sensor_js_data_deps", |
Natalie Chouinard | 3f8829c | 2019-12-17 02:39:20 | [diff] [blame] | 1073 | "//services/device/public/mojom:mojom_js_data_deps", |
Donna Wu | 4dc9df3 | 2019-05-20 03:56:21 | [diff] [blame] | 1074 | "//services/device/public/mojom:usb_js_data_deps", |
Natalie Chouinard | 3f8829c | 2019-12-17 02:39:20 | [diff] [blame] | 1075 | "//services/shape_detection/public/mojom:mojom_js_data_deps", |
Miyoung Shin | 40adbd6 | 2019-07-30 07:33:40 | [diff] [blame] | 1076 | "//skia/public/mojom:mojom_js_data_deps", |
jonross | c1179f2c | 2019-04-23 22:56:15 | [diff] [blame] | 1077 | "//testing/buildbot/filters:blink_web_tests_filter", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 1078 | "//third_party/blink/public:blink_devtools_frontend_resources_files", |
Julie Jeongeun Kim | 4f1b5aa | 2019-05-08 01:32:09 | [diff] [blame] | 1079 | "//third_party/blink/public/mojom:mojom_platform_js_data_deps", |
Sanket Joshi | 0a13421 | 2019-07-31 21:38:33 | [diff] [blame] | 1080 | "//third_party/blink/renderer/core/html:js_files_for_form_controls_web_tests", |
Fergal Daly | a700a0a | 2019-07-16 05:15:17 | [diff] [blame] | 1081 | "//third_party/blink/renderer/core/script:js_files_for_web_tests", |
Rakib M. Hasan | 995ca2e | 2019-10-14 19:48:40 | [diff] [blame] | 1082 | "//third_party/catapult/third_party/typ", |
Alexis Hetu | 0f21886 | 2018-08-13 18:51:42 | [diff] [blame] | 1083 | "//third_party/mesa_headers", |
agrieve | 993374cf | 2016-04-13 00:05:39 | [diff] [blame] | 1084 | "//tools/imagediff", |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1085 | ] |
| 1086 | |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1087 | if (is_android) { |
tansell | 88df4259 | 2016-11-15 07:22:59 | [diff] [blame] | 1088 | data_deps += [ |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 1089 | "//third_party/breakpad:breakpad_unittests", |
| 1090 | "//third_party/breakpad:dump_syms", |
| 1091 | "//third_party/breakpad:microdump_stackwalk", |
| 1092 | "//third_party/breakpad:minidump_dump", |
| 1093 | "//third_party/breakpad:minidump_stackwalk", |
| 1094 | "//third_party/breakpad:symupload", |
jbudorick | e7bcf09 | 2016-09-28 18:24:14 | [diff] [blame] | 1095 | "//tools/android/forwarder2", |
ojan | 94989c7 | 2015-07-17 21:56:42 | [diff] [blame] | 1096 | ] |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1097 | } |
| 1098 | |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1099 | if (!is_win && !is_android) { |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 1100 | data_deps += |
| 1101 | [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1102 | } |
| 1103 | |
| 1104 | if (is_mac) { |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 1105 | data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1106 | } |
| 1107 | |
| 1108 | if (is_linux) { |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 1109 | data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1110 | } |
qyearsley | 165a17a8 | 2016-08-01 17:58:50 | [diff] [blame] | 1111 | |
Sergey Ulanov | daa25ebc | 2018-01-02 18:17:17 | [diff] [blame] | 1112 | if (is_fuchsia) { |
Sergey Ulanov | afa1d412 | 2020-01-14 01:51:10 | [diff] [blame] | 1113 | data_deps += [ "//content/shell:content_shell_fuchsia" ] |
Sergey Ulanov | daa25ebc | 2018-01-02 18:17:17 | [diff] [blame] | 1114 | } |
| 1115 | |
qyearsley | 165a17a8 | 2016-08-01 17:58:50 | [diff] [blame] | 1116 | data = [ |
tansell | 88df4259 | 2016-11-15 07:22:59 | [diff] [blame] | 1117 | "//testing/scripts/common.py", |
tansell | 0e6baaf2 | 2017-02-16 09:14:53 | [diff] [blame] | 1118 | "//testing/scripts/run_isolated_script_test.py", |
tansell | 5509091 | 2017-02-20 12:54:31 | [diff] [blame] | 1119 | "//testing/xvfb.py", |
Kent Tamura | 6a4d23b | 2018-04-17 01:09:49 | [diff] [blame] | 1120 | "//third_party/blink/perf_tests/", |
Kent Tamura | c1e4c41 | 2018-04-19 02:01:36 | [diff] [blame] | 1121 | "//third_party/blink/tools/", |
Kent Tamura | 77578cc | 2018-11-25 22:33:43 | [diff] [blame] | 1122 | "//third_party/blink/web_tests/", |
Takuto Ikuta | 7ff839d | 2018-08-09 03:15:36 | [diff] [blame] | 1123 | "//third_party/pywebsocket/src/mod_pywebsocket/", |
qyearsley | 165a17a8 | 2016-08-01 17:58:50 | [diff] [blame] | 1124 | ] |
tansell | 0e6baaf2 | 2017-02-16 09:14:53 | [diff] [blame] | 1125 | |
tansell | 820f7df | 2017-02-16 13:59:15 | [diff] [blame] | 1126 | if (is_win) { |
tansell | 1b05bbd | 2017-05-04 09:30:32 | [diff] [blame] | 1127 | data += [ |
| 1128 | "//third_party/apache-win32/", |
Takuto Ikuta | 1623ca3 | 2018-11-12 15:16:08 | [diff] [blame] | 1129 | "//third_party/perl/perl/", |
tansell | 1b05bbd | 2017-05-04 09:30:32 | [diff] [blame] | 1130 | ] |
Scott Violet | 0a4949d | 2020-02-11 18:53:03 | [diff] [blame] | 1131 | data_deps += [ "//build/win:copy_cdb_to_output" ] |
tansell | 820f7df | 2017-02-16 13:59:15 | [diff] [blame] | 1132 | } |
| 1133 | |
David Benjamin | ddc843c | 2019-03-26 14:50:07 | [diff] [blame] | 1134 | if (is_mac) { |
| 1135 | data += [ "//third_party/apache-mac/" ] |
| 1136 | } |
| 1137 | |
tansell | 0e6baaf2 | 2017-02-16 09:14:53 | [diff] [blame] | 1138 | if (is_android) { |
| 1139 | data += [ |
| 1140 | "//third_party/catapult/", |
| 1141 | "//build/android/", |
| 1142 | ] |
| 1143 | } |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1144 | } |
yzshen | a064699 | 2017-04-02 22:01:27 | [diff] [blame] | 1145 | |
| 1146 | copy("layout_test_data_mojo_bindings") { |
| 1147 | testonly = true |
| 1148 | |
Nico Weber | 77da494 | 2020-01-13 20:13:35 | [diff] [blame] | 1149 | sources = [ "$root_gen_dir/mojo/public/js/mojo_bindings.js" ] |
yzshen | a064699 | 2017-04-02 22:01:27 | [diff] [blame] | 1150 | |
Nico Weber | 77da494 | 2020-01-13 20:13:35 | [diff] [blame] | 1151 | outputs = |
| 1152 | [ "$root_gen_dir/layout_test_data/mojo/public/js/mojo_bindings.js" ] |
yzshen | a064699 | 2017-04-02 22:01:27 | [diff] [blame] | 1153 | |
Nico Weber | 77da494 | 2020-01-13 20:13:35 | [diff] [blame] | 1154 | deps = [ "//mojo/public/js:bindings" ] |
yzshen | a064699 | 2017-04-02 22:01:27 | [diff] [blame] | 1155 | } |
Dirk Pranke | 43a5c81 | 2017-09-06 03:25:41 | [diff] [blame] | 1156 | |
Ken Rockot | 86d36046 | 2018-10-24 02:50:09 | [diff] [blame] | 1157 | copy("layout_test_data_mojo_bindings_lite") { |
| 1158 | testonly = true |
| 1159 | |
Nico Weber | 77da494 | 2020-01-13 20:13:35 | [diff] [blame] | 1160 | sources = [ "$root_gen_dir/mojo/public/js/mojo_bindings_lite.js" ] |
Ken Rockot | 86d36046 | 2018-10-24 02:50:09 | [diff] [blame] | 1161 | |
| 1162 | outputs = [ |
| 1163 | "$root_gen_dir/layout_test_data/mojo/public/js/mojo_bindings_lite.js", |
| 1164 | ] |
| 1165 | |
Nico Weber | 77da494 | 2020-01-13 20:13:35 | [diff] [blame] | 1166 | deps = [ "//mojo/public/js:bindings_lite" ] |
Ken Rockot | 86d36046 | 2018-10-24 02:50:09 | [diff] [blame] | 1167 | } |
| 1168 | |
Kent Tamura | ef54e40 | 2019-02-14 07:18:36 | [diff] [blame] | 1169 | group("blink_python_tests") { |
Dirk Pranke | 43a5c81 | 2017-09-06 03:25:41 | [diff] [blame] | 1170 | data = [ |
| 1171 | "//build/android/", |
| 1172 | "//components/crash/content/tools/generate_breakpad_symbols.py", |
| 1173 | "//testing/scripts/common.py", |
| 1174 | "//testing/scripts/run_isolated_script_test.py", |
| 1175 | "//testing/test_env.py", |
| 1176 | "//testing/xvfb.py", |
Kent Tamura | 968e769 | 2018-04-17 23:05:57 | [diff] [blame] | 1177 | "//third_party/blink/renderer/bindings/scripts/", |
| 1178 | "//third_party/blink/renderer/build/scripts/", |
Dirk Pranke | 43a5c81 | 2017-09-06 03:25:41 | [diff] [blame] | 1179 | "//third_party/blink/tools/", |
Kent Tamura | 77578cc | 2018-11-25 22:33:43 | [diff] [blame] | 1180 | "//third_party/blink/web_tests/ASANExpectations", |
| 1181 | "//third_party/blink/web_tests/LeakExpectations", |
| 1182 | "//third_party/blink/web_tests/MSANExpectations", |
| 1183 | "//third_party/blink/web_tests/NeverFixTests", |
| 1184 | "//third_party/blink/web_tests/SlowTests", |
| 1185 | "//third_party/blink/web_tests/StaleTestExpectations", |
| 1186 | "//third_party/blink/web_tests/TestExpectations", |
| 1187 | "//third_party/blink/web_tests/VirtualTestSuites", |
Dirk Pranke | 43a5c81 | 2017-09-06 03:25:41 | [diff] [blame] | 1188 | "//third_party/catapult/common/py_utils/", |
| 1189 | "//third_party/catapult/devil/", |
| 1190 | "//third_party/catapult/dependency_manager/", |
| 1191 | "//third_party/catapult/third_party/zipfile/", |
Ned Nguyen | c335c43 | 2018-04-23 01:16:46 | [diff] [blame] | 1192 | "//third_party/catapult/third_party/typ/", |
Mike Frysinger | 8f8404b | 2019-08-21 02:20:29 | [diff] [blame] | 1193 | "//third_party/depot_tools/pylint", |
| 1194 | "//third_party/depot_tools/pylint-1.5", |
| 1195 | "//third_party/depot_tools/pylint_main.py", |
Dirk Pranke | 43a5c81 | 2017-09-06 03:25:41 | [diff] [blame] | 1196 | "//third_party/depot_tools/pylintrc", |
Dirk Pranke | 43a5c81 | 2017-09-06 03:25:41 | [diff] [blame] | 1197 | "//third_party/ply/", |
| 1198 | "//third_party/pymock/", |
Dirk Pranke | 43a5c81 | 2017-09-06 03:25:41 | [diff] [blame] | 1199 | "//tools/idl_parser/", |
| 1200 | ] |
| 1201 | } |
tfarina | cb2638b | 2015-05-12 03:24:15 | [diff] [blame] | 1202 | } |
| 1203 | |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1204 | group("chromium_builder_perf") { |
| 1205 | testonly = true |
| 1206 | |
scottmg | 2f97ee12 | 2017-05-12 17:50:37 | [diff] [blame] | 1207 | if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) { |
malets | 6b706240 | 2016-09-15 08:14:26 | [diff] [blame] | 1208 | data_deps = [ |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1209 | "//cc:cc_perftests", |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1210 | "//chrome/test:load_library_perf_tests", |
Emily Hanley | edab9e5 | 2018-01-17 18:47:32 | [diff] [blame] | 1211 | "//chrome/test:performance_test_suite", |
kraynov | c079758 | 2016-10-25 16:45:06 | [diff] [blame] | 1212 | "//components/tracing:tracing_perftests", |
Antoine Labour | c6ade25 | 2017-10-19 01:01:16 | [diff] [blame] | 1213 | "//gpu:command_buffer_perftests", |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1214 | "//gpu:gpu_perftests", |
| 1215 | "//media:media_perftests", |
kbr | 1e58e78 | 2016-05-27 17:21:19 | [diff] [blame] | 1216 | "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1217 | ] |
| 1218 | |
nednguyen | 6451d7d | 2017-05-09 14:37:54 | [diff] [blame] | 1219 | if (is_android) { |
Yun Liu | f57cceaf | 2019-03-18 21:31:23 | [diff] [blame] | 1220 | data += [ "//third_party/android_sdk/public/platform-tools/adb" ] |
nednguyen | 6451d7d | 2017-05-09 14:37:54 | [diff] [blame] | 1221 | } |
| 1222 | |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1223 | if (!is_chromeos) { |
malets | 6b706240 | 2016-09-15 08:14:26 | [diff] [blame] | 1224 | data_deps += [ "//chrome/test:performance_browser_tests" ] |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1225 | } |
| 1226 | if (is_linux && !is_chromeos) { |
dpranke | 9aed5d58 | 2015-11-22 23:22:04 | [diff] [blame] | 1227 | if (is_official_build) { |
| 1228 | # In GN builds, this is controlled by the 'linux_dump_symbols' |
| 1229 | # flag, which defaults to 1 for official builds. For now, |
| 1230 | # we skip the separate flag and just key off of is_official_build. |
malets | 6b706240 | 2016-09-15 08:14:26 | [diff] [blame] | 1231 | data_deps += [ "//chrome:linux_symbols" ] |
dpranke | 9aed5d58 | 2015-11-22 23:22:04 | [diff] [blame] | 1232 | } |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1233 | |
kraynov | c079758 | 2016-10-25 16:45:06 | [diff] [blame] | 1234 | data_deps += [ "//tools/perf/clear_system_cache" ] |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1235 | } |
| 1236 | |
| 1237 | if (is_win) { |
Yuly Novikov | 8a6e635 | 2017-11-11 02:00:40 | [diff] [blame] | 1238 | data_deps += [ "//chrome/installer/mini_installer:mini_installer" ] |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1239 | } else { |
Mark Mentovai | ebb9ddd | 2017-09-25 17:24:41 | [diff] [blame] | 1240 | data_deps += |
| 1241 | [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1242 | } |
Yuly Novikov | 8a6e635 | 2017-11-11 02:00:40 | [diff] [blame] | 1243 | if (is_win || is_android) { |
Charlie Harrison | 3c44891 | 2018-03-23 16:54:17 | [diff] [blame] | 1244 | data_deps += [ |
Charlie Harrison | 3c44891 | 2018-03-23 16:54:17 | [diff] [blame] | 1245 | "//chrome/test:angle_perftests", |
Natalie Chouinard | 3f8829c | 2019-12-17 02:39:20 | [diff] [blame] | 1246 | "//components:components_perftests", |
Charlie Harrison | 3c44891 | 2018-03-23 16:54:17 | [diff] [blame] | 1247 | ] |
Yuly Novikov | 8a6e635 | 2017-11-11 02:00:40 | [diff] [blame] | 1248 | } |
dpranke | 2302dfa | 2015-09-29 02:21:52 | [diff] [blame] | 1249 | } |
| 1250 | } |
agrieve | 017b91f | 2016-02-29 20:15:06 | [diff] [blame] | 1251 | |
scottmg | 2f97ee12 | 2017-05-12 17:50:37 | [diff] [blame] | 1252 | if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) { |
thakis | 3f7d4fc | 2016-06-10 18:47:50 | [diff] [blame] | 1253 | group("chromium_builder_asan") { |
| 1254 | testonly = true |
| 1255 | |
| 1256 | deps = [ |
| 1257 | "//chrome:chrome", |
| 1258 | "//content/shell:content_shell", |
| 1259 | "//v8:d8", |
| 1260 | ] |
| 1261 | if (!is_win) { |
| 1262 | deps += [ |
| 1263 | "//net:dns_fuzz_stub", |
thakis | 3f7d4fc | 2016-06-10 18:47:50 | [diff] [blame] | 1264 | "//skia:filter_fuzz_stub", |
| 1265 | ] |
| 1266 | } |
| 1267 | if (enable_ipc_fuzzer && !is_component_build) { |
Ken Rockot | f87b01cf | 2018-12-26 06:52:26 | [diff] [blame] | 1268 | deps += [ "//tools/ipc_fuzzer:ipc_fuzzer_all" ] |
thakis | 3f7d4fc | 2016-06-10 18:47:50 | [diff] [blame] | 1269 | } |
| 1270 | if (!is_chromeos) { |
| 1271 | deps += [ |
| 1272 | "//third_party/pdfium/samples:pdfium_test", |
dpranke | 8a2de90 | 2016-07-14 20:08:37 | [diff] [blame] | 1273 | "//v8:v8_shell($v8_snapshot_toolchain)", |
thakis | 3f7d4fc | 2016-06-10 18:47:50 | [diff] [blame] | 1274 | ] |
| 1275 | } |
Max Moroz | 109e76b | 2020-02-10 17:19:52 | [diff] [blame] | 1276 | |
| 1277 | if (!is_component_build) { |
| 1278 | # See https://bugs.chromium.org/p/chromium/issues/detail?id=942546#c11. |
| 1279 | deps += [ |
| 1280 | "//third_party/webrtc/rtc_tools:rtp_generator", |
| 1281 | "//third_party/webrtc/rtc_tools:video_replay", |
| 1282 | ] |
| 1283 | } |
thakis | 3f7d4fc | 2016-06-10 18:47:50 | [diff] [blame] | 1284 | } |
| 1285 | } |
| 1286 | |
agrieve | 95ba444 | 2016-04-25 15:47:13 | [diff] [blame] | 1287 | if (is_android) { |
| 1288 | group("optimize_gn_gen") { |
| 1289 | deps = [ |
| 1290 | # These run expensive scripts in non-default toolchains. Generally, host |
| 1291 | # toolchain targets are loaded in the later part of the run, and the |
| 1292 | # result is they push out the end of generation. By preloading these, the |
| 1293 | # scripts can be parallelized with the rest of the load. |
| 1294 | "//build/config/linux(//build/toolchain/linux:clang_x64)", |
| 1295 | "//build/config/posix(//build/toolchain/linux:clang_x64)", |
| 1296 | |
| 1297 | # Include x86 toolchains as well since V8 uses them for 32-bit snapshot |
| 1298 | # generation. |
| 1299 | "//build/config/linux(//build/toolchain/linux:clang_x86)", |
| 1300 | "//build/config/posix(//build/toolchain/linux:clang_x86)", |
| 1301 | ] |
| 1302 | } |
| 1303 | } |
| 1304 | |
agrieve | 017b91f | 2016-02-29 20:15:06 | [diff] [blame] | 1305 | # Because of the source assignment filter, many targets end up over-filtering |
| 1306 | # their sources if the output directory contains a platform name. Assert that |
| 1307 | # this doesn't happen. http://crbug.com/548283 |
| 1308 | template("assert_valid_out_dir") { |
| 1309 | # List copied from //build/config/BUILDCONFIG.gn. |
| 1310 | set_sources_assignment_filter([ |
| 1311 | "*\bandroid/*", |
| 1312 | "*\bchromeos/*", |
| 1313 | "*\bcocoa/*", |
| 1314 | "*\bios/*", |
| 1315 | "*\blinux/*", |
| 1316 | "*\bmac/*", |
| 1317 | "*\bposix/*", |
| 1318 | "*\bwin/*", |
| 1319 | ]) |
| 1320 | assert(target_name != "") # Mark as used. |
| 1321 | sources = invoker.actual_sources |
| 1322 | assert( |
| 1323 | sources == invoker.actual_sources, |
| 1324 | "Do not use a platform name in your output directory (found \"$root_build_dir\"). http://crbug.com/548283") |
| 1325 | } |
| 1326 | |
Christopher Lam | ef75ebfe | 2018-03-28 04:20:27 | [diff] [blame] | 1327 | if (closure_compile) { |
Christopher Lam | 739a90d | 2018-03-07 03:54:37 | [diff] [blame] | 1328 | group("webui_closure_compile") { |
Trent Apted | 572ba755 | 2018-10-17 00:03:30 | [diff] [blame] | 1329 | testonly = true |
Christopher Lam | 739a90d | 2018-03-07 03:54:37 | [diff] [blame] | 1330 | data_deps = [ |
Christopher Lam | fdac10a | 2018-04-04 04:02:45 | [diff] [blame] | 1331 | "chrome/browser/resources:closure_compile", |
Trent Apted | eeff0a9 | 2019-11-07 06:57:27 | [diff] [blame] | 1332 | "chrome/test:closure_compile", |
Natalie Chouinard | 3f8829c | 2019-12-17 02:39:20 | [diff] [blame] | 1333 | "components/flags_ui/resources:closure_compile", |
Reilly Grant | 2c3893d | 2019-10-29 20:11:42 | [diff] [blame] | 1334 | "components/neterror/resources:closure_compile", |
| 1335 | "components/security_interstitials/core/common/resources:closure_compile", |
dpapad | 67bf0d12 | 2019-07-23 21:18:36 | [diff] [blame] | 1336 | "components/sync/driver/resources:closure_compile", |
Nikunj Bhagat | a175853c | 2018-11-09 00:36:18 | [diff] [blame] | 1337 | "components/ukm/debug:closure_compile", |
Christopher Lam | 7661080 | 2019-01-14 03:37:24 | [diff] [blame] | 1338 | "content/browser/resources:closure_compile", |
| 1339 | "mojo/public/tools/bindings/generators/js_templates/lite/test:closure_compile", |
| 1340 | "ui/webui/resources:closure_compile", |
Christopher Lam | 739a90d | 2018-03-07 03:54:37 | [diff] [blame] | 1341 | ] |
Christopher Lam | b9776932 | 2018-04-26 01:47:49 | [diff] [blame] | 1342 | if (is_chromeos) { |
Josh Nohle | a2263fa | 2019-08-29 19:17:06 | [diff] [blame] | 1343 | data_deps += [ |
| 1344 | "chromeos/components:closure_compile", |
| 1345 | "ui/file_manager:closure_compile", |
| 1346 | ] |
Christopher Lam | b9776932 | 2018-04-26 01:47:49 | [diff] [blame] | 1347 | } |
Christopher Lam | 7c7d8f9 | 2018-05-17 09:07:55 | [diff] [blame] | 1348 | if (is_android) { |
| 1349 | data_deps += [ "components/offline_pages/resources:closure_compile" ] |
| 1350 | } |
Tommy Steimel | e417e71 | 2020-01-30 14:07:55 | [diff] [blame] | 1351 | if (enable_kaleidoscope) { |
| 1352 | data_deps += |
| 1353 | [ "chrome/browser/media/kaleidoscope/internal:closure_compile" ] |
| 1354 | } |
Christopher Lam | 739a90d | 2018-03-07 03:54:37 | [diff] [blame] | 1355 | } |
| 1356 | } |
| 1357 | |
agrieve | 017b91f | 2016-02-29 20:15:06 | [diff] [blame] | 1358 | assert_valid_out_dir("_unused") { |
| 1359 | actual_sources = [ "$root_build_dir/foo" ] |
| 1360 | } |