blob: 0559523283f74e365ebc94bb245dfc25bfaff8d3 [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":
Ben Murdochda12d292016-06-02 14:46:10 +010011 Var("git_url") + "/external/gyp.git" + "@" + "4ec6c4e3a94bd04a6da2858163d40b2429b8aad1",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000012 "v8/third_party/icu":
Ben Murdochda12d292016-06-02 14:46:10 +010013 Var("git_url") + "/chromium/deps/icu.git" + "@" + "c291cde264469b20ca969ce8832088acb21e0c48",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000014 "v8/buildtools":
Ben Murdochda12d292016-06-02 14:46:10 +010015 Var("git_url") + "/chromium/buildtools.git" + "@" + "80b5126f91be4eb359248d28696746ef09d5be67",
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000016 "v8/base/trace_event/common":
Ben Murdochda12d292016-06-02 14:46:10 +010017 Var("git_url") + "/chromium/src/base/trace_event/common.git" + "@" + "c8c8665c2deaf1cc749d9f8e153256d4f67bf1b8",
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000018 "v8/tools/swarming_client":
Ben Murdochda12d292016-06-02 14:46:10 +010019 Var('git_url') + '/external/swarming.client.git' + '@' + "df6e95e7669883c8fe9ef956c69a544154701a49",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000020 "v8/testing/gtest":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000021 Var("git_url") + "/external/github.com/google/googletest.git" + "@" + "6f8a66431cb592dad629028a50b3dd418a408c87",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000022 "v8/testing/gmock":
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000023 Var("git_url") + "/external/googlemock.git" + "@" + "0421b6f358139f02e102c9c332ce19a33faf75be",
24 "v8/test/benchmarks/data":
25 Var("git_url") + "/v8/deps/third_party/benchmarks.git" + "@" + "05d7188267b4560491ff9155c5ee13e207ecd65f",
26 "v8/test/mozilla/data":
27 Var("git_url") + "/v8/deps/third_party/mozilla-tests.git" + "@" + "f6c578a10ea707b1a8ab0b88943fe5115ce2b9be",
28 "v8/test/simdjs/data": Var("git_url") + "/external/github.com/tc39/ecmascript_simd.git" + "@" + "c8ef63c728283debc25891123eb00482fee4b8cd",
29 "v8/test/test262/data":
Ben Murdochda12d292016-06-02 14:46:10 +010030 Var("git_url") + "/external/github.com/tc39/test262.git" + "@" + "57d3e2216fa86ad63b6c0a54914ba9dcbff96003",
Emily Bernierd0a1eb72015-03-24 16:35:39 -040031 "v8/tools/clang":
Ben Murdochda12d292016-06-02 14:46:10 +010032 Var("git_url") + "/chromium/src/tools/clang.git" + "@" + "faee82e064e04e5cbf60cc7327e7a81d2a4557ad",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000033}
34
35deps_os = {
36 "android": {
37 "v8/third_party/android_tools":
Ben Murdochda12d292016-06-02 14:46:10 +010038 Var("git_url") + "/android_tools.git" + "@" + "adfd31794011488cd0fc716b53558b2d8a67af8b",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000039 },
40 "win": {
41 "v8/third_party/cygwin":
Emily Bernierd0a1eb72015-03-24 16:35:39 -040042 Var("git_url") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df",
Ben Murdochb8a8cc12014-11-26 15:28:44 +000043 }
44}
45
46include_rules = [
47 # Everybody can use some things.
48 "+include",
49 "+unicode",
50 "+third_party/fdlibm",
51]
52
53# checkdeps.py shouldn't check for includes in these directories:
54skip_child_includes = [
55 "build",
56 "third_party",
57]
58
59hooks = [
Ben Murdoch4a90d5f2016-03-22 12:00:34 +000060 {
61 # This clobbers when necessary (based on get_landmines.py). It must be the
62 # first hook so that other things that get/generate into the output
63 # directory will not subsequently be clobbered.
64 'name': 'landmines',
65 'pattern': '.',
66 'action': [
67 'python',
68 'v8/build/landmines.py',
69 ],
70 },
Ben Murdochb8a8cc12014-11-26 15:28:44 +000071 # Pull clang-format binaries using checked-in hashes.
72 {
73 "name": "clang_format_win",
74 "pattern": ".",
75 "action": [ "download_from_google_storage",
76 "--no_resume",
77 "--platform=win32",
78 "--no_auth",
79 "--bucket", "chromium-clang-format",
80 "-s", "v8/buildtools/win/clang-format.exe.sha1",
81 ],
82 },
83 {
84 "name": "clang_format_mac",
85 "pattern": ".",
86 "action": [ "download_from_google_storage",
87 "--no_resume",
88 "--platform=darwin",
89 "--no_auth",
90 "--bucket", "chromium-clang-format",
91 "-s", "v8/buildtools/mac/clang-format.sha1",
92 ],
93 },
94 {
95 "name": "clang_format_linux",
96 "pattern": ".",
97 "action": [ "download_from_google_storage",
98 "--no_resume",
99 "--platform=linux*",
100 "--no_auth",
101 "--bucket", "chromium-clang-format",
102 "-s", "v8/buildtools/linux64/clang-format.sha1",
103 ],
104 },
Ben Murdoch097c5b22016-05-18 11:27:45 +0100105 {
106 'name': 'gcmole',
107 'pattern': '.',
108 'action': [
109 'python',
110 'v8/tools/gcmole/download_gcmole_tools.py',
111 ],
112 },
113 {
114 'name': 'jsfunfuzz',
115 'pattern': '.',
116 'action': [
117 'python',
118 'v8/tools/jsfunfuzz/download_jsfunfuzz.py',
119 ],
120 },
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000121 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
122 {
123 'name': 'luci-go_win',
124 'pattern': '.',
125 'action': [ 'download_from_google_storage',
126 '--no_resume',
127 '--platform=win32',
128 '--no_auth',
129 '--bucket', 'chromium-luci',
130 '-d', 'v8/tools/luci-go/win64',
131 ],
132 },
133 {
134 'name': 'luci-go_mac',
135 'pattern': '.',
136 'action': [ 'download_from_google_storage',
137 '--no_resume',
138 '--platform=darwin',
139 '--no_auth',
140 '--bucket', 'chromium-luci',
141 '-d', 'v8/tools/luci-go/mac64',
142 ],
143 },
144 {
145 'name': 'luci-go_linux',
146 'pattern': '.',
147 'action': [ 'download_from_google_storage',
148 '--no_resume',
149 '--platform=linux*',
150 '--no_auth',
151 '--bucket', 'chromium-luci',
152 '-d', 'v8/tools/luci-go/linux64',
153 ],
154 },
Ben Murdoch097c5b22016-05-18 11:27:45 +0100155 # Pull GN using checked-in hashes.
156 {
157 "name": "gn_win",
158 "pattern": ".",
159 "action": [ "download_from_google_storage",
160 "--no_resume",
161 "--platform=win32",
162 "--no_auth",
163 "--bucket", "chromium-gn",
164 "-s", "v8/buildtools/win/gn.exe.sha1",
165 ],
166 },
167 {
168 "name": "gn_mac",
169 "pattern": ".",
170 "action": [ "download_from_google_storage",
171 "--no_resume",
172 "--platform=darwin",
173 "--no_auth",
174 "--bucket", "chromium-gn",
175 "-s", "v8/buildtools/mac/gn.sha1",
176 ],
177 },
178 {
179 "name": "gn_linux",
180 "pattern": ".",
181 "action": [ "download_from_google_storage",
182 "--no_resume",
183 "--platform=linux*",
184 "--no_auth",
185 "--bucket", "chromium-gn",
186 "-s", "v8/buildtools/linux64/gn.sha1",
187 ],
188 },
Ben Murdoch4a90d5f2016-03-22 12:00:34 +0000189 {
190 # Update the Windows toolchain if necessary.
191 'name': 'win_toolchain',
192 'pattern': '.',
193 'action': ['python', 'v8/build/vs_toolchain.py', 'update'],
194 },
195 # Pull binutils for linux, enabled debug fission for faster linking /
196 # debugging when used with clang on Ubuntu Precise.
197 # https://code.google.com/p/chromium/issues/detail?id=352046
198 {
199 'name': 'binutils',
200 'pattern': 'v8/third_party/binutils',
201 'action': [
202 'python',
203 'v8/third_party/binutils/download.py',
204 ],
205 },
206 {
207 # Pull gold plugin if needed or requested via GYP_DEFINES.
208 # Note: This must run before the clang update.
209 'name': 'gold_plugin',
210 'pattern': '.',
211 'action': ['python', 'v8/build/download_gold_plugin.py'],
212 },
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000213 {
Emily Bernierd0a1eb72015-03-24 16:35:39 -0400214 # Pull clang if needed or requested via GYP_DEFINES.
215 # Note: On Win, this should run after win_toolchain, as it may use it.
216 'name': 'clang',
217 'pattern': '.',
218 'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'],
219 },
220 {
Ben Murdochb8a8cc12014-11-26 15:28:44 +0000221 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
222 "pattern": ".",
223 "action": ["python", "v8/build/gyp_v8"],
224 },
225]