12adf1474d
Reason for revert: The gclient hook of v8 is not executed on this builder: http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/49765 Original issue's description: > Reland Auto-generate v8 version based on tags. > > This relands the CL > https://codereview.chromium.org/797503007/. > > It runs the version generation two times. First during > runhooks as a fallback for recipes that loose git context > (e.g. android_aosp). Second during compilation like in the > original CL. In case of failures, the result from the > runhooks call will be reused. > > BUG=chromium:446166 > LOG=n > > Committed: https://crrev.com/d3d6e38b2cba73b52bd5ed00f4441a7db3284a19 > Cr-Commit-Position: refs/heads/master@{#26120} TBR=jochen@chromium.org,jkummerow@chromium.org,tandrii@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=chromium:446166 Review URL: https://codereview.chromium.org/855263002 Cr-Commit-Position: refs/heads/master@{#26121}
96 lines
2.9 KiB
Python
96 lines
2.9 KiB
Python
# 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.
|
|
|
|
vars = {
|
|
"git_url": "https://chromium.googlesource.com",
|
|
}
|
|
|
|
deps = {
|
|
"v8/build/gyp":
|
|
Var("git_url") + "/external/gyp.git" + "@" + "194ec65a55edf24c1976d4265f57e8c90ef5bb2f",
|
|
"v8/third_party/icu":
|
|
Var("git_url") + "/chromium/deps/icu.git" + "@" + "4e3266f32c62d30a3f9e2232a753c60129d1e670",
|
|
"v8/buildtools":
|
|
Var("git_url") + "/chromium/buildtools.git" + "@" + "451dcd05a5b34936f5be67b2472cd63aaa508401",
|
|
"v8/testing/gtest":
|
|
Var("git_url") + "/external/googletest.git" + "@" + "be1868139ffe0ccd0e8e3b37292b84c821d9c8ad",
|
|
"v8/testing/gmock":
|
|
Var("git_url") + "/external/googlemock.git" + "@" + "29763965ab52f24565299976b936d1265cb6a271", # from svn revision 501
|
|
"v8/tools/clang":
|
|
Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "97bfed3644c03f48864c479b8714f08ed80c5d13",
|
|
}
|
|
|
|
deps_os = {
|
|
"android": {
|
|
"v8/third_party/android_tools":
|
|
Var("git_url") + "/android_tools.git" + "@" + "4f723e2a5fa5b7b8a198072ac19b92344be2b271",
|
|
},
|
|
"win": {
|
|
"v8/third_party/cygwin":
|
|
Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
|
|
}
|
|
}
|
|
|
|
include_rules = [
|
|
# Everybody can use some things.
|
|
"+include",
|
|
"+unicode",
|
|
"+third_party/fdlibm",
|
|
]
|
|
|
|
# checkdeps.py shouldn't check for includes in these directories:
|
|
skip_child_includes = [
|
|
"build",
|
|
"third_party",
|
|
]
|
|
|
|
hooks = [
|
|
# 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",
|
|
],
|
|
},
|
|
{
|
|
# 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'],
|
|
},
|
|
{
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
|
"pattern": ".",
|
|
"action": ["python", "v8/build/gyp_v8"],
|
|
},
|
|
]
|