DEPS 22.9 KB
Newer Older
1 2 3 4
# Note: The buildbots evaluate this file with CWD set to the parent
# directory and assume that the root of the checkout is in ./v8/, so
# all paths in here must match this assumption.

5 6 7
use_relative_paths = True

gclient_gn_args_file = 'build/config/gclient_args.gni'
8 9 10
gclient_gn_args = [
]

11
vars = {
Sigurd Schneider's avatar
Sigurd Schneider committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
  # Fetches only the SDK boot images which match at least one of the whitelist
  # entries in a comma-separated list.
  #
  # Only the X64 and ARM64 QEMU images are downloaded by default. Developers
  # that need to boot on other target architectures or devices can opt to
  # download more boot images. Example of images include:
  #
  # Emulation:
  #   qemu.x64, qemu.arm64
  # Hardware:
  #   generic.x64, generic.arm64
  #
  # Wildcards are supported (e.g. "qemu.*").
  'checkout_fuchsia_boot_images': "qemu.x64,qemu.arm64",

27
  'checkout_instrumented_libraries': False,
28
  'checkout_ittapi': False,
29 30
  # Fetch clang-tidy into the same bin/ directory as our clang binary.
  'checkout_clang_tidy': False,
31
  'chromium_url': 'https://chromium.googlesource.com',
32
  'android_url': 'https://android.googlesource.com',
33 34
  'download_gcmole': False,
  'download_jsfunfuzz': False,
35
  'download_prebuilt_bazel': False,
36
  'check_v8_header_includes': False,
37 38 39
  'checkout_reclient': False,

  # reclient CIPD package version
40
  'reclient_version': 're_client_version:0.40.0.40ff5a5',
41

42
  # GN CIPD package version.
43
  'gn_version': 'git_revision:ae110f8b525009255ba1f9ae96982176d3bfad3d',
44

45
  # luci-go CIPD package version.
46
  'luci_go': 'git_revision:6da0608e4fa8a3c6d1fa4f855485c0038b05bf72',
47 48 49 50

  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling android_sdk_build-tools_version
  # and whatever else without interference from each other.
51
  'android_sdk_build-tools_version': 'tRoD45SCi7UleQqSV7MrMQO1_e5P8ysphkCcj6z_cCQC',
52 53 54
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling android_sdk_emulator_version
  # and whatever else without interference from each other.
55
  'android_sdk_emulator_version': 'gMHhUuoQRKfxr-MBn3fNNXZtkAVXtOwMwT7kfx8jkIgC',
56 57 58
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling android_sdk_extras_version
  # and whatever else without interference from each other.
59
  'android_sdk_extras_version': 'ppQ4TnqDvBHQ3lXx5KPq97egzF5X2FFyOrVHkGmiTMQC',
60 61 62 63 64 65 66
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling android_sdk_patcher_version
  # and whatever else without interference from each other.
  'android_sdk_patcher_version': 'I6FNMhrXlpB-E1lOhMlvld7xt9lBVNOO83KIluXDyA0C',
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling android_sdk_platform-tools_version
  # and whatever else without interference from each other.
67
  'android_sdk_platform-tools_version': 'g7n_-r6yJd_SGRklujGB1wEt8iyr77FZTUJVS9w6O34C',
68 69 70
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling android_sdk_platforms_version
  # and whatever else without interference from each other.
71
  'android_sdk_platforms_version': 'lL3IGexKjYlwjO_1Ga-xwxgwbE_w-lmi2Zi1uOlWUIAC',
72 73 74
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling android_sdk_sources_version
  # and whatever else without interference from each other.
75
  'android_sdk_sources_version': '7EcXjyZWkTu3sCA8d8eRXg_aCBCYt8ihXgxp29VXLs8C',
76 77 78
  # Three lines of non-changing comments so that
  # the commit queue can handle CLs rolling android_sdk_tools-lint_version
  # and whatever else without interference from each other.
79
  'android_sdk_cmdline-tools_version': 'PGPmqJtSIQ84If155ba7iTU846h5WJ-bL5d_OoUWEWYC',
80 81
}

