summaryrefslogtreecommitdiffstats
path: root/testing/buildbot/gn_isolate_map.pyl
blob: 26d1a1fd091b2925afac0a2b683983d9b2010e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
## Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# gn_isolate_map.pyl - A mapping of Ninja build target names to GN labels and
# test type classifications for the tests that are run on the bots.
#
# This mapping is used by MB so that we can uniformly refer to test binaries
# by their Ninja target names in the recipes and not need to worry about how
# they are referred to in GN or GYP specifically (the GYP target name is pretty
# much always the same as the Ninja target name, since GYP target names are not
# hierarchical).
#
# The "label" field specifies the matching GN label for the given ninja
# target.
#
# The "type" field is used to determine what the command line for the test
# needs to be; valid values are:
#
#  "windowed_test_launcher"
#  : the test is a gtest-based test that uses the "brave-new-test-launcher"
#    from //base/test:test_support and needs to run under Xvfb if run on
#    an X11-based platform (use_x11=true).
#  "console_test_launcher"
#  : the test is a gtest-based test that uses the "brave-new-test-launcher"
#    from //base/test:test_support but does not need Xvfb.
#  "gpu_browser_test"
#  : the test is a subset of the browser_tests that will be run against
#    a real GPU.
#  "raw"
#  : the test is a standalone executable; it may take an optional list of
#    command line arguments in the "args" field, but otherwise needs no
#    extra files or special handling.
#  "script"
#  : the test is a python script; the path to the script is specified in
#    the "script" field.
#  "unknown"
#  : (the default), which indicates that we don't know what the command line
#    needs to be (this is a fatal error).
#
# The optional "executable" field can be used to override the name
# of the binary to run. If the field is not specified, the binary
# name will be assumed to be the same as the ninja build target name.
# On Windows, ".exe" will be automatically appended if need be, so
# the executable name (and target name) should not contain an ".exe".
#
# The optional "args" field can be used to append extra command line
# args onto the command line determined by the "type". If not specified,
# it defaults to an empty list (no extra args).
#
# The optional "label_type" field can be used in conjunction with
# "type" == "console_test_launcher" or "type" == "windowed_test_launcher"
# to indicate that even though the command line
# to use follows the test_launcher patterns, the actual GN label refers
# to a different type of thing (usually a "group") and so MB can find
# the generated runtime files in the right place. This is used, for
# example, in content_site_isolation_browsertests .
#
# The optional "script" field is used when "type" == "script", and
# specifies the GN path to the corresponding python file, e.g.
# "//testing/scripts/foo.py".

