DEPS 20.5 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
gclient_gn_args = [
9 10 11
  # TODO(https://crbug.com/1137662, https://crbug.com/1080854)
  # Remove when migration is complete.
  'checkout_fuchsia_for_arm64_host',
12
  'checkout_google_benchmark',
13 14
]

15
vars = {
Sigurd Schneider's avatar
Sigurd Schneider committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
  # 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",

31 32 33 34 35 36
  # TODO(https://crbug.com/1137662, https://crbug.com/1080854)
  # Remove when migration is complete.
  # By default, do not check out files required to run fuchsia tests in
  # qemu on linux-arm64 machines.
  'checkout_fuchsia_for_arm64_host': False,

37
  'checkout_instrumented_libraries': False,
38
  'checkout_ittapi': False,
39 40
  # Fetch clang-tidy into the same bin/ directory as our clang binary.
  'checkout_clang_tidy': False,
41
  'chromium_url': 'https://chromium.googlesource.com',
42
  'android_url': 'https://android.googlesource.com',
43 44
  'download_gcmole': False,
  'download_jsfunfuzz': False,
45
  'check_v8_header_includes': False,
46

47 48
  'checkout_google_benchmark' : False,

49
  # GN CIPD package version.
50
  'gn_version': 'git_revision:55ad154c961d8326315b1c8147f4e504cd95e9e6',
51

52
  # luci-go CIPD package version.
53
  'luci_go': 'git_revision:77944aa535e42e29faadf6cfa81aee252807d468',
54 55 56 57

  # 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.
58
  'android_sdk_build-tools_version': '8LZujEmLjSh0g3JciDA3cslSptxKs9HOa_iUPXkOeYQC',
59 60 61
  # 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.
62
  'android_sdk_emulator_version': 'A4EvXZUIuQho0QRDJopMUpgyp6NA3aiDQjGKPUKbowMC',
63 64 65
  # 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.
66
  'android_sdk_extras_version': 'ppQ4TnqDvBHQ3lXx5KPq97egzF5X2FFyOrVHkGmiTMQC',
67 68 69 70 71 72 73
  # 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.
74
  'android_sdk_platform-tools_version': '8tF0AOj7Dwlv4j7_nfkhxWB0jzrvWWYjEIpirt8FIWYC',
75 76 77
  # 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.
78
  'android_sdk_platforms_version': 'YMUu9EHNZ__2Xcxl-KsaSf-dI5TMt_P62IseUVsxktMC',
79 80 81
  # 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.
82
  'android_sdk_sources_version': '4gxhM8E62bvZpQs7Q3d0DinQaW0RLCIefhXrQBFkNy8C',
83 84 85
  # 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.
86
  'android_sdk_cmdline-tools_version': 'V__2Ycej-H2-6AcXX5A3gi7sIk74SuN44PBm2uC_N1sC',
87 88
}