82
deps = {
83
  'base/trace_event/common':
84
    Var('chromium_url') + '/chromium/src/base/trace_event/common.git' + '@' + 'd115b033c4e53666b535cbd1985ffe60badad082',
85
  'build':
86
    Var('chromium_url') + '/chromium/src/build.git' + '@' + '75f73c92f472e6300376089cda2eeb5d68854b79',
87
  'buildtools':
88
    Var('chromium_url') + '/chromium/src/buildtools.git' + '@' + 'c2e4795660817c2776dbabd778b92ed58c074032',
89
  'buildtools/clang_format/script':
90
    Var('chromium_url') + '/external/github.com/llvm/llvm-project/clang/tools/clang-format.git' + '@' + 'e435ad79c17b1888b34df88d6a30a094936e3836',
91
  'buildtools/linux64': {
92 93 94 95 96 97 98
    'packages': [
      {
        'package': 'gn/gn/linux-amd64',
        'version': Var('gn_version'),
      }
    ],
    'dep_type': 'cipd',
99
    'condition': 'host_os == "linux"',
100
  },
101
  'buildtools/mac': {
102 103
    'packages': [
      {
104
        'package': 'gn/gn/mac-${{arch}}',
105 106 107 108
        'version': Var('gn_version'),
      }
    ],
    'dep_type': 'cipd',
109
    'condition': 'host_os == "mac"',
110
  },
111
  'buildtools/third_party/libc++/trunk':
112
    Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxx.git' + '@' + '79a2e924d96e2fc1e4b937c42efd08898fa472d7',
113
  'buildtools/third_party/libc++abi/trunk':
114
    Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxxabi.git' + '@' + 'e025ba5dc85202540099d7cd8e72eae2d4ee9e33',
115
  'buildtools/third_party/libunwind/trunk':
116
    Var('chromium_url') + '/external/github.com/llvm/llvm-project/libunwind.git' + '@' + 'c39fea88739be63a2d5590a938ce19d762b915fc',
117
  'buildtools/win': {
118 119 120 121 122 123 124
    'packages': [
      {
        'package': 'gn/gn/windows-amd64',
        'version': Var('gn_version'),
      }
    ],
    'dep_type': 'cipd',
125
    'condition': 'host_os == "win"',
126
  },
127 128 129 130 131 132 133 134 135 136
  'buildtools/reclient': {
    'packages': [
      {
        'package': 'infra/rbe/client/${{platform}}',
        'version': Var('reclient_version'),
      }
    ],
    'dep_type': 'cipd',
    'condition': '(host_os == "linux" or host_os == "win") and checkout_reclient',
  },
137 138 139 140 141
  'test/benchmarks/data':
    Var('chromium_url') + '/v8/deps/third_party/benchmarks.git' + '@' + '05d7188267b4560491ff9155c5ee13e207ecd65f',
  'test/mozilla/data':
    Var('chromium_url') + '/v8/deps/third_party/mozilla-tests.git' + '@' + 'f6c578a10ea707b1a8ab0b88943fe5115ce2b9be',
  'test/test262/data':
Shu-yu Guo's avatar
Shu-yu Guo committed
142
    Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + 'd7c0a2076c2b0c1531aef7069d4abe70eec44ee3',
143 144 145 146
  'third_party/aemu-linux-x64': {
      'packages': [
          {
              'package': 'fuchsia/third_party/aemu/linux-amd64',
147
              'version': 'vRCm89BzABss-_H8vC-tLjcSf6uusZA9IBSSYtdw4_kC'
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
          },
      ],
      'condition': 'host_os == "linux" and checkout_fuchsia',
      'dep_type': 'cipd',
  },
  'third_party/aemu-mac-x64': {
      'packages': [
          {
              'package': 'fuchsia/third_party/aemu/mac-amd64',
              'version': 'T9bWxf8aUC5TwCFgPxpuW29Mfy-7Z9xCfXB9QO8MfU0C'
          },
      ],
      'condition': 'host_os == "mac" and checkout_fuchsia',
      'dep_type': 'cipd',
  },
163
  'third_party/android_ndk': {
164
    'url': Var('chromium_url') + '/android_ndk.git' + '@' + '8388a2be5421311dc75c5f937aae13d821a27f3d',
Michael Achenbach's avatar
Michael Achenbach committed
165 166
    'condition': 'checkout_android',
  },
167
  'third_party/android_platform': {
168
    'url': Var('chromium_url') + '/chromium/src/third_party/android_platform.git' + '@' + '2760db43ffc8b074cb7960c90b5254f74a5c299a',
169 170
    'condition': 'checkout_android',
  },
171
  'third_party/android_sdk/public': {
172 173
      'packages': [
          {
174
              'package': 'chromium/third_party/android_sdk/public/build-tools/31.0.0',
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
              'version': Var('android_sdk_build-tools_version'),
          },
          {
              'package': 'chromium/third_party/android_sdk/public/emulator',
              'version': Var('android_sdk_emulator_version'),
          },
          {
              'package': 'chromium/third_party/android_sdk/public/extras',
              'version': Var('android_sdk_extras_version'),
          },
          {
              'package': 'chromium/third_party/android_sdk/public/patcher',
              'version': Var('android_sdk_patcher_version'),
          },
          {
              'package': 'chromium/third_party/android_sdk/public/platform-tools',
              'version': Var('android_sdk_platform-tools_version'),
          },
          {
194
              'package': 'chromium/third_party/android_sdk/public/platforms/android-31',
195 196 197
              'version': Var('android_sdk_platforms_version'),
          },
          {
198
              'package': 'chromium/third_party/android_sdk/public/sources/android-30',
199 200 201
              'version': Var('android_sdk_sources_version'),
          },
          {
Liviu Rau's avatar
Liviu Rau committed
202 203
              'package': 'chromium/third_party/android_sdk/public/cmdline-tools',
              'version': Var('android_sdk_cmdline-tools_version'),
204 205
          },
      ],
206 207
      'condition': 'checkout_android',
      'dep_type': 'cipd',
208
  },
209
  'third_party/catapult': {
210
    'url': Var('chromium_url') + '/catapult.git' + '@' + '117c61c803bc3bd14acb3b3979fb7c4f90f6553e',
211
    'condition': 'checkout_android',
212
  },
213
  'third_party/colorama/src': {
214 215 216
    'url': Var('chromium_url') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
    'condition': 'checkout_android',
  },
217
  'third_party/depot_tools':
218
    Var('chromium_url') + '/chromium/tools/depot_tools.git' + '@' + '3b97fa826eee4bd1978c4c049038b1e4f201e8f2',
219
  'third_party/fuchsia-sdk': {
220
    'url': Var('chromium_url') + '/chromium/src/third_party/fuchsia-sdk.git' + '@' + '7c9c220d13ab367d49420144a257886ebfbce278',
Michael Achenbach's avatar
Michael Achenbach committed
221 222
    'condition': 'checkout_fuchsia',
  },
223
  'third_party/google_benchmark/src': {
224
    'url': Var('chromium_url') + '/external/github.com/google/benchmark.git' + '@' + '6f75bb527356251e503c6088d86355c196178b1e',
225
  },
226
  'third_party/googletest/src':
227
    Var('chromium_url') + '/external/github.com/google/googletest.git' + '@' + 'af29db7ec28d6df1c7f0f745186884091e602e07',
228
  'third_party/icu':
v8-ci-autoroll-builder's avatar
v8-ci-autoroll-builder committed
229
    Var('chromium_url') + '/chromium/deps/icu.git' + '@' + '1fd0dbea04448c3f73fe5cb7599f9472f0f107f1',
230
  'third_party/instrumented_libraries':
231
    Var('chromium_url') + '/chromium/src/third_party/instrumented_libraries.git' + '@' + 'e09c4b66b6e87116eb190651421f1a6e2f3b9c52',
232 233 234
  'third_party/ittapi': {
    # Force checkout ittapi libraries to pass v8 header includes check on
    # bots that has check_v8_header_includes enabled.
235
    'url': Var('chromium_url') + '/external/github.com/intel/ittapi' + '@' + 'a3911fff01a775023a06af8754f9ec1e5977dd97',
236 237
    'condition': "checkout_ittapi or check_v8_header_includes",
  },
238
  'third_party/jinja2':
239
    Var('chromium_url') + '/chromium/src/third_party/jinja2.git' + '@' + 'ee69aa00ee8536f61db6a451f3858745cf587de6',
240 241 242
  'third_party/jsoncpp/source':
    Var('chromium_url') + '/external/github.com/open-source-parsers/jsoncpp.git'+ '@' + '9059f5cad030ba11d37818847443a53918c327b1',
  'third_party/logdog/logdog':
243
    Var('chromium_url') + '/infra/luci/luci-py/client/libs/logdog' + '@' + '0b2078a90f7a638d576b3a7c407d136f2fb62399',
244
  'third_party/markupsafe':
245
    Var('chromium_url') + '/chromium/src/third_party/markupsafe.git' + '@' + '1b882ef6372b58bfd55a3285f37ed801be9137cd',
246 247 248 249
  'third_party/perfetto':
    Var('android_url') + '/platform/external/perfetto.git' + '@' + 'aa4385bc5997ecad4c633885e1b331b1115012fb',
  'third_party/protobuf':
    Var('chromium_url') + '/external/github.com/google/protobuf'+ '@' + '6a59a2ad1f61d9696092f79b6d74368b4d7970a3',
250
  'third_party/qemu-linux-x64': {
251 252 253 254 255 256
      'packages': [
          {
              'package': 'fuchsia/qemu/linux-amd64',
              'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
          },
      ],
257
      'condition': 'host_os == "linux" and checkout_fuchsia',
258 259
      'dep_type': 'cipd',
  },
260
  'third_party/qemu-mac-x64': {
261 262 263 264 265 266 267 268 269
      'packages': [
          {
              'package': 'fuchsia/qemu/mac-amd64',
              'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
          },
      ],
      'condition': 'host_os == "mac" and checkout_fuchsia',
      'dep_type': 'cipd',
  },
270 271 272
  'third_party/requests': {
      'url': Var('chromium_url') + '/external/github.com/kennethreitz/requests.git' + '@' + '2c2138e811487b13020eb331482fb991fd399d4e',
      'condition': 'checkout_android',
273
  },
274
  'third_party/zlib':
275
    Var('chromium_url') + '/chromium/src/third_party/zlib.git'+ '@' + 'a6d209ab932df0f1c9d5b7dc67cfa74e8a3272c0',
276
  'tools/clang':
277
    Var('chromium_url') + '/chromium/src/tools/clang.git' + '@' + 'b5e2f7c16bbf3aefc9354e8fbad3de0a543f2193',
278
  'tools/luci-go': {
279 280 281
      'packages': [
        {
          'package': 'infra/tools/luci/isolate/${{platform}}',
282 283 284 285 286
          'version': Var('luci_go'),
        },
        {
          'package': 'infra/tools/luci/swarming/${{platform}}',
          'version': Var('luci_go'),
287 288
        },
      ],
289
      'condition': 'host_cpu != "s390" and host_os != "aix"',
290 291
      'dep_type': 'cipd',
  },
292
}
293

