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 = {
|
|
|
|
"v8/build/gyp":
|
2015-01-31 14:33:41 +00:00
|
|
|
Var("git_url") + "/external/gyp.git" + "@" + "4d7c139b1820c5fcb993868c61f170a02cda8a40",
|
2013-07-01 08:32:41 +00:00
|
|
|
"v8/third_party/icu":
|
2015-01-11 04:26:58 +00:00
|
|
|
Var("git_url") + "/chromium/deps/icu.git" + "@" + "4e3266f32c62d30a3f9e2232a753c60129d1e670",
|
2014-06-03 12:01:50 +00:00
|
|
|
"v8/buildtools":
|
2015-02-05 04:23:51 +00:00
|
|
|
Var("git_url") + "/chromium/buildtools.git" + "@" + "da0df3fdac6036e862addb1155a2d6c11b6c18d5",
|
2014-08-04 09:11:02 +00:00
|
|
|
"v8/testing/gtest":
|
2015-01-15 06:29:40 +00:00
|
|
|
Var("git_url") + "/external/googletest.git" + "@" + "be1868139ffe0ccd0e8e3b37292b84c821d9c8ad",
|
2014-08-04 09:11:02 +00:00
|
|
|
"v8/testing/gmock":
|
2014-12-08 12:27:21 +00:00
|
|
|
Var("git_url") + "/external/googlemock.git" + "@" + "29763965ab52f24565299976b936d1265cb6a271", # from svn revision 501
|
2014-11-27 10:29:41 +00:00
|
|
|
"v8/tools/clang":
|
2015-02-11 04:34:47 +00:00
|
|
|
Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "e64bdee4434b184d13a8f2cce79b65cd18e02ee2",
|
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-12-08 12:27:21 +00:00
|
|
|
Var("git_url") + "/android_tools.git" + "@" + "4f723e2a5fa5b7b8a198072ac19b92344be2b271",
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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",
|
|
|
|
],
|
|
|
|
},
|
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',
|
|
|
|
],
|
|
|
|
},
|
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"],
|
|
|
|
},
|
|
|
|
]
|