1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
|
vars = {
# Use this googlecode_url variable only if there is an internal mirror for it.
# If you do not know, use the full path while defining your new deps entry.
"googlecode_url": "http://%s.googlecode.com/svn",
"webkit_trunk": "http://svn.webkit.org/repository/webkit/trunk",
"nacl_trunk": "http://src.chromium.org/native_client/trunk",
"webkit_revision": "91186",
"chromium_git": "http://git.chromium.org/git",
"swig_revision": "69281",
# These hashes need to be updated when nacl_revision is changed.
# After changing nacl_revision, run 'gclient runhooks' to get the new values.
"nacl_irt_hash_x86_32": "dc4485ff3f68862c889976bcb7f1978242dedd3d",
"nacl_irt_hash_x86_64": "189ff1a20bd685d0120f693aa227e69169a030df",
"nacl_revision": "6081",
# After changing nacl_revision, run 'glient sync' and check native_client/DEPS
# to update other nacl_*_revision's.
# TODO(brettw) We should use the "From" syntax to avoid hardcoding the
# revisions here, but it makes checkdeps confused. We should fix checkdeps.
"nacl_chrome_ppapi_revision": "92654", # native_client/DEPS: chrome_ppapi_rev
"nacl_tools_revision": "5360", # native_client/DEPS: tools_rev
"libjingle_revision": "73",
"libvpx_revision": "90416",
"ffmpeg_revision": "91042",
"skia_revision": "1850",
"v8_revision": "8670",
"webrtc_revision": "108",
}
deps = {
"src/breakpad/src":
(Var("googlecode_url") % "google-breakpad") + "/trunk/src@786",
"src/build/util/support":
"/trunk/deps/support@20411",
"src/googleurl":
(Var("googlecode_url") % "google-url") + "/trunk@159",
"src/seccompsandbox":
(Var("googlecode_url") % "seccompsandbox") + "/trunk@158",
"src/sdch/open-vcdiff":
(Var("googlecode_url") % "open-vcdiff") + "/trunk@28",
"src/testing/gtest":
(Var("googlecode_url") % "googletest") + "/trunk@560",
"src/testing/gmock":
(Var("googlecode_url") % "googlemock") + "/trunk@374",
"src/third_party/angle":
(Var("googlecode_url") % "angleproject") + "/trunk@704",
# Note that this is *not* where we check out WebKit -- this just
# puts some extra files into place for the real WebKit checkout to
# happen. See lines mentioning "webkit_revision" for the real
# WebKit checkout.
"src/third_party/WebKit":
"/trunk/deps/third_party/WebKit@76115",
"src/third_party/icu":
"/trunk/deps/third_party/icu46@90787",
"src/third_party/hunspell":
"/trunk/deps/third_party/hunspell@65351",
"src/third_party/hunspell_dictionaries":
"/trunk/deps/third_party/hunspell_dictionaries@79099",
"src/third_party/safe_browsing/testing":
(Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@106",
"src/third_party/cacheinvalidation/files/src/google":
(Var("googlecode_url") % "google-cache-invalidation-api") +
"/trunk/src/google@128",
"src/third_party/leveldb":
(Var("googlecode_url") % "leveldb") + "/trunk@36",
"src/third_party/snappy/src":
(Var("googlecode_url") % "snappy") + "/trunk@37",
"src/tools/gyp":
(Var("googlecode_url") % "gyp") + "/trunk@958",
"src/v8":
(Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
"src/native_client":
Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
"src/native_client/src/third_party/ppapi":
# TODO(brettw) enable the From() line instead when checkdeps is fixed.
#From("src/native_client", "native_client/src/third_party/ppapi"),
"/trunk/src/ppapi@" + Var("nacl_chrome_ppapi_revision"),
"src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
Var("nacl_revision"),
"src/third_party/skia/gpu":
(Var("googlecode_url") % "skia") + "/trunk/gpu@" + Var("skia_revision"),
"src/third_party/skia/src":
(Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
"src/third_party/skia/include":
(Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
"src/third_party/skia/third_party/glu":
(Var("googlecode_url") % "skia") + "/trunk/third_party/glu@" + Var("skia_revision"),
"src/third_party/WebKit/LayoutTests":
Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
"src/third_party/WebKit/Source":
Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
"src/third_party/WebKit/Tools/DumpRenderTree":
Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
"src/third_party/WebKit/Tools/Scripts":
Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
"src/third_party/ots":
(Var("googlecode_url") % "ots") + "/trunk@69",
"src/tools/page_cycler/acid3":
"/trunk/deps/page_cycler/acid3@19546",
"src/third_party/bidichecker":
(Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
"src/chrome/test/data/gpu/webgl_conformance":
"/trunk/deps/third_party/webgl/sdk/tests@91578",
# We run these layout tests as UI tests. Since many of the buildbots that
# run layout tests do NOT have access to the LayoutTest directory, we need
# to map them here. In practice, these do not take up much space.
"src/chrome/test/data/layout_tests/LayoutTests/fast/events":
Var("webkit_trunk") + "/LayoutTests/fast/events@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/fast/js/resources":
Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/fast/workers":
Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/http/tests/resources":
Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/http/tests/workers":
Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-mac/fast/events":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-mac/fast/events@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-mac/http/tests/workers":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-mac/http/tests/workers@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-mac/storage/domstorage":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-mac/storage/domstorage@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/http/tests/appcache":
Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/storage/domstorage":
Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/media":
Var("webkit_trunk") + "/LayoutTests/media@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/workers":
Var("webkit_trunk") + "/LayoutTests/fast/filesystem/workers@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
Var("webkit_revision"),
"src/chrome/test/data/layout_tests/LayoutTests/http/tests/filesystem":
Var("webkit_trunk") + "/LayoutTests/http/tests/filesystem@" +
Var("webkit_revision"),
"src/third_party/swig/Lib":
"/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
# WebDriver keeps client and test code separate, and merges when the
# python egg is installed. We run tests directly from src, so import
# the code into the structure expected by the tests.
"src/third_party/webdriver/python/selenium":
"http://selenium.googlecode.com/svn/trunk/py/selenium@12107",
"src/third_party/webdriver/python/selenium/test":
"http://selenium.googlecode.com/svn/trunk/py/test@12107",
"src/third_party/libvpx":
"/trunk/deps/third_party/libvpx@" +
Var("libvpx_revision"),
"src/third_party/ffmpeg":
"/trunk/deps/third_party/ffmpeg/source@" +
Var("ffmpeg_revision"),
"src/third_party/libjingle/source":
(Var("googlecode_url") % "libjingle") + "/trunk@" +
Var("libjingle_revision"),
"src/third_party/speex":
"/trunk/deps/third_party/speex@83190",
"src/third_party/yasm/source/patched-yasm":
"/trunk/deps/third_party/yasm/patched-yasm@73761",
"src/third_party/libjpeg_turbo":
"/trunk/deps/third_party/libjpeg_turbo@83675",
"src/third_party/flac":
"/trunk/deps/third_party/flac@75901",
# Needed to support nacl browser test jig.
"src/third_party/pylib":
# TODO(brettw) enable the From() line instead when checkdeps is fixed.
#From("src/native_client", "native_client/src/third_party/pylib"),
Var("nacl_trunk") + "/src/third_party/pylib@" + Var("nacl_tools_revision"),
"src/third_party/scons-2.0.1":
Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
Var("nacl_tools_revision"),
"src/third_party/webrtc":
(Var("googlecode_url") % "webrtc") + "/trunk@" + Var("webrtc_revision"),
}
deps_os = {
"win": {
"src/chrome/tools/test/reference_build/chrome_win":
"/trunk/deps/reference_builds/chrome_win@89574",
"src/third_party/cygwin":
"/trunk/deps/third_party/cygwin@66844",
"src/third_party/python_26":
"/trunk/tools/third_party/python_26@89111",
"src/third_party/psyco_win32":
"/trunk/deps/third_party/psyco_win32@79861",
"src/third_party/lighttpd":
"/trunk/deps/third_party/lighttpd@33727",
"src/third_party/ffmpeg/binaries/chromium/win/ia32":
"/trunk/deps/third_party/ffmpeg/binaries/win@" + Var("ffmpeg_revision"),
# Chrome Frame related deps
"src/third_party/xulrunner-sdk":
"/trunk/deps/third_party/xulrunner-sdk@71609",
"src/chrome_frame/tools/test/reference_build/chrome_win":
"/trunk/deps/reference_builds/chrome_win@89574",
# Parses Windows PE/COFF executable format.
"src/third_party/pefile":
(Var("googlecode_url") % "pefile") + "/trunk@63",
# NSS, for SSLClientSocketNSS.
"src/third_party/nss":
"/trunk/deps/third_party/nss@90649",
"src/third_party/swig/win":
"/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
"src/third_party/mingw-w64/mingw/bin":
(Var("nacl_trunk") + "/src/third_party/mingw-w64/mingw/bin@" +
Var("nacl_tools_revision")),
"src/rlz":
(Var("googlecode_url") % "rlz") + "/trunk@43",
# Dependencies used by libjpeg-turbo
"src/third_party/yasm/binaries":
"/trunk/deps/third_party/yasm/binaries@74228",
},
"mac": {
"src/chrome/tools/test/reference_build/chrome_mac":
"/trunk/deps/reference_builds/chrome_mac@89574",
"src/third_party/GTM":
(Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@446",
"src/third_party/pdfsqueeze":
(Var("googlecode_url") % "pdfsqueeze") + "/trunk@4",
"src/third_party/lighttpd":
"/trunk/deps/third_party/lighttpd@33737",
"src/third_party/WebKit/WebKitLibraries":
Var("webkit_trunk") + "/WebKitLibraries@" + Var("webkit_revision"),
"src/third_party/swig/mac":
"/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
# NSS, for SSLClientSocketNSS.
"src/third_party/nss":
"/trunk/deps/third_party/nss@90649",
"src/chrome/installer/mac/third_party/xz/xz":
"/trunk/deps/third_party/xz@87706",
},
"unix": {
# Linux, really.
"src/chrome/tools/test/reference_build/chrome_linux":
"/trunk/deps/reference_builds/chrome_linux@89574",
"src/third_party/xdg-utils":
"/trunk/deps/third_party/xdg-utils@84895",
"src/third_party/swig/linux":
"/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
"src/third_party/lss":
(Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@3",
"src/third_party/openssl":
"/trunk/deps/third_party/openssl@69192",
"src/third_party/WebKit/Tools/gdb":
Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
},
}
include_rules = [
# Everybody can use some things.
"+base",
"+build",
"+ipc",
# For now, we allow ICU to be included by specifying "unicode/...", although
# this should probably change.
"+unicode",
"+testing",
]
# checkdeps.py shouldn't check include paths for files in these dirs:
skip_child_includes = [
"breakpad",
"chrome_frame",
"native_client",
"o3d",
"pdf",
"sdch",
"skia",
"testing",
"third_party",
"v8",
]
hooks = [
{
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
"pattern": ".",
"action": ["python", "src/build/gyp_chromium"],
},
{
# This downloads binaries for Native Client's integrated runtime (IRT)
# library, which is built as NaCl untrusted code.
"pattern": ".",
"action": ["python", "src/build/download_nacl_irt.py",
"--nacl_revision", Var("nacl_revision"),
"--file_hash", "x86_32", Var("nacl_irt_hash_x86_32"),
"--file_hash", "x86_64", Var("nacl_irt_hash_x86_64")],
},
]
|