294 295
include_rules = [
  # Everybody can use some things.
296 297 298
  '+include',
  '+unicode',
  '+third_party/fdlibm',
299 300 301 302 303 304 305 306 307 308 309 310
  '+third_party/ittapi/include',
  # Abseil features are allow-listed. Please use your best judgement when adding
  # to this set -- if in doubt, email v8-dev@. For general guidance, refer to
  # the Chromium guidelines (though note that some requirements in V8 may be
  # different to Chromium's):
  # https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++11.md
  '+absl/types/optional.h',
  '+absl/types/variant.h',
  '+absl/status',
  # Some abseil features are explicitly banned.
  '-absl/types/any.h', # Requires RTTI.
  '-absl/types/flags', # Requires RTTI.
311 312 313 314
]

# checkdeps.py shouldn't check for includes in these directories:
skip_child_includes = [
315 316
  'build',
  'third_party',
317 318
]

319
hooks = [
320 321 322 323 324 325
  {
    # Ensure that the DEPS'd "depot_tools" has its self-update capability
    # disabled.
    'name': 'disable_depot_tools_selfupdate',
    'pattern': '.',
    'action': [
Takuto Ikuta's avatar
Takuto Ikuta committed
326
        'python3',
327
        'third_party/depot_tools/update_depot_tools_toggle.py',
328 329 330
        '--disable',
    ],
  },
331 332 333 334 335 336 337
  {
    # This clobbers when necessary (based on get_landmines.py). It must be the
    # first hook so that other things that get/generate into the output
    # directory will not subsequently be clobbered.
    'name': 'landmines',
    'pattern': '.',
    'action': [
Takuto Ikuta's avatar
Takuto Ikuta committed
338
        'python3',
339
        'build/landmines.py',
340
        '--landmine-scripts',
341
        'tools/get_landmines.py',
342 343
    ],
  },
344 345 346 347
  {
    'name': 'bazel',
    'pattern': '.',
    'condition': 'download_prebuilt_bazel',
348 349
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
350 351 352 353 354 355
                '--bucket', 'chromium-v8-prebuilt-bazel/linux',
                '--no_resume',
                '-s', 'tools/bazel/bazel.sha1',
                '--platform=linux*',
    ],
  },
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
  # Pull dsymutil binaries using checked-in hashes.
  {
    'name': 'dsymutil_mac_arm64',
    'pattern': '.',
    'condition': 'host_os == "mac" and host_cpu == "arm64"',
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-browser-clang',
                '-s', 'tools/clang/dsymutil/bin/dsymutil.arm64.sha1',
                '-o', 'tools/clang/dsymutil/bin/dsymutil',
    ],
  },
  {
    'name': 'dsymutil_mac_x64',
    'pattern': '.',
    'condition': 'host_os == "mac" and host_cpu == "x64"',
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-browser-clang',
                '-s', 'tools/clang/dsymutil/bin/dsymutil.x64.sha1',
                '-o', 'tools/clang/dsymutil/bin/dsymutil',
    ],
  },
