blob: a81c7ecc38837f98a68b256cb2ec00ee992f71f8 [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001# Note: The buildbots evaluate this file with CWD set to the parent
2# directory and assume that the root of the checkout is in ./v8/, so
3# all paths in here must match this assumption.
4
5vars = {
Emily Bernierd0a1eb72015-03-24 16:35:39 -04006 "git_url": "https://chromium.googlesource.com",
Ben Murdochb8a8cc12014-11-26 15:28:44 +00007}
8
9deps = {
Ben Murdochb8a8cc12014-11-26 15:28:44 +000010 "v8/build/gyp":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040011 Var("git_url") + "/external/gyp.git" + "@" + "fe00999dfaee449d3465a9316778434884da4fa7", # from svn revision 2010
Ben Murdochb8a8cc12014-11-26 15:28:44 +000012 "v8/third_party/icu":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040013 Var("git_url") + "/chromium/deps/icu.git" + "@" + "51c1a4ce5f362676aa1f1cfdb5b7e52edabfa5aa",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000014 "v8/buildtools":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040015 Var("git_url") + "/chromium/buildtools.git" + "@" + "23a4e2f545c7b6340d7e5a2b74801941b0a86535",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000016 "v8/testing/gtest":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040017 Var("git_url") + "/external/googletest.git" + "@" + "8245545b6dc9c4703e6496d1efd19e975ad2b038", # from svn revision 700
Ben Murdochb8a8cc12014-11-26 15:28:44 +000018 "v8/testing/gmock":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040019 Var("git_url") + "/external/googlemock.git" + "@" + "29763965ab52f24565299976b936d1265cb6a271", # from svn revision 501
20 "v8/tools/clang":
21 Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "c945be21f6485fa177b43814f910b76cce921653",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000022}
23
24deps_os = {
25 "android": {
26 "v8/third_party/android_tools":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040027 Var("git_url") + "/android_tools.git" + "@" + "4f723e2a5fa5b7b8a198072ac19b92344be2b271",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000028 },
29 "win": {
30 "v8/third_party/cygwin":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040031 Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000032 }
33}
34
35include_rules = [
36 # Everybody can use some things.
37 "+include",
38 "+unicode",
39 "+third_party/fdlibm",
40]
41
42# checkdeps.py shouldn't check for includes in these directories:
43skip_child_includes = [
44 "build",
45 "third_party",
46]
47
48hooks = [
49 # Pull clang-format binaries using checked-in hashes.
50 {
51 "name": "clang_format_win",
52 "pattern": ".",
53 "action": [ "download_from_google_storage",
54 "--no_resume",
55 "--platform=win32",
56 "--no_auth",
57 "--bucket", "chromium-clang-format",
58 "-s", "v8/buildtools/win/clang-format.exe.sha1",
59 ],
60 },
61 {
62 "name": "clang_format_mac",
63 "pattern": ".",
64 "action": [ "download_from_google_storage",
65 "--no_resume",
66 "--platform=darwin",
67 "--no_auth",
68 "--bucket", "chromium-clang-format",
69 "-s", "v8/buildtools/mac/clang-format.sha1",
70 ],
71 },
72 {
73 "name": "clang_format_linux",
74 "pattern": ".",
75 "action": [ "download_from_google_storage",
76 "--no_resume",
77 "--platform=linux*",
78 "--no_auth",
79 "--bucket", "chromium-clang-format",
80 "-s", "v8/buildtools/linux64/clang-format.sha1",
81 ],
82 },
83 {
Emily Bernierd0a1eb72015-03-24 16:35:39 -040084 # Pull clang if needed or requested via GYP_DEFINES.
85 # Note: On Win, this should run after win_toolchain, as it may use it.
86 'name': 'clang',
87 'pattern': '.',
88 'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
89 },
90 {
Ben Murdochb8a8cc12014-11-26 15:28:44 +000091 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
92 "pattern": ".",
93 "action": ["python", "v8/build/gyp_v8"],
94 },
95]