89
deps = {
90
  'build':
91
    Var('chromium_url') + '/chromium/src/build.git' + '@' + 'dce1147a2704a84971d190415ffb11c7396addff',
92
  'third_party/depot_tools':
93
    Var('chromium_url') + '/chromium/tools/depot_tools.git' + '@' + 'cb07c525c00132fc8cb52cdff78e1078c280a4a1',
94
  'third_party/icu':
95
    Var('chromium_url') + '/chromium/deps/icu.git' + '@' + 'f4147b227f174e03f273053bb49fde33426d05bc',
96
  'third_party/instrumented_libraries':
97
    Var('chromium_url') + '/chromium/src/third_party/instrumented_libraries.git' + '@' + '4d3867052d35b2171f2edbb3466fa8f7e2d11319',
98
  'buildtools':
99
    Var('chromium_url') + '/chromium/src/buildtools.git' + '@' + '990491572dc2b6eb40dfab0c12e98494b229ac10',
100
  'buildtools/clang_format/script':
101
    Var('chromium_url') + '/chromium/llvm-project/cfe/tools/clang-format.git' + '@' + '96636aa0e9f047f17447f2d45a094d0b59ed7917',
102
  'buildtools/linux64': {
103 104 105 106 107 108 109
    'packages': [
      {
        'package': 'gn/gn/linux-amd64',
        'version': Var('gn_version'),
      }
    ],
    'dep_type': 'cipd',
110
    'condition': 'host_os == "linux"',
111
  },
112
  'buildtools/mac': {
113 114 115 116 117 118 119
    'packages': [
      {
        'package': 'gn/gn/mac-amd64',
        'version': Var('gn_version'),
      }
    ],
    'dep_type': 'cipd',
120
    'condition': 'host_os == "mac"',
121
  },
122
  'buildtools/third_party/libc++/trunk':
123
    Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxx.git' + '@' + 'd9040c75cfea5928c804ab7c235fed06a63f743a',
124
  'buildtools/third_party/libc++abi/trunk':
125
    Var('chromium_url') + '/external/github.com/llvm/llvm-project/libcxxabi.git' + '@' + '196ba1aaa8ac285d94f4ea8d9836390a45360533',
126
  'buildtools/third_party/libunwind/trunk':
127
    Var('chromium_url') + '/external/github.com/llvm/llvm-project/libunwind.git' + '@' + 'd999d54f4bca789543a2eb6c995af2d9b5a1f3ed',
128
  'buildtools/win': {
129 130 131 132 133 134 135
    'packages': [
      {
        'package': 'gn/gn/windows-amd64',
        'version': Var('gn_version'),
      }
    ],
    'dep_type': 'cipd',
136
    'condition': 'host_os == "win"',
137
  },
138
  'base/trace_event/common':
139
    Var('chromium_url') + '/chromium/src/base/trace_event/common.git' + '@' + '9b27757731a454d6e76f3d1153ae62d603a16897',
140
  'third_party/android_ndk': {
141
    'url': Var('chromium_url') + '/android_ndk.git' + '@' + '401019bf85744311b26c88ced255cd53401af8b7',
Michael Achenbach's avatar
Michael Achenbach committed
142 143
    'condition': 'checkout_android',
  },
144
  'third_party/android_platform': {
145
    'url': Var('chromium_url') + '/chromium/src/third_party/android_platform.git' + '@' + 'fdaa5e5b9f6384c3011ca8479d672e47528f743f',
146 147
    'condition': 'checkout_android',
  },
148
  'third_party/android_sdk/public': {
149 150
      'packages': [
          {
151
              'package': 'chromium/third_party/android_sdk/public/build-tools/30.0.1',
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
              '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'),
          },
          {
171
              'package': 'chromium/third_party/android_sdk/public/platforms/android-30',
172 173 174
              'version': Var('android_sdk_platforms_version'),
          },
          {
175
              'package': 'chromium/third_party/android_sdk/public/sources/android-29',
176 177 178
              'version': Var('android_sdk_sources_version'),
          },
          {
Liviu Rau's avatar
Liviu Rau committed
179 180
              'package': 'chromium/third_party/android_sdk/public/cmdline-tools',
              'version': Var('android_sdk_cmdline-tools_version'),
181 182
          },
      ],
183 184
      'condition': 'checkout_android',
      'dep_type': 'cipd',
185
  },
186
  'third_party/catapult': {
187
    'url': Var('chromium_url') + '/catapult.git' + '@' + '91735e2e6775c098eb32840a8903e5a9111fad77',
188
    'condition': 'checkout_android',
189
  },
190
  'third_party/colorama/src': {
191 192 193
    'url': Var('chromium_url') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
    'condition': 'checkout_android',
  },
194
  'third_party/fuchsia-sdk': {
195
    'url': Var('chromium_url') + '/chromium/src/third_party/fuchsia-sdk.git' + '@' + 'efa46583d89ea8c97523281d9f52a0d96472114d',
Michael Achenbach's avatar
Michael Achenbach committed
196 197
    'condition': 'checkout_fuchsia',
  },
198
  'third_party/googletest/src':
199
    Var('chromium_url') + '/external/github.com/google/googletest.git' + '@' + '1b0cdaae57c046c87fb99cb4f69c312a7e794adb',
200
  'third_party/google_benchmark/src': {
201 202 203
    'url': Var('chromium_url') + '/external/github.com/google/benchmark.git' + '@' + '7f27afe83b82f3a98baf58ef595814b9d42a5b2b',
    'condition': 'checkout_google_benchmark',
  },
204
  'third_party/jinja2':
205
    Var('chromium_url') + '/chromium/src/third_party/jinja2.git' + '@' + '11b6b3e5971d760bd2d310f77643f55a818a6d25',
206
  'third_party/markupsafe':
207
    Var('chromium_url') + '/chromium/src/third_party/markupsafe.git' + '@' + '0944e71f4b2cb9a871bcbe353f95e889b64a611a',
208
  'tools/swarming_client':
209
    Var('chromium_url') + '/infra/luci/client-py.git' + '@' + 'a32a1607f6093d338f756c7e7c7b4333b0c50c9c',
210
  'test/benchmarks/data':
211
    Var('chromium_url') + '/v8/deps/third_party/benchmarks.git' + '@' + '05d7188267b4560491ff9155c5ee13e207ecd65f',