383 384
  # Pull clang-format binaries using checked-in hashes.
  {
385 386
    'name': 'clang_format_win',
    'pattern': '.',
387
    'condition': 'host_os == "win"',
388 389
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
390 391 392
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-clang-format',
393
                '-s', 'buildtools/win/clang-format.exe.sha1',
394 395 396
    ],
  },
  {
397
    'name': 'clang_format_mac_x64',
398
    'pattern': '.',
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
    'condition': 'host_os == "mac" and host_cpu == "x64"',
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-clang-format',
                '-s', 'buildtools/mac/clang-format.x64.sha1',
                '-o', 'buildtools/mac/clang-format',
    ],
  },
  {
    'name': 'clang_format_mac_arm64',
    'pattern': '.',
    'condition': 'host_os == "mac" and host_cpu == "arm64"',
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
415 416 417
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-clang-format',
418 419
                '-s', 'buildtools/mac/clang-format.arm64.sha1',
                '-o', 'buildtools/mac/clang-format',
420 421 422
    ],
  },
  {
423 424
    'name': 'clang_format_linux',
    'pattern': '.',
425
    'condition': 'host_os == "linux"',
426 427
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
428 429 430
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-clang-format',
431
                '-s', 'buildtools/linux64/clang-format.sha1',
432 433
    ],
  },