{
  "accessibility_unittests":  {
    "label": "//ui/accessibility:accessibility_unittests",
    "type": "raw",
    "args": [],
  },
  "android_webview_unittests": {
    "label": "//android_webview/test:android_webview_unittests",
    "type": "console_test_launcher",
  },
  "angle_deqp_gles2_tests": {
    "label": "//third_party/angle/src/tests:angle_deqp_gles2_tests",
    "type": "raw",
    "args": [],
  },
  "angle_deqp_gles3_tests": {
    "label": "//third_party/angle/src/tests:angle_deqp_gles3_tests",
    "type": "raw",
    "args": [],
  },
  "angle_end2end_tests": {
    "label": "//third_party/angle/src/tests:angle_end2end_tests",
    "type": "raw",
    "args": [],
  },
  "angle_unittests": {
    "label": "//third_party/angle/src/tests:angle_unittests",
    "type": "raw",
    "args": [],
  },
  "app_list_unittests": {
    "label": "//ui/app_list:app_list_unittests",
    "type": "windowed_test_launcher",
  },
  "app_shell_unittests": {
    "label": "//extensions/shell:app_shell_unittests",
    "type": "windowed_test_launcher",
  },
  "ash_unittests": {
    "label": "//ash:ash_unittests",
    "type": "windowed_test_launcher",
  },
  "audio_unittests": {
    "label": "//media:audio_unittests",
    "type": "raw",
    "args": [],
  },
  "aura_unittests": {
    "label": "//ui/aura:aura_unittests",
    "type": "windowed_test_launcher",
  },
  "base_unittests": {
    "label": "//base:base_unittests",
    "type": "console_test_launcher",
  },
  "battor_agent_unittests": {
    "label": "//tools/battor_agent:battor_agent_unittests",
    "type": "console_test_launcher",
  },
  "blimp_unittests": {
    "label": "//blimp:blimp_unittests",
    "type": "console_test_launcher",
  },
  "blink_heap_unittests": {
    "label": "//third_party/WebKit/Source/platform:blink_heap_unittests",
    "type": "console_test_launcher",
  },
  "blink_platform_unittests": {
    "label": "//third_party/WebKit/Source/platform:blink_platform_unittests",
    "type": "console_test_launcher",
  },
  "breakpad_unittests": {
    "label": "//breakpad:breakpad_unittests",
    "type": "console_test_launcher",
  },
  "browser_tests": {
    "label": "//chrome/test:browser_tests",
    "type": "windowed_test_launcher",
  },
  "cacheinvalidation_unittests": {
    "label": "//third_party/cacheinvalidation:cacheinvalidation_unittests",
    "type": "raw",
    "args": [
      "--test-launcher-bot-mode",
    ],
  },
  "cast_base_unittests": {
    "label": "//cast:cast_base_unittests",
    "type": "unknown",
  },
  "cast_crash_unittests": {
    "label": "//chromecast/crash:cast_crash_unittests",
    "type": "unknown",
  },
  "cast_shell_unittests": {
    "label": "//chromecast/app:cast_shell_unittests",
    "type": "unknown",
  },
  "cast_unittests": {
    "label": "//media/cast:cast_unittests",
    "type": "windowed_test_launcher",
  },
  "cc_unittests": {
    "label": "//cc:cc_unittests",
    "type": "windowed_test_launcher",
  },
  "chrome_app_unittests": {
    "label": "//chrome/test:chrome_app_unittests",
    "type": "console_test_launcher",
  },
  "chrome_elf_unittests": {
    "label": "//chrome_elf:chrome_elf_unittests",
    "type": "raw",
  },
  "chromedriver_unittests": {
    "label": "//chrome/test/chromedriver:chromedriver_unittests",
    "type": "windowed_test_launcher",
  },
  "chromeos_unittests": {
    "label": "//chromeos:chromeos_unittests",
    "type": "unknown",
  },
  "components_browsertests": {
    "label": "//components:components_browsertests",
    "type": "windowed_test_launcher",
  },
  "components_unittests": {
    "label": "//components:components_unittests",
    "type": "windowed_test_launcher",
  },
  "compositor_unittests": {
    "label": "//ui/compositor:compositor_unittests",
    "type": "windowed_test_launcher",
  },
  "content_browsertests": {
    "label": "//content/test:content_browsertests",
    "type": "windowed_test_launcher",
  },
  "content_gl_tests": {
    "label": "//content/test:content_gl_tests",
    "type": "raw",
    "args": [],
  },
  "content_site_isolation_browsertests": {
    "label": "//content/test:content_site_isolation_browsertests",
    "label_type": "group",
    "type": "windowed_test_launcher",
    "executable": "content_browsertests",
    "args": ["--site-per-process", "--test-launcher-filter-file=../../testing/buildbot/filters/site-per-process.content_browsertests.filter"],
  },
  "content_unittests": {
    "label": "//content/test:content_unittests",
    "type": "windowed_test_launcher",
  },
  "courgette_unittests": {
    "label": "//courgette:courgette_unittests",
    "type": "console_test_launcher",
  },
  "crypto_unittests": {
    "label": "//crypto:crypto_unittests",
    "type": "console_test_launcher",
  },
  "dbus_unittests": {
    "label": "//dbus:dbus_unittests",
    "type": "unknown",
  },
  "device_unittests": {
    "label": "//device:device_unittests",
    "type": "console_test_launcher",
  },
  "display_unittests": {
    "label": "//ui/display:display_unittests",
    "type": "console_test_launcher",
  },
  "events_unittests": {
    "label": "//ui/events:events_unittests",
    "type": "windowed_test_launcher",
  },
  "extensions_browsertests": {
    "label": "//extensions:extensions_browsertests",
    "type": "windowed_test_launcher",
  },
  "extensions_unittests": {
    "label": "//extensions:extensions_unittests",
    "type": "windowed_test_launcher",
  },
  "gcm_unit_tests": {
    "label": "//google_apis/gcm:gcm_unit_tests",
    "type": "console_test_launcher",
  },
  "gfx_unittests": {
    "label": "//ui/gfx:gfx_unittests",
    "type": "raw",
    "args": [],
  },
  "gin_unittests": {
    "label": "//gin:gin_unittests",
    "type": "console_test_launcher",
  },
  "gles2_conform_test": {
    "label": "//gpu/gles2_conform_support:gles2_conform_test",
    "type": "console_test_launcher",
  },
  "gl_tests": {
    "label": "//gpu:gl_tests",
    "type": "raw",
    "args": [],
  },
  "gl_unittests": {
    "label": "//ui/gl:gl_unittests",
    "type": "raw",
    "args": [],
  },
  "gn_unittests": {
    "label": "//tools/gn:gn_unittests",
    "type": "raw",
    "args": [],
  },
  "google_apis_unittests": {
    "label": "//google_apis:google_apis_unittests",
    "type": "console_test_launcher",
  },
  "gpu_unittests": {
    "label": "//gpu:gpu_unittests",
    "type": "windowed_test_launcher",
  },
  "installer_util_unittests": {
    "label": "//chrome/installer/util:installer_util_unittests",
    "type": "console_test_launcher",
  },
  "interactive_ui_tests": {
    "label": "//chrome/test:interactive_ui_tests",
    "type": "windowed_test_launcher",
  },
  "ipc_mojo_unittests": {
    "label": "//ipc/mojo:ipc_mojo_unittests",
    "type": "unknown",
  },
  "ipc_tests": {
    "label": "//ipc:ipc_tests",
    "type": "console_test_launcher",
  },
  "jingle_unittests": {
    "label": "//jingle:jingle_unittests",
    "type": "console_test_launcher",
  },
  "keyboard_unittests": {
    "label": "//ui/keyboard:keyboard_unittests",
    "type": "unknown",
  },
  # See http://crbug.com/585151
  #"libaddressinput_unittests": {
    #"label": "//third_party/libaddressinput:libaddressinput_unittests",
    #"type": "console_test_launcher",
  #},
  # See http://crbug.com/585151
  #"libphonenumber_unittests": {
    #"label": "//third_party/libphonenumber:libphonenumber_unittests",
    #"type": "console_test_launcher",
  #},
  "media_unittests": {
    "label": "//media:media_unittests",
    "type": "windowed_test_launcher",
  },
  "media_blink_unittests": {
    "label": "//media/blink:media_blink_unittests",
    "type": "windowed_test_launcher",
  },
  "midi_unittests": {
    "label": "//media/midi:midi_unittests",
    "type": "windowed_test_launcher",
  },
  "mojo_common_unittests": {
    "label": "//mojo/common:mojo_common_unittests",
    "type": "console_test_launcher",
  },
  "mojo_js_integration_tests": {
    "label": "//mojo/edk/js/test:js_integration_tests",
    "type": "console_test_launcher",
  },
  "mojo_js_unittests": {
    "label": "//mojo/edk/js/test:js_unittests",
    "type": "console_test_launcher",
  },
  "mojo_public_application_unittests": {
    "label": "//mojo/edk/test:mojo_public_applicaiton_unittests",
    "type": "unknown",
  },
  "mojo_public_bindings_unittests": {
    "label": "//mojo/edk/test:mojo_public_bindings_unittests",
    "type": "console_test_launcher",
  },
  "mojo_public_environment_unittests": {
    "label": "//mojo/edk/test:mojo_public_environment_unittests",
    "type": "console_test_launcher",
  },
  "mojo_public_system_unittests": {
    "label": "//mojo/edk/test:mojo_public_system_unittests",
    "type": "console_test_launcher",
  },
  "mojo_public_utility_unittests": {
    "label": "//mojo/edk/test:mojo_public_utility_unittests",
    "type": "console_test_launcher",
  },
  "mojo_runner_host_unittests": {
    "label": "//mojo/runner/host:unittests",
    "type": "unknown",
  },
  "mojo_shell_unittests": {
    "label": "//mojo/shell:mojo_shell_unittests",
    "type": "unknown",
  },
  "mojo_surfaces_lib_unittests": {
    "label": "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests",
    "type": "unknown",
  },
  "mojo_system_unittests": {
    "label": "//mojo/edk/system:mojo_system_unittests",
    "type": "unknown",
  },
  "mojo_view_manager_lib_unittests": {
    "label": "//components/view_manager/public/cpp/tests:mojo_view_manager_lib_unittests",
    "type": "unknown",
  },
  "message_center_unittests": {
    "label": "//ui/message_center:message_center_unittests",
    "type": "console_test_launcher",
  },
  "mash_unittests": {
    "label": "//mash:mash_unittests",
    "type": "unknown",
  },
  "nacl_loader_unittests": {
    "label": "//components/nacl/loader:nacl_loader_unittests",
    "type": "raw",
    "args": [],
  },
  "net_unittests": {
    "label": "//net:net_unittests",
    "type": "console_test_launcher",
  },
  "ozone_unittests": {
    "label": "//ui/ozone:ozone_unittests",
    "type": "unknown",
  },
  "ppapi_unittests": {
    "label": "//ppapi:ppapi_unittests",
    "type": "console_test_launcher",
  },
  "printing_unittests": {
    "label": "//printing:printing_unittests",
    "type": "console_test_launcher",
  },
  "remoting_unittests": {
    "label": "//remoting:remoting_unittests",
    "type": "console_test_launcher",
  },
  "resource_provider_unittests": {
    "label": "//components/resource_provider:resource_provider_unittests",
    "type": "unknown",
  },
  "sandbox_linux_unittests": {
    "label": "//sandbox/linux:sandbox_linux_unittests",
    "type": "raw",
    "args": [],
  },
  "sandbox_mac_unittests": {
    "label": "//sandbox/mac:sandbox_mac_unittests",
    "type": "unknown",
  },
  "sbox_integration_tests": {
    "label": "//sandbox/win:sbox_integration_tests",
    "type": "console_test_launcher",
  },
  "sbox_unittests": {
    "label": "//sandbox/win:sbox_unittests",
    "type": "console_test_launcher",
  },
  "sbox_validation_tests": {
    "label": "//sandbox/win:sbox_validation_tests",
    "type": "console_test_launcher",
  },
  "setup_unittests": {
    "label": "//chrome/installer/setup:setup_unittests",
    "type": "console_test_launcher",
  },
  "skia_unittests": {
    "label": "//skia:skia_unittests",
    "type": "console_test_launcher",
  },
  "sql_unittests": {
    "label": "//sql:sql_unittests",
    "type": "console_test_launcher",
  },
  "sync_integration_tests": {
    "label": "//chrome/test:sync_integration_tests",
    "type": "windowed_test_launcher",
  },
  "sync_unit_tests": {
    "label": "//sync:sync_unit_tests",
    "type": "console_test_launcher",
  },
  "tab_capture_end2end_tests": {
    "label": "//chrome/test:browser_tests",
    "type": "gpu_browser_test",
    "gtest_filter": "CastStreamingApiTestWithPixelOutput.EndToEnd*:TabCaptureApiPixelTest.EndToEnd*",
  },
  "telemetry_gpu_test": {
    "label": "//chrome/test:telemetry_gpu_test",
    "type": "script",
    "script": "//testing/scripts/run_telemetry_benchmark_as_googletest.py",
    "args": [
      "../../content/test/gpu/run_gpu_test.py",
    ],
  },
  "telemetry_gpu_unittests": {
    "label": "//chrome/test:telemetry_gpu_unittests",
    "type": "script",
    "script": "//testing/scripts/run_telemetry_as_googletest.py",
    "args": [
      "../../content/test/gpu/run_unittests.py",
      "-v",
    ],
  },
  "telemetry_perf_unittests": {
    "label": "//chrome/test:telemetry_perf_unittests",
    "type": "script",
    "script": "//testing/scripts/run_telemetry_as_googletest.py",
    "args": [
      "--xvfb",
      "../../tools/perf/run_tests",
      "-v",
    ],
  },
  "telemetry_unittests": {
    "label": "//chrome/test:telemetry_unittests",
    "type": "script",
    "script": "//testing/scripts/run_telemetry_as_googletest.py",
    "args": [
      "--xvfb",
      "../../tools/perf/run_telemetry_tests",
      "-v",
      "--chrome-root",
      "../../",
    ],
  },
  "ui_android_unittests": {
    "label": "//ui/android:ui_android_unittests",
    "type": "console_test_launcher",
  },
  "ui_base_unittests": {
    "label": "//ui/base:ui_base_unittests",
    "type": "windowed_test_launcher",
  },
  "ui_chromeos_unittests": {
    "label": "//ui/chromeos:ui_chromeos_unittests",
    "type": "unknown",
  },
  "ui_touch_selection_unittests": {
    "label": "//ui/touch_selection:ui_touch_selection_unittests",
    "type": "windowed_test_launcher",
  },
  "unit_tests": {
    "label": "//chrome/test:unit_tests",
    "type": "windowed_test_launcher",
  },
  "url_unittests": {
    "label": "//url:url_unittests",
    "type": "console_test_launcher",
  },
  "views_mus_unittests": {
    "label": "//ui/views/mus:views_mus_unittests",
    "type": "windowed_test_launcher",
  },
  "views_unittests": {
    "label": "//ui/views:views_unittests",
    "type": "windowed_test_launcher",
  },
  "webkit_unit_tests": {
    "label": "//third_party/WebKit/Source/web:webkit_unit_tests",
    "type": "console_test_launcher",
  },
  "window_manager_unittests": {
    "label": "//components/mus/ws:window_manager_unittests",
    "type": "unknown",
  },
  "wm_unittests": {
    "label": "//ui/wm:wm_unittests",
    "type": "windowed_test_launcher",
  },
  "wtf_unittests": {
    "label": "//third_party/WebKit/Source/wtf:wtf_unittests",
    "type": "console_test_launcher",
  },
}