blob: 0aeda795617c376821e830e1adf835d96e6a555b [file]
# Copyright 2019 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
vars = {
'binaryen_url': 'https://chromium.googlesource.com/external/github.com/WebAssembly/binaryen',
'emscripten_url': 'https://chromium.googlesource.com/external/github.com/emscripten-core/emscripten',
'llvm_project_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project',
'v8_url': 'https://chromium.googlesource.com/v8/v8',
# WARNING: This is a mirror of the old LLVM git mirror of the SVN repo. The github
# repo URL is different, and has different hashes.
'llvm-test-suite_url': 'https://chromium.googlesource.com/native_client/pnacl-llvm-testsuite',
# TODO: v8 for testing, Gcc for torture tests, Update llvm test-suite to github
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling binaryen
# and whatever else without interference from each other.
'binaryen_revision': '6c70e2caa4b559f9fc9714d535b2986a05815fb0',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling emscripten
# and whatever else without interference from each other.
'emscripten_revision': '8e4eee8c6489509ec1e0df2a62bd330f2fc33f3c',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling llvm_project
# and whatever else without interference from each other.
'llvm_project_revision': '9e516f5c583a4f5beabe5591018306a2d1120235',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling v8
# and whatever else without interference from each other.
'v8_revision': '7d9b7e03141dda044096e7034eed3049ca6f6f83',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling llvm_test_suite
# and whatever else without interference from each other.
'llvm-test-suite_revision': '6c6a59906becace341d439cb7e45a56a4b96640a',
}
deps = {
'emscripten-releases/binaryen': Var('binaryen_url') + '@' + Var('binaryen_revision'),
'emscripten-releases/emscripten': Var('emscripten_url') + '@' + Var('emscripten_revision'),
'emscripten-releases/llvm-project': Var('llvm_project_url') + '@' + Var('llvm_project_revision'),
'v8': Var('v8_url') + '@' + Var('v8_revision'),
'emscripten-releases/llvm-test-suite': Var('llvm-test-suite_url') + '@' + Var('llvm-test-suite_revision'),
'emscripten-releases/third_party/ninja': {
'packages': [
{
'package': 'infra/3pp/tools/ninja/${{platform}}',
'version': 'version:2@1.12.1.chromium.4',
}
],
'dep_type': 'cipd',
},
}
hooks = [
{
'name': 'cmake',
'pattern': '.',
'action': ['python3', 'emscripten-releases/src/build.py',
'--sync-include=cmake,nodejs,sysroot',
'--prebuilt-dir=emscripten-releases', '--v8-dir=v8'],
},
{
'name': 'binaryen_submodule_init',
'pattern': '.',
'action': ['git', '-C', 'emscripten-releases/binaryen',
'submodule', 'update', '--force', '--init'],
},
]
recursedeps = [
'v8'
]