434 435 436
  {
    'name': 'gcmole',
    'pattern': '.',
437
    'condition': 'download_gcmole',
438 439
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
440 441
                '--bucket', 'chrome-v8-gcmole',
                '-u', '--no_resume',
442
                '-s', 'tools/gcmole/gcmole-tools.tar.gz.sha1',
443
                '--platform=linux*',
444 445
    ],
  },
446 447 448
  {
    'name': 'jsfunfuzz',
    'pattern': '.',
449
    'condition': 'download_jsfunfuzz',
450 451
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
452 453
                '--bucket', 'chrome-v8-jsfunfuzz',
                '-u', '--no_resume',
454
                '-s', 'tools/jsfunfuzz/jsfunfuzz.tar.gz.sha1',
455
                '--platform=linux*',
456 457
    ],
  },
458
  {
459 460
    'name': 'wasm_spec_tests',
    'pattern': '.',
461 462
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
463 464 465 466
                '--no_resume',
                '--no_auth',
                '-u',
                '--bucket', 'v8-wasm-spec-tests',
467
                '-s', 'test/wasm-spec-tests/tests.tar.gz.sha1',
468 469
    ],
  },
470 471 472
  {
    'name': 'wasm_js',
    'pattern': '.',
473 474
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
475 476 477 478
                '--no_resume',
                '--no_auth',
                '-u',
                '--bucket', 'v8-wasm-spec-tests',
479
                '-s', 'test/wasm-js/tests.tar.gz.sha1',
480 481
    ],
  },
