2012-05-11 12:18:09 +00:00
|
|
|
# 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.
|
|
|
|
|
2014-05-14 08:30:49 +00:00
|
|
|
vars = {
|
2014-11-11 22:07:08 +00:00
|
|
|
"git_url": "https://chromium.googlesource.com",
|
2014-05-14 08:30:49 +00:00
|
|
|
}
|
|
|
|
|
2012-05-11 12:18:09 +00:00
|
|
|
deps = {
|
2016-04-29 13:37:07 +00:00
|
|
|
"v8/build":
|
2016-09-23 03:27:56 +00:00
|
|
|
Var("git_url") + "/chromium/src/build.git" + "@" + "87bb8bc8acec1eebdd3ef34057508739897a12cc",
|
2016-04-27 12:35:38 +00:00
|
|
|
"v8/tools/gyp":
|
2016-08-11 03:26:50 +00:00
|
|
|
Var("git_url") + "/external/gyp.git" + "@" + "702ac58e477214c635d9b541932e75a95d349352",
|
2013-07-01 08:32:41 +00:00
|
|
|
"v8/third_party/icu":
|
2016-09-14 03:30:31 +00:00
|
|
|
Var("git_url") + "/chromium/deps/icu.git" + "@" + "b0bd3ee50bc2e768d7a17cbc60d87f517f024dbe",
|
2016-07-29 08:59:27 +00:00
|
|
|
"v8/third_party/instrumented_libraries":
|
2016-09-15 03:29:09 +00:00
|
|
|
Var("git_url") + "/chromium/src/third_party/instrumented_libraries.git" + "@" + "45f5814b1543e41ea0be54c771e3840ea52cca4a",
|
2014-06-03 12:01:50 +00:00
|
|
|
"v8/buildtools":
|
2016-09-22 03:30:59 +00:00
|
|
|
Var("git_url") + "/chromium/buildtools.git" + "@" + "57649e5e2001ba1f5e5d45f5a838c616ea0e9cb9",
|
2015-12-16 12:16:32 +00:00
|
|
|
"v8/base/trace_event/common":
|
2016-09-22 03:30:59 +00:00
|
|
|
Var("git_url") + "/chromium/src/base/trace_event/common.git" + "@" + "6232c13e4edb36c84c61653fdae5a4afb5af9745",
|
2016-08-01 05:42:24 +00:00
|
|
|
"v8/third_party/WebKit/Source/platform/inspector_protocol":
|
2016-09-15 03:29:09 +00:00
|
|
|
Var("git_url") + "/chromium/src/third_party/WebKit/Source/platform/inspector_protocol.git" + "@" + "e240fdcdb5880deb48156dbb9ccee0c28664cf88",
|
2016-08-01 05:42:24 +00:00
|
|
|
"v8/third_party/jinja2":
|
2016-09-09 15:04:50 +00:00
|
|
|
Var("git_url") + "/chromium/src/third_party/jinja2.git" + "@" + "b61a2c009a579593a259c1b300e0ad02bf48fd78",
|
2016-08-01 05:42:24 +00:00
|
|
|
"v8/third_party/markupsafe":
|
|
|
|
Var("git_url") + "/chromium/src/third_party/markupsafe.git" + "@" + "484a5661041cac13bfc688a26ec5434b05d18961",
|
2015-09-25 14:36:58 +00:00
|
|
|
"v8/tools/swarming_client":
|
2016-09-02 03:23:41 +00:00
|
|
|
Var('git_url') + '/external/swarming.client.git' + '@' + "380e32662312eb107f06fcba6409b0409f8fef72",
|
2014-08-04 09:11:02 +00:00
|
|
|
"v8/testing/gtest":
|
2015-10-08 08:12:50 +00:00
|
|
|
Var("git_url") + "/external/github.com/google/googletest.git" + "@" + "6f8a66431cb592dad629028a50b3dd418a408c87",
|
2014-08-04 09:11:02 +00:00
|
|
|
"v8/testing/gmock":
|
2015-08-01 03:23:13 +00:00
|
|
|
Var("git_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be",
|
2015-10-19 08:41:55 +00:00
|
|
|
"v8/test/benchmarks/data":
|
|
|
|
Var("git_url") + "/v8/deps/third_party/benchmarks.git" + "@" + "05d7188267b4560491ff9155c5ee13e207ecd65f",
|
2015-10-16 13:01:40 +00:00
|
|
|
"v8/test/mozilla/data":
|
|
|
|
Var("git_url") + "/v8/deps/third_party/mozilla-tests.git" + "@" + "f6c578a10ea707b1a8ab0b88943fe5115ce2b9be",
|
2016-05-20 10:15:29 +00:00
|
|
|
"v8/test/simdjs/data": Var("git_url") + "/external/github.com/tc39/ecmascript_simd.git" + "@" + "baf493985cb9ea7cdbd0d68704860a8156de9556",
|
2015-10-08 14:40:37 +00:00
|
|
|
"v8/test/test262/data":
|
2016-09-01 17:42:25 +00:00
|
|
|
Var("git_url") + "/external/github.com/tc39/test262.git" + "@" + "29c23844494a7cc2fbebc6948d2cb0bcaddb24e7",
|
2016-07-22 15:25:06 +00:00
|
|
|
"v8/test/test262/harness":
|
|
|
|
Var("git_url") + "/external/github.com/test262-utils/test262-harness-py.git" + "@" + "cbd968f54f7a95c6556d53ba852292a4c49d11d8",
|
2014-11-27 10:29:41 +00:00
|
|
|
"v8/tools/clang":
|
2016-09-22 17:36:25 +00:00
|
|
|
Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "204eee93d4ffbc01d6182e4c199960db763c7dbc",
|
2012-05-11 12:18:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
2014-08-28 11:09:46 +00:00
|
|
|
"android": {
|
|
|
|
"v8/third_party/android_tools":
|
2016-09-08 10:30:44 +00:00
|
|
|
Var("git_url") + "/android_tools.git" + "@" + "25d57ead05d3dfef26e9c19b13ed10b0a69829cf",
|
2014-08-28 11:09:46 +00:00
|
|
|
},
|
2012-05-11 12:18:09 +00:00
|
|
|
"win": {
|
|
|
|
"v8/third_party/cygwin":
|
2014-12-08 12:27:21 +00:00
|
|
|
Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
|
2012-05-11 12:18:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-06 08:47:27 +00:00
|
|
|
recursedeps = [ 'v8/third_party/android_tools' ]
|
|
|
|
|
2014-06-03 13:39:42 +00:00
|
|
|
include_rules = [
|
|
|
|
# Everybody can use some things.
|
|
|
|
"+include",
|
|
|
|
"+unicode",
|
2014-08-06 11:39:39 +00:00
|
|
|
"+third_party/fdlibm",
|
2014-06-03 13:39:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# checkdeps.py shouldn't check for includes in these directories:
|
|
|
|
skip_child_includes = [
|
|
|
|
"build",
|
2016-04-29 10:08:53 +00:00
|
|
|
"gypfiles",
|
2014-06-03 13:39:42 +00:00
|
|
|
"third_party",
|
|
|
|
]
|
|
|
|
|
2012-05-11 12:18:09 +00:00
|
|
|
hooks = [
|
2015-02-24 16:57:37 +00:00
|
|
|
{
|
|
|
|
# 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',
|
2016-04-29 10:08:53 +00:00
|
|
|
'v8/gypfiles/landmines.py',
|
2015-02-24 16:57:37 +00:00
|
|
|
],
|
|
|
|
},
|
2014-06-26 10:49:27 +00:00
|
|
|
# Pull clang-format binaries using checked-in hashes.
|
|
|
|
{
|
|
|
|
"name": "clang_format_win",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=win32",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-clang-format",
|
|
|
|
"-s", "v8/buildtools/win/clang-format.exe.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "clang_format_mac",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=darwin",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-clang-format",
|
|
|
|
"-s", "v8/buildtools/mac/clang-format.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "clang_format_linux",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=linux*",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-clang-format",
|
|
|
|
"-s", "v8/buildtools/linux64/clang-format.sha1",
|
|
|
|
],
|
|
|
|
},
|
2016-02-16 19:07:48 +00:00
|
|
|
{
|
|
|
|
'name': 'gcmole',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/tools/gcmole/download_gcmole_tools.py',
|
|
|
|
],
|
|
|
|
},
|
2016-02-18 09:47:23 +00:00
|
|
|
{
|
|
|
|
'name': 'jsfunfuzz',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/tools/jsfunfuzz/download_jsfunfuzz.py',
|
|
|
|
],
|
|
|
|
},
|
2015-10-01 12:11:29 +00:00
|
|
|
# Pull luci-go binaries (isolate, swarming) using checked-in hashes.
|
|
|
|
{
|
|
|
|
'name': 'luci-go_win',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=win32',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-luci',
|
|
|
|
'-d', 'v8/tools/luci-go/win64',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'luci-go_mac',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=darwin',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-luci',
|
|
|
|
'-d', 'v8/tools/luci-go/mac64',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'luci-go_linux',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-luci',
|
|
|
|
'-d', 'v8/tools/luci-go/linux64',
|
|
|
|
],
|
|
|
|
},
|
2016-02-02 20:07:37 +00:00
|
|
|
# Pull GN using checked-in hashes.
|
|
|
|
{
|
|
|
|
"name": "gn_win",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=win32",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-gn",
|
|
|
|
"-s", "v8/buildtools/win/gn.exe.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gn_mac",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=darwin",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-gn",
|
|
|
|
"-s", "v8/buildtools/mac/gn.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gn_linux",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=linux*",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-gn",
|
|
|
|
"-s", "v8/buildtools/linux64/gn.sha1",
|
|
|
|
],
|
|
|
|
},
|
2016-08-29 19:01:09 +00:00
|
|
|
{
|
|
|
|
"name": "wasm_fuzzer",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--no_auth",
|
|
|
|
"-u",
|
|
|
|
"--bucket", "v8-wasm-fuzzer",
|
|
|
|
"-s", "v8/test/fuzzer/wasm.tar.gz.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "wasm_asmjs_fuzzer",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--no_auth",
|
|
|
|
"-u",
|
|
|
|
"--bucket", "v8-wasm-asmjs-fuzzer",
|
|
|
|
"-s", "v8/test/fuzzer/wasm_asmjs.tar.gz.sha1",
|
|
|
|
],
|
|
|
|
},
|
2016-09-23 19:04:52 +00:00
|
|
|
{
|
|
|
|
"name": "closure_compiler",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--no_auth",
|
|
|
|
"-u",
|
|
|
|
"--bucket", "chromium-v8-closure-compiler",
|
|
|
|
"-s", "v8/src/inspector/build/closure-compiler.tar.gz.sha1",
|
|
|
|
],
|
|
|
|
},
|
2016-06-08 15:27:21 +00:00
|
|
|
{
|
|
|
|
# Downloads the current stable linux sysroot to build/linux/ if needed.
|
|
|
|
# This sysroot updates at about the same rate that the chrome build deps
|
|
|
|
# change.
|
|
|
|
'name': 'sysroot',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/build/linux/sysroot_scripts/install-sysroot.py',
|
|
|
|
'--running-as-hook',
|
|
|
|
],
|
|
|
|
},
|
2016-08-01 09:41:09 +00:00
|
|
|
{
|
|
|
|
# Pull sanitizer-instrumented third-party libraries if requested via
|
|
|
|
# GYP_DEFINES.
|
|
|
|
'name': 'instrumented_libraries',
|
|
|
|
'pattern': '\\.sha1',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/third_party/instrumented_libraries/scripts/download_binaries.py',
|
|
|
|
],
|
|
|
|
},
|
2015-11-02 10:40:16 +00:00
|
|
|
{
|
|
|
|
# Update the Windows toolchain if necessary.
|
|
|
|
'name': 'win_toolchain',
|
|
|
|
'pattern': '.',
|
2016-04-29 10:08:53 +00:00
|
|
|
'action': ['python', 'v8/gypfiles/vs_toolchain.py', 'update'],
|
2015-11-02 10:40:16 +00:00
|
|
|
},
|
2015-02-10 07:26:59 +00:00
|
|
|
# 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',
|
|
|
|
'pattern': 'v8/third_party/binutils',
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'v8/third_party/binutils/download.py',
|
|
|
|
],
|
|
|
|
},
|
2015-09-03 14:18:10 +00:00
|
|
|
{
|
|
|
|
# Pull gold plugin if needed or requested via GYP_DEFINES.
|
|
|
|
# Note: This must run before the clang update.
|
|
|
|
'name': 'gold_plugin',
|
|
|
|
'pattern': '.',
|
2016-04-29 10:08:53 +00:00
|
|
|
'action': ['python', 'v8/gypfiles/download_gold_plugin.py'],
|
2015-09-03 14:18:10 +00:00
|
|
|
},
|
2014-11-27 10:29:41 +00:00
|
|
|
{
|
|
|
|
# Pull clang if needed or requested via GYP_DEFINES.
|
|
|
|
# Note: On Win, this should run after win_toolchain, as it may use it.
|
|
|
|
'name': 'clang',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
|
|
|
|
},
|
2012-05-11 12:18:09 +00:00
|
|
|
{
|
|
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
|
|
|
"pattern": ".",
|
2016-09-09 14:22:17 +00:00
|
|
|
"action": ["python", "v8/gypfiles/gyp_v8", "--running-as-hook"],
|
2012-05-11 12:18:09 +00:00
|
|
|
},
|
|
|
|
]
|