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 = {
|
|
|
|
# Remember to keep the revision in sync with the Makefile.
|
|
|
|
"v8/build/gyp":
|
2014-11-11 22:07:08 +00:00
|
|
|
Var("git_url") + "/external/gyp.git@a3e2a5caf24a1e0a45401e09ad131210bf16b852",
|
2013-07-01 08:32:41 +00:00
|
|
|
"v8/third_party/icu":
|
2014-11-11 22:07:08 +00:00
|
|
|
Var("git_url") + "/chromium/deps/icu52.git@26d8859357ac0bfb86b939bf21c087b8eae22494",
|
2014-06-03 12:01:50 +00:00
|
|
|
"v8/buildtools":
|
2014-11-11 22:07:08 +00:00
|
|
|
Var("git_url") + "/chromium/buildtools.git@fb782d4369d5ae04f17a2fceef7de5a63e50f07b",
|
2014-08-04 09:11:02 +00:00
|
|
|
"v8/testing/gtest":
|
2014-11-11 22:07:08 +00:00
|
|
|
Var("git_url") + "/external/googletest.git@4650552ff637bb44ecf7784060091cbed3252211",
|
2014-08-04 09:11:02 +00:00
|
|
|
"v8/testing/gmock":
|
2014-11-11 22:07:08 +00:00
|
|
|
Var("git_url") + "/external/googlemock.git@896ba0e03f520fb9b6ed582bde2bd00847e3c3f2",
|
2014-11-27 10:29:41 +00:00
|
|
|
"v8/tools/clang":
|
|
|
|
Var("git_url") + "/chromium/src/tools/clang.git@327e26ee7f6ae6f86fb335113b46cb86ed3cb0dc",
|
2012-05-11 12:18:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
2014-08-28 11:09:46 +00:00
|
|
|
"android": {
|
|
|
|
"v8/third_party/android_tools":
|
2014-11-11 22:07:08 +00:00
|
|
|
Var("git_url") + "/android_tools.git@31869996507de16812bb53a3d0aaa15cd6194c16",
|
2014-08-28 11:09:46 +00:00
|
|
|
},
|
2012-05-11 12:18:09 +00:00
|
|
|
"win": {
|
|
|
|
"v8/third_party/cygwin":
|
2014-11-11 22:07:08 +00:00
|
|
|
Var("git_url") + "/chromium/deps/cygwin.git@06a117a90c15174436bfa20ceebbfdf43b7eb820",
|
2012-05-11 12:18:09 +00:00
|
|
|
"v8/third_party/python_26":
|
2014-11-11 22:07:08 +00:00
|
|
|
Var("git_url") + "/chromium/deps/python_26.git@67d19f904470effe3122d27101cc5a8195abd157",
|
2012-05-11 12:18:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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",
|
|
|
|
"third_party",
|
|
|
|
]
|
|
|
|
|
2012-05-11 12:18:09 +00:00
|
|
|
hooks = [
|
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",
|
|
|
|
],
|
|
|
|
},
|
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": ".",
|
|
|
|
"action": ["python", "v8/build/gyp_v8"],
|
|
|
|
},
|
|
|
|
]
|