482
  {
Michael Achenbach's avatar
Michael Achenbach committed
483
    'name': 'sysroot_arm',
484
    'pattern': '.',
485
    'condition': '(checkout_linux and checkout_arm)',
Takuto Ikuta's avatar
Takuto Ikuta committed
486
    'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
Michael Achenbach's avatar
Michael Achenbach committed
487 488 489 490 491
               '--arch=arm'],
  },
  {
    'name': 'sysroot_arm64',
    'pattern': '.',
492
    'condition': '(checkout_linux and checkout_arm64)',
Takuto Ikuta's avatar
Takuto Ikuta committed
493
    'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
Michael Achenbach's avatar
Michael Achenbach committed
494 495 496 497 498
               '--arch=arm64'],
  },
  {
    'name': 'sysroot_x86',
    'pattern': '.',
499
    'condition': '(checkout_linux and (checkout_x86 or checkout_x64))',
Takuto Ikuta's avatar
Takuto Ikuta committed
500
    'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
Michael Achenbach's avatar
Michael Achenbach committed
501 502 503 504 505
               '--arch=x86'],
  },
  {
    'name': 'sysroot_x64',
    'pattern': '.',
506
    'condition': 'checkout_linux and checkout_x64',
Takuto Ikuta's avatar
Takuto Ikuta committed
507
    'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
Michael Achenbach's avatar
Michael Achenbach committed
508
               '--arch=x64'],
509
  },
510
  {
511 512 513
    'name': 'msan_chained_origins',
    'pattern': '.',
    'condition': 'checkout_instrumented_libraries',
514 515
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
516 517 518
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-instrumented-libraries',
519
                '-s', 'third_party/instrumented_libraries/binaries/msan-chained-origins.tgz.sha1',
520 521 522 523 524 525
              ],
  },
  {
    'name': 'msan_no_origins',
    'pattern': '.',
    'condition': 'checkout_instrumented_libraries',
526 527
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
528 529 530
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-instrumented-libraries',
531
                '-s', 'third_party/instrumented_libraries/binaries/msan-no-origins.tgz.sha1',
532
              ],
533
  },
534 535 536 537 538
  {
    # Case-insensitivity for the Win SDK. Must run before win_toolchain below.
    'name': 'ciopfs_linux',
    'pattern': '.',
    'condition': 'checkout_win and host_os == "linux"',
539 540
    'action': [ 'python3',
                'third_party/depot_tools/download_from_google_storage.py',
541 542 543 544 545 546
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-browser-clang/ciopfs',
                '-s', 'build/ciopfs.sha1',
    ]
  },
547 548 549 550
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
    'pattern': '.',
551
    'condition': 'checkout_win',
Takuto Ikuta's avatar
Takuto Ikuta committed
552
    'action': ['python3', 'build/vs_toolchain.py', 'update', '--force'],
553
  },
554 555 556 557
  {
    # Update the Mac toolchain if necessary.
    'name': 'mac_toolchain',
    'pattern': '.',
558
    'condition': 'checkout_mac',
Takuto Ikuta's avatar
Takuto Ikuta committed
559
    'action': ['python3', 'build/mac_toolchain.py'],
560
  },
561 562 563 564
  {
    # Note: On Win, this should run after win_toolchain, as it may use it.
    'name': 'clang',
    'pattern': '.',
565 566
    # clang not supported on aix
    'condition': 'host_os != "aix"',
567
    'action': ['python3', 'tools/clang/scripts/update.py'],
568
  },
569 570 571 572
  {
    'name': 'clang_tidy',
    'pattern': '.',
    'condition': 'checkout_clang_tidy',
573
    'action': ['python3', 'tools/clang/scripts/update.py',
574 575
               '--package=clang-tidy'],
  },
Sergiy Byelozyorov's avatar
Sergiy Byelozyorov committed
576 577 578 579
  {
    # Update LASTCHANGE.
    'name': 'lastchange',
    'pattern': '.',
Takuto Ikuta's avatar
Takuto Ikuta committed
580
    'action': ['python3', 'build/util/lastchange.py',
581
               '-o', 'build/util/LASTCHANGE'],
Sergiy Byelozyorov's avatar
Sergiy Byelozyorov committed
582
  },
583
  {
584
    'name': 'Download Fuchsia SDK',
585 586 587
    'pattern': '.',
    'condition': 'checkout_fuchsia',
    'action': [
Takuto Ikuta's avatar
Takuto Ikuta committed
588
      'python3',
589
      'build/fuchsia/update_sdk.py',
590 591 592 593 594 595 596
    ],
  },
  {
    'name': 'Download Fuchsia system images',
    'pattern': '.',
    'condition': 'checkout_fuchsia',
    'action': [
Takuto Ikuta's avatar
Takuto Ikuta committed
597
      'python3',
598
      'build/fuchsia/update_images.py',
Sigurd Schneider's avatar
Sigurd Schneider committed
599
      '--boot-images={checkout_fuchsia_boot_images}',
600 601
    ],
  },
602
  {
603
    # Mac does not have llvm-objdump, download it for cross builds in Fuchsia.
604 605 606
    'name': 'llvm-objdump',
    'pattern': '.',
    'condition': 'host_os == "mac" and checkout_fuchsia',
607
    'action': ['python3', 'tools/clang/scripts/update.py',
608
               '--package=objdump'],
609
  },
610 611 612 613 614 615
  # Download and initialize "vpython" VirtualEnv environment packages.
  {
    'name': 'vpython_common',
    'pattern': '.',
    'condition': 'checkout_android',
    'action': [ 'vpython',
616
                '-vpython-spec', '.vpython',
617 618 619
                '-vpython-tool', 'install',
    ],
  },
Nico Hartmann's avatar
Nico Hartmann committed
620 621 622 623 624 625 626 627
  {
    'name': 'vpython3_common',
    'pattern': '.',
    'action': [ 'vpython3',
                '-vpython-spec', '.vpython3',
                '-vpython-tool', 'install',
    ],
  },
628 629 630 631 632
  {
    'name': 'check_v8_header_includes',
    'pattern': '.',
    'condition': 'check_v8_header_includes',
    'action': [
Takuto Ikuta's avatar
Takuto Ikuta committed
633
      'python3',
634
      'tools/generate-header-include-checks.py',
635 636
    ],
  },
637
]