DEPS 20.4 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
  'checkout_google_benchmark',
10
  'mac_xcode_version',
11 12
]

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

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

39 40
  'checkout_google_benchmark' : False,

41 42
  'mac_xcode_version': 'default',

43
  # GN CIPD package version.
44
  'gn_version': 'git_revision:e002e68a48d1c82648eadde2f6aafa20d08c36f2',
45

46
  # luci-go CIPD package version.
47
  'luci_go': 'git_revision:b022173f8069cf8001d4cf2a87ce7c5f0eae220f',
48 49 50 51

  # 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.
52
  'android_sdk_build-tools_version': '8LZujEmLjSh0g3JciDA3cslSptxKs9HOa_iUPXkOeYQC',
53 54 55
  # 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.
56
  'android_sdk_emulator_version': 'A4EvXZUIuQho0QRDJopMUpgyp6NA3aiDQjGKPUKbowMC',
57 58 59
  # 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.
60
  'android_sdk_extras_version': 'ppQ4TnqDvBHQ3lXx5KPq97egzF5X2FFyOrVHkGmiTMQC',
61 62 63 64 65 66 67
  # 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.
68
  'android_sdk_platform-tools_version': '8tF0AOj7Dwlv4j7_nfkhxWB0jzrvWWYjEIpirt8FIWYC',
69 70 71
  # 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.
72
  'android_sdk_platforms_version': 'YMUu9EHNZ__2Xcxl-KsaSf-dI5TMt_P62IseUVsxktMC',
73 74 75
  # 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.
76
  'android_sdk_sources_version': '4gxhM8E62bvZpQs7Q3d0DinQaW0RLCIefhXrQBFkNy8C',
77 78 79
  # 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.
80
  'android_sdk_cmdline-tools_version': 'ijpIFSitwBfaEdO9VXBGPqDHUVzPimXy_whw3aHTN9oC',
81 82
}

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

302 303
include_rules = [
  # Everybody can use some things.
304 305 306
  '+include',
  '+unicode',
  '+third_party/fdlibm',
307
  '+third_party/ittapi/include'
308 309 310 311
]

# checkdeps.py shouldn't check for includes in these directories:
skip_child_includes = [
312 313
  'build',
  'third_party',
314 315
]

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