blob: b3cf10a85fc14c7e0ef695f057a38accb2afa8aa [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 Murdochc5610432016-08-08 18:44:38 +010010 "v8/build":
Ben Murdoch61f157c2016-09-16 13:49:30 +010011 Var("git_url") + "/chromium/src/build.git" + "@" + "87e063014aa0f343b15f5de495a28e5f8572bf8d",
Ben Murdochc5610432016-08-08 18:44:38 +010012 "v8/tools/gyp":
Ben Murdoch61f157c2016-09-16 13:49:30 +010013 Var("git_url") + "/external/gyp.git" + "@" + "35eafcd939515d51d19556c543f9cf97faf75ee6",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000014 "v8/third_party/icu":
Ben Murdoch61f157c2016-09-16 13:49:30 +010015 Var("git_url") + "/chromium/deps/icu.git" + "@" + "ffa4b6704cf5cc9fec9485731f24a05b2ba94bca",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000016 "v8/buildtools":
Ben Murdoch61f157c2016-09-16 13:49:30 +010017 Var("git_url") + "/chromium/buildtools.git" + "@" + "56eaae134648135663c4aa1ed82278572b5f35ef",
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000018 "v8/base/trace_event/common":
Ben Murdochc5610432016-08-08 18:44:38 +010019 Var("git_url") + "/chromium/src/base/trace_event/common.git" + "@" + "54b8455be9505c2cb0cf5c26bb86739c236471aa",
Ben Murdoch61f157c2016-09-16 13:49:30 +010020 "v8/tools/mb":
21 Var('git_url') + '/chromium/src/tools/mb.git' + '@' + "62e2d060db3b06208f5d6558db03efd140ecd180",
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000022 "v8/tools/swarming_client":
Ben Murdochda12d292016-06-02 14:46:10 +010023 Var('git_url') + '/external/swarming.client.git' + '@' + "df6e95e7669883c8fe9ef956c69a544154701a49",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000024 "v8/testing/gtest":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000025 Var("git_url") + "/external/github.com/google/googletest.git" + "@" + "6f8a66431cb592dad629028a50b3dd418a408c87",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000026 "v8/testing/gmock":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000027 Var("git_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be",
28 "v8/test/benchmarks/data":
29 Var("git_url") + "/v8/deps/third_party/benchmarks.git" + "@" + "05d7188267b4560491ff9155c5ee13e207ecd65f",
30 "v8/test/mozilla/data":
31 Var("git_url") + "/v8/deps/third_party/mozilla-tests.git" + "@" + "f6c578a10ea707b1a8ab0b88943fe5115ce2b9be",
Ben Murdoch61f157c2016-09-16 13:49:30 +010032 "v8/test/simdjs/data": Var("git_url") + "/external/github.com/tc39/ecmascript_simd.git" + "@" + "baf493985cb9ea7cdbd0d68704860a8156de9556",
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000033 "v8/test/test262/data":
Ben Murdoch61f157c2016-09-16 13:49:30 +010034 Var("git_url") + "/external/github.com/tc39/test262.git" + "@" + "88bc7fe7586f161201c5f14f55c9c489f82b1b67",
Emily Bernierd0a1eb72015-03-24 16:35:39 -040035 "v8/tools/clang":
Ben Murdoch61f157c2016-09-16 13:49:30 +010036 Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "2ad431ac7823581e1f39c5b770704e1e1ca6cb32",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000037}
38
39deps_os = {
40 "android": {
41 "v8/third_party/android_tools":
Ben Murdoch61f157c2016-09-16 13:49:30 +010042 Var("git_url") + "/android_tools.git" + "@" + "5b5f2f60b78198eaef25d442ac60f823142a8a6e",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000043 },
44 "win": {
45 "v8/third_party/cygwin":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040046 Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000047 }
48}
49
Ben Murdoch61f157c2016-09-16 13:49:30 +010050recursedeps = [ 'v8/third_party/android_tools' ]
51
Ben Murdochb8a8cc12014-11-26 15:28:44 +000052include_rules = [
53 # Everybody can use some things.
54 "+include",
55 "+unicode",
56 "+third_party/fdlibm",
57]
58
59# checkdeps.py shouldn't check for includes in these directories:
60skip_child_includes = [
61 "build",
Ben Murdochc5610432016-08-08 18:44:38 +010062 "gypfiles",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000063 "third_party",
64]
65
66hooks = [
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000067 {
68 # This clobbers when necessary (based on get_landmines.py). It must be the
69 # first hook so that other things that get/generate into the output
70 # directory will not subsequently be clobbered.
71 'name': 'landmines',
72 'pattern': '.',
73 'action': [
74 'python',
Ben Murdochc5610432016-08-08 18:44:38 +010075 'v8/gypfiles/landmines.py',
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000076 ],
77 },
Ben Murdochb8a8cc12014-11-26 15:28:44 +000078 # Pull clang-format binaries using checked-in hashes.
79 {
80 "name": "clang_format_win",
81 "pattern": ".",
82 "action": [ "download_from_google_storage",
83 "--no_resume",
84 "--platform=win32",
85 "--no_auth",
86 "--bucket", "chromium-clang-format",
87 "-s", "v8/buildtools/win/clang-format.exe.sha1",
88 ],
89 },
90 {
91 "name": "clang_format_mac",
92 "pattern": ".",
93 "action": [ "download_from_google_storage",
94 "--no_resume",
95 "--platform=darwin",
96 "--no_auth",
97 "--bucket", "chromium-clang-format",
98 "-s", "v8/buildtools/mac/clang-format.sha1",
99 ],
100 },
101 {
102 "name": "clang_format_linux",
103 "pattern": ".",
104 "action": [ "download_from_google_storage",
105 "--no_resume",
106 "--platform=linux*",
107 "--no_auth",
108 "--bucket", "chromium-clang-format",
109 "-s", "v8/buildtools/linux64/clang-format.sha1",
110 ],
111 },
Ben Murdoch097c5b22016-05-18 11:27:45 +0100112 {
113 'name': 'gcmole',
114 'pattern': '.',
115 'action': [
116 'python',
117 'v8/tools/gcmole/download_gcmole_tools.py',
118 ],
119 },
120 {
121 'name': 'jsfunfuzz',
122 'pattern': '.',
123 'action': [
124 'python',
125 'v8/tools/jsfunfuzz/download_jsfunfuzz.py',
126 ],
127 },
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000128 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
129 {
130 'name': 'luci-go_win',
131 'pattern': '.',
132 'action': [ 'download_from_google_storage',
133 '--no_resume',
134 '--platform=win32',
135 '--no_auth',
136 '--bucket', 'chromium-luci',
137 '-d', 'v8/tools/luci-go/win64',
138 ],
139 },
140 {
141 'name': 'luci-go_mac',
142 'pattern': '.',
143 'action': [ 'download_from_google_storage',
144 '--no_resume',
145 '--platform=darwin',
146 '--no_auth',
147 '--bucket', 'chromium-luci',
148 '-d', 'v8/tools/luci-go/mac64',
149 ],
150 },
151 {
152 'name': 'luci-go_linux',
153 'pattern': '.',
154 'action': [ 'download_from_google_storage',
155 '--no_resume',
156 '--platform=linux*',
157 '--no_auth',
158 '--bucket', 'chromium-luci',
159 '-d', 'v8/tools/luci-go/linux64',
160 ],
161 },
Ben Murdoch097c5b22016-05-18 11:27:45 +0100162 # Pull GN using checked-in hashes.
163 {
164 "name": "gn_win",
165 "pattern": ".",
166 "action": [ "download_from_google_storage",
167 "--no_resume",
168 "--platform=win32",
169 "--no_auth",
170 "--bucket", "chromium-gn",
171 "-s", "v8/buildtools/win/gn.exe.sha1",
172 ],
173 },
174 {
175 "name": "gn_mac",
176 "pattern": ".",
177 "action": [ "download_from_google_storage",
178 "--no_resume",
179 "--platform=darwin",
180 "--no_auth",
181 "--bucket", "chromium-gn",
182 "-s", "v8/buildtools/mac/gn.sha1",
183 ],
184 },
185 {
186 "name": "gn_linux",
187 "pattern": ".",
188 "action": [ "download_from_google_storage",
189 "--no_resume",
190 "--platform=linux*",
191 "--no_auth",
192 "--bucket", "chromium-gn",
193 "-s", "v8/buildtools/linux64/gn.sha1",
194 ],
195 },
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000196 {
Ben Murdoch61f157c2016-09-16 13:49:30 +0100197 # Downloads the current stable linux sysroot to build/linux/ if needed.
198 # This sysroot updates at about the same rate that the chrome build deps
199 # change.
200 'name': 'sysroot',
201 'pattern': '.',
202 'action': [
203 'python',
204 'v8/build/linux/sysroot_scripts/install-sysroot.py',
205 '--running-as-hook',
206 ],
207 },
208 {
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000209 # Update the Windows toolchain if necessary.
210 'name': 'win_toolchain',
211 'pattern': '.',
Ben Murdochc5610432016-08-08 18:44:38 +0100212 'action': ['python', 'v8/gypfiles/vs_toolchain.py', 'update'],
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000213 },
214 # Pull binutils for linux, enabled debug fission for faster linking /
215 # debugging when used with clang on Ubuntu Precise.
216 # https://code.google.com/p/chromium/issues/detail?id=352046
217 {
218 'name': 'binutils',
219 'pattern': 'v8/third_party/binutils',
220 'action': [
221 'python',
222 'v8/third_party/binutils/download.py',
223 ],
224 },
225 {
226 # Pull gold plugin if needed or requested via GYP_DEFINES.
227 # Note: This must run before the clang update.
228 'name': 'gold_plugin',
229 'pattern': '.',
Ben Murdochc5610432016-08-08 18:44:38 +0100230 'action': ['python', 'v8/gypfiles/download_gold_plugin.py'],
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000231 },
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000232 {
Emily Bernierd0a1eb72015-03-24 16:35:39 -0400233 # Pull clang if needed or requested via GYP_DEFINES.
234 # Note: On Win, this should run after win_toolchain, as it may use it.
235 'name': 'clang',
236 'pattern': '.',
237 'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
238 },
239 {
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000240 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
241 "pattern": ".",
Ben Murdochc5610432016-08-08 18:44:38 +0100242 "action": ["python", "v8/gypfiles/gyp_v8"],
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000243 },
244]