212
  'test/mozilla/data':
213
    Var('chromium_url') + '/v8/deps/third_party/mozilla-tests.git' + '@' + 'f6c578a10ea707b1a8ab0b88943fe5115ce2b9be',
214
  'test/test262/data':
Frank Tang's avatar
Frank Tang committed
215
    Var('chromium_url') + '/external/github.com/tc39/test262.git' + '@' + 'b2e9dff2816cceb5ee84c0c226c50a31d01a7297',
216
  'test/test262/harness':
217
    Var('chromium_url') + '/external/github.com/test262-utils/test262-harness-py.git' + '@' + '278bcfaed0dcaa13936831fb1769d15e7c1e3b2b',
218
  'third_party/qemu-linux-x64': {
219 220 221 222 223 224
      'packages': [
          {
              'package': 'fuchsia/qemu/linux-amd64',
              'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
          },
      ],
225
      'condition': 'host_os == "linux" and checkout_fuchsia',
226 227
      'dep_type': 'cipd',
  },
228
  'third_party/qemu-mac-x64': {
229 230 231 232 233 234 235 236 237
      'packages': [
          {
              'package': 'fuchsia/qemu/mac-amd64',
              'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
          },
      ],
      'condition': 'host_os == "mac" and checkout_fuchsia',
      'dep_type': 'cipd',
  },
238
  'third_party/aemu-linux-x64': {
239 240 241
      'packages': [
          {
              'package': 'fuchsia/third_party/aemu/linux-amd64',
242
              'version': 'Y_rckHsnBv6dqNUbG4QoVkl3njqEx7ewCNGmqOE_h1MC'
243 244 245 246 247
          },
      ],
      'condition': 'host_os == "linux" and checkout_fuchsia',
      'dep_type': 'cipd',
  },
248
  'third_party/aemu-mac-x64': {
249 250 251 252 253 254 255 256 257
      'packages': [
          {
              'package': 'fuchsia/third_party/aemu/mac-amd64',
              'version': 'T9bWxf8aUC5TwCFgPxpuW29Mfy-7Z9xCfXB9QO8MfU0C'
          },
      ],
      'condition': 'host_os == "mac" and checkout_fuchsia',
      'dep_type': 'cipd',
  },
258
  'tools/clang':
259
    Var('chromium_url') + '/chromium/src/tools/clang.git' + '@' + '9290907b4859b920e045bfafbbaecd0a13d06196',
260
  'tools/luci-go': {
261 262 263
      'packages': [
        {
          'package': 'infra/tools/luci/isolate/${{platform}}',
264 265 266 267 268 269 270 271 272
          'version': Var('luci_go'),
        },
        {
          'package': 'infra/tools/luci/isolated/${{platform}}',
          'version': Var('luci_go'),
        },
        {
          'package': 'infra/tools/luci/swarming/${{platform}}',
          'version': Var('luci_go'),
273 274
        },
      ],
275
      'condition': 'host_cpu != "s390" and host_os != "aix"',
276 277
      'dep_type': 'cipd',
  },
278
  'tools/clang/dsymutil': {
279 280 281
    'packages': [
      {
        'package': 'chromium/llvm-build-tools/dsymutil',
282
        'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
283 284 285 286 287
      }
    ],
    'condition': 'checkout_mac',
    'dep_type': 'cipd',
  },
288
  'third_party/perfetto':
289
    Var('android_url') + '/platform/external/perfetto.git' + '@' + 'aa4385bc5997ecad4c633885e1b331b1115012fb',
290
  'third_party/protobuf':
291
    Var('chromium_url') + '/external/github.com/google/protobuf'+ '@' + '6a59a2ad1f61d9696092f79b6d74368b4d7970a3',
292
  'third_party/zlib':
293
    Var('chromium_url') + '/chromium/src/third_party/zlib.git'+ '@' + 'c876c8f87101c5a75f6014b0f832499afeb65b73',
294
  'third_party/jsoncpp/source':
295
    Var('chromium_url') + '/external/github.com/open-source-parsers/jsoncpp.git'+ '@' + '9059f5cad030ba11d37818847443a53918c327b1',
296
  'third_party/ittapi': {
297 298 299 300 301
    # Force checkout ittapi libraries to pass v8 header includes check on
    # bots that has check_v8_header_includes enabled.
    'url': Var('chromium_url') + '/external/github.com/intel/ittapi' + '@' + 'b4ae0122ba749163096058b4f1bb065bf4a7de94',
    'condition': "checkout_ittapi or check_v8_header_includes",
  },
302
  'third_party/requests': {
303
      'url': Var('chromium_url') + '/external/github.com/kennethreitz/requests.git' + '@' + 'bfb93d4b7d269a8735f1b216093e7e9a9fdc4517',
304 305
      'condition': 'checkout_android',
  },
306
}
307

308 309
include_rules = [
  # Everybody can use some things.
310 311 312
  '+include',
  '+unicode',
  '+third_party/fdlibm',
313
  '+third_party/ittapi/include'
314 315 316 317
]

# checkdeps.py shouldn't check for includes in these directories:
skip_child_includes = [
318 319
  'build',
  'third_party',
320 321
]

322
hooks = [
323 324 325 326 327 328 329
  {
    # Ensure that the DEPS'd "depot_tools" has its self-update capability
    # disabled.
    'name': 'disable_depot_tools_selfupdate',
    'pattern': '.',
    'action': [
        'python',
330
        'third_party/depot_tools/update_depot_tools_toggle.py',
331 332 333
        '--disable',
    ],
  },
334 335 336 337 338 339 340 341
  {
    # 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': [
        'python',
342
        'build/landmines.py',
343
        '--landmine-scripts',
344
        'tools/get_landmines.py',
345 346
    ],
  },
347 348
  # Pull clang-format binaries using checked-in hashes.
  {
349 350
    'name': 'clang_format_win',
    'pattern': '.',
351
    'condition': 'host_os == "win"',
352 353 354 355 356
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--platform=win32',
                '--no_auth',
                '--bucket', 'chromium-clang-format',
357
                '-s', 'buildtools/win/clang-format.exe.sha1',
358 359 360
    ],
  },
  {
361 362
    'name': 'clang_format_mac',
    'pattern': '.',
363
    'condition': 'host_os == "mac"',
364 365 366 367 368
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--platform=darwin',
                '--no_auth',
                '--bucket', 'chromium-clang-format',
369
                '-s', 'buildtools/mac/clang-format.sha1',
370 371 372
    ],
  },
  {
373 374
    'name': 'clang_format_linux',
    'pattern': '.',
375
    'condition': 'host_os == "linux"',
376 377 378 379 380
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--platform=linux*',
                '--no_auth',
                '--bucket', 'chromium-clang-format',
381
                '-s', 'buildtools/linux64/clang-format.sha1',
382 383
    ],
  },
384 385 386
  {
    'name': 'gcmole',
    'pattern': '.',
387 388 389 390
    'condition': 'download_gcmole',
    'action': [ 'download_from_google_storage',
                '--bucket', 'chrome-v8-gcmole',
                '-u', '--no_resume',
391
                '-s', 'tools/gcmole/gcmole-tools.tar.gz.sha1',
392
                '--platform=linux*',
393 394
    ],
  },
395 396 397
  {
    'name': 'jsfunfuzz',
    'pattern': '.',
398 399 400 401
    'condition': 'download_jsfunfuzz',
    'action': [ 'download_from_google_storage',
                '--bucket', 'chrome-v8-jsfunfuzz',
                '-u', '--no_resume',
402
                '-s', 'tools/jsfunfuzz/jsfunfuzz.tar.gz.sha1',
403
                '--platform=linux*',
404 405
    ],
  },
406
  {
407 408 409 410 411 412 413
    'name': 'wasm_spec_tests',
    'pattern': '.',
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--no_auth',
                '-u',
                '--bucket', 'v8-wasm-spec-tests',
414
                '-s', 'test/wasm-spec-tests/tests.tar.gz.sha1',
415 416
    ],
  },
417 418 419 420 421 422 423 424
  {
    'name': 'wasm_js',
    'pattern': '.',
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--no_auth',
                '-u',
                '--bucket', 'v8-wasm-spec-tests',
425
                '-s', 'test/wasm-js/tests.tar.gz.sha1',
426 427
    ],
  },
428
  {
Michael Achenbach's avatar
Michael Achenbach committed
429
    'name': 'sysroot_arm',
430
    'pattern': '.',
431
    'condition': '(checkout_linux and checkout_arm)',
432
    'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Michael Achenbach's avatar
Michael Achenbach committed
433 434 435 436 437
               '--arch=arm'],
  },
  {
    'name': 'sysroot_arm64',
    'pattern': '.',
438
    'condition': '(checkout_linux and checkout_arm64)',
439
    'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Michael Achenbach's avatar
Michael Achenbach committed
440 441 442 443 444
               '--arch=arm64'],
  },
  {
    'name': 'sysroot_x86',
    'pattern': '.',
445
    'condition': '(checkout_linux and (checkout_x86 or checkout_x64))',
446
    'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Michael Achenbach's avatar
Michael Achenbach committed
447 448 449 450 451
               '--arch=x86'],
  },
  {
    'name': 'sysroot_x64',
    'pattern': '.',
452
    'condition': 'checkout_linux and checkout_x64',
453
    'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
Michael Achenbach's avatar
Michael Achenbach committed
454
               '--arch=x64'],
455
  },
456
  {
457 458 459 460 461 462 463
    'name': 'msan_chained_origins',
    'pattern': '.',
    'condition': 'checkout_instrumented_libraries',
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-instrumented-libraries',
464
                '-s', 'third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1',
465 466 467 468 469 470 471 472 473 474
              ],
  },
  {
    'name': 'msan_no_origins',
    'pattern': '.',
    'condition': 'checkout_instrumented_libraries',
    'action': [ 'download_from_google_storage',
                '--no_resume',
                '--no_auth',
                '--bucket', 'chromium-instrumented-libraries',
475
                '-s', 'third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1',
476
              ],
477
  },
478 479 480 481
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
    'pattern': '.',
482
    'condition': 'checkout_win',
483
    'action': ['python', 'build/vs_toolchain.py', 'update'],
484
  },
485 486 487 488
  {
    # Update the Mac toolchain if necessary.
    'name': 'mac_toolchain',
    'pattern': '.',
489
    'condition': 'checkout_mac',
490
    'action': ['python', 'build/mac_toolchain.py'],
491
  },
492 493 494 495
  {
    # Note: On Win, this should run after win_toolchain, as it may use it.
    'name': 'clang',
    'pattern': '.',
496 497
    # clang not supported on aix
    'condition': 'host_os != "aix"',
498
    'action': ['python', 'tools/clang/scripts/update.py'],
499
  },
500 501 502 503
  {
    'name': 'clang_tidy',
    'pattern': '.',
    'condition': 'checkout_clang_tidy',
504
    'action': ['python', 'tools/clang/scripts/update.py',
505 506
               '--package=clang-tidy'],
  },
Sergiy Byelozyorov's avatar
Sergiy Byelozyorov committed
507 508 509 510
  {
    # Update LASTCHANGE.
    'name': 'lastchange',
    'pattern': '.',
511 512
    'action': ['python', 'build/util/lastchange.py',
               '-o', 'build/util/LASTCHANGE'],
Sergiy Byelozyorov's avatar
Sergiy Byelozyorov committed
513
  },
514
  {
515
    'name': 'Download Fuchsia SDK',
516 517 518 519
    'pattern': '.',
    'condition': 'checkout_fuchsia',
    'action': [
      'python',
520
      'build/fuchsia/update_sdk.py',
521 522 523 524 525 526 527 528 529
    ],
  },
  {
    'name': 'Download Fuchsia system images',
    'pattern': '.',
    'condition': 'checkout_fuchsia',
    'action': [
      'python',
      'build/fuchsia/update_images.py',
Sigurd Schneider's avatar
Sigurd Schneider committed
530
      '--boot-images={checkout_fuchsia_boot_images}',
531 532
    ],
  },
533 534 535 536 537 538 539 540
  {
    # Mac doesn't use lld so it's not included in the default clang bundle
    # there. However, lld is need in Fuchsia cross builds, so
    # download it there.
    # Should run after the clang hook.
    'name': 'lld/mac',
    'pattern': '.',
    'condition': 'host_os == "mac" and checkout_fuchsia',
541
    'action': ['python', 'tools/clang/scripts/update.py',
542
               '--package=lld_mac'],
543 544 545 546 547 548
  },
  {
      # Mac does not have llvm-objdump, download it for cross builds in Fuchsia.
    'name': 'llvm-objdump',
    'pattern': '.',
    'condition': 'host_os == "mac" and checkout_fuchsia',
549
    'action': ['python', 'tools/clang/scripts/update.py',
550
               '--package=objdump'],
551
  },
552 553 554 555 556 557
  # Download and initialize "vpython" VirtualEnv environment packages.
  {
    'name': 'vpython_common',
    'pattern': '.',
    'condition': 'checkout_android',
    'action': [ 'vpython',
558
                '-vpython-spec', '.vpython',
559 560 561
                '-vpython-tool', 'install',
    ],
  },
562 563 564 565 566 567
  {
    'name': 'check_v8_header_includes',
    'pattern': '.',
    'condition': 'check_v8_header_includes',
    'action': [
      'python',
568
      'tools/generate-header-include-checks.py',
569 570
    ],
  },
571
]