-
Notifications
You must be signed in to change notification settings - Fork 7
/
DEPS
289 lines (279 loc) · 10 KB
/
DEPS
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
#
# Copyright (c) 2019 The Aquarium Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
gclient_gn_args_file = 'build/config/gclient_args.gni'
gclient_gn_args = [
]
vars = {
'build_with_chromium': True, # suppress some nested 3rd-parties and gclient hooks by pretending to be Chromium
'dawn_standalone': False,
'android_git': 'https://android.googlesource.com',
'chromium_git': 'https://chromium.googlesource.com',
'dawn_git': 'https://dawn.googlesource.com',
'github_git': 'https://github.com',
'swiftshader_git': 'https://swiftshader.googlesource.com',
# Revisions of Chromium's subtree mirrors
# To ensure these 3rd-party dependencies can nicely work together, they are rolled as the
# following:
# 1) go to {chromium_git}/chromium/src/+log/{chromium_rev}/path/to/dependency, and take down the
# latest Git revision and/or Gerrit Change-Id there
# 2) go to {chromium_git}/chromium/src/path/to/dependency/+log, and find the revision with a
# matching Change-Id / GitOrigin-RevId / Cr-Mirrored-Commit trailer in the commit message
'build_revision': '068753b02547cf5af14ebb732f8af65309382124',
'buildtools_revision': 'fba2905150c974240f14aa5334c3e5c93f873032',
'clang_revision': 'd663c274354764e7eeb74e5566d4c259f1259f12',
'googletest_gn_revision': '17bbed2084d3127bd7bcd27283f18d7a5861bea8',
'jinja2_revision': '6906af9d94ae10e895af4b7d07a34206e8de1424',
'jsoncpp_gn_revision': '9d9b186fefa51728b0b257a95fe1b31c98fb58d1',
'libpng_revision': 'eee63db00955234e51954839d2dd47db529d05ce',
'markupsafe_revision': '0944e71f4b2cb9a871bcbe353f95e889b64a611a',
'testing_revision': '73587aa74e599b605c911674c0c306260f0c385b',
'zlib_revision': 'd0e636edaa95e2e04f56b84014f6b5f799acf0f0',
# The following revisions are picked up from {chromium_git}/src/DEPS
'angle_revision': '363d9cb6536886ca4e2e75bef58a32af2bc9bb0a',
'catapult_revision': 'edf4e0e88f4e636bd9fc249d9b26c589ead820ec',
'dawn_revision': '7f7f8130415a8a6ad950b9dd987a89cdaa2f88a1',
'dsymutil_revision': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
'glfw_revision': '2de2589f910b1a85905f425be4d32f33cec092df',
'gn_version': 'git_revision:39a87c0b36310bdf06b692c098f199a0d97fc810',
'libcxx_revision': '8fa87946779682841e21e2da977eccfb6cb3bded',
'libcxxabi_revision': 'da3e6cbc62dd1e3df45f522ba313d1c581867094',
'libjpeg_turbo_revision': 'b7bef8c05b7cdb1a038ae271a2c2b6647af4c879',
'libunwind_revision': 'c8d0fb870a8d5325c80f5588d7421ecb5faa658d',
'nasm_revision': '19f3fad68da99277b2882939d3b2fa4c4b8d51d9',
'swiftshader_revision': 'f504d9ef5615cad38cb983b02b5dda6f9b3b613b',
'vulkan_deps_revision': 'f7463350a894cb26ad7952af498cf109f8194180',
'vulkan_memory_allocator_revision': '732a76d9d3c70d6aa487216495eeb28518349c3a',
# For some 3rd-party dependencies, gclient will:
# 1) fetch a dummy repo and check out the revision given by '*_revision'
# 2) for the actual source, recurse into the dummy repo by overriding the revision variable in its
# DEPS file with the value here
'googletest_revision': 'a3460d1aeeaa43fdf137a6adefef10ba0b59fe4b',
'jsoncpp_revision': '9059f5cad030ba11d37818847443a53918c327b1',
# Revisions of other 3rd-party dependencies directly used by Aquarium, whose rolling strategy
# remains to be discussed
'cxxopts_revision': '07f5cb24f1d75aad6c27eafd83863a78a37f16cb',
'stb_revision': 'c7110588a4d24c4bb5155c184fbb77dd90b3116e',
}
deps = {
'build': {
'url': '{chromium_git}/chromium/src/build.git@{build_revision}',
},
'buildtools': {
'url': '{chromium_git}/chromium/src/buildtools.git@{buildtools_revision}',
},
'buildtools/linux64': {
'packages': [
{
'package': 'gn/gn/linux-amd64',
'version': '{gn_version}',
},
],
'dep_type': 'cipd',
'condition': 'host_os == "linux"',
},
'buildtools/mac': {
'packages': [
{
'package': 'gn/gn/mac-${{arch}}',
'version': '{gn_version}',
},
],
'dep_type': 'cipd',
'condition': 'host_os == "mac"',
},
'buildtools/third_party/libc++/trunk': {
'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxx.git@{libcxx_revision}',
},
'buildtools/third_party/libc++abi/trunk': {
'url': '{chromium_git}/external/github.com/llvm/llvm-project/libcxxabi.git@{libcxxabi_revision}',
},
'buildtools/third_party/libunwind/trunk': {
'url': '{chromium_git}/external/github.com/llvm/llvm-project/libunwind.git@{libunwind_revision}',
},
'buildtools/win': {
'packages': [
{
'package': 'gn/gn/windows-amd64',
'version': '{gn_version}',
},
],
'dep_type': 'cipd',
'condition': 'host_os == "win"',
},
'testing': {
'url': '{chromium_git}/chromium/src/testing.git@{testing_revision}',
},
'third_party/angle': {
'url': '{chromium_git}/angle/angle.git@{angle_revision}',
},
'third_party/angle/third_party/libpng/src': {
'url': '{android_git}/platform/external/libpng.git@{libpng_revision}',
},
'third_party/catapult':
Var('chromium_git') + '/catapult.git' + '@' + Var('catapult_revision'),
'third_party/cxxopts': {
'url': '{github_git}/jarro2783/cxxopts.git@{cxxopts_revision}',
},
'third_party/dawn': {
'url': '{dawn_git}/dawn.git@{dawn_revision}',
},
'tools/clang/dsymutil': {
'packages': [
{
'package': 'chromium/llvm-build-tools/dsymutil',
'version': '{dsymutil_revision}',
},
],
'condition': 'checkout_mac',
'dep_type': 'cipd',
},
'third_party/glfw': {
'url': '{github_git}/glfw/glfw.git@{glfw_revision}',
},
'third_party/googletest': {
'url': '{chromium_git}/chromium/src/third_party/googletest.git@{googletest_gn_revision}',
},
'third_party/jinja2': {
'url': '{chromium_git}/chromium/src/third_party/jinja2.git@{jinja2_revision}',
},
'third_party/jsoncpp': {
'url': '{chromium_git}/chromium/src/third_party/jsoncpp.git@{jsoncpp_gn_revision}',
},
'third_party/libjpeg_turbo': {
'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@{libjpeg_turbo_revision}',
},
'third_party/markupsafe': {
'url': '{chromium_git}/chromium/src/third_party/markupsafe.git@{markupsafe_revision}',
},
'third_party/nasm': {
'url': '{chromium_git}/chromium/deps/nasm.git@{nasm_revision}',
},
'third_party/stb': {
'url': '{github_git}/nothings/stb.git@{stb_revision}',
},
'third_party/swiftshader': {
'url': '{swiftshader_git}/SwiftShader.git@{swiftshader_revision}',
},
'third_party/vulkan-deps': {
'url': '{chromium_git}/vulkan-deps@{vulkan_deps_revision}',
},
'third_party/vulkan_memory_allocator': {
'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git@{vulkan_memory_allocator_revision}',
},
'third_party/zlib': {
'url': '{chromium_git}/chromium/src/third_party/zlib.git@{zlib_revision}',
},
'tools/clang': {
'url': '{chromium_git}/chromium/src/tools/clang.git@{clang_revision}',
},
}
hooks = [
{
'name': 'clang',
'pattern': '.',
'action': ['python', 'tools/clang/scripts/update.py'],
},
# Pull clang-format binaries using checked-in hashes.
{
'name': 'clang_format_linux',
'pattern': '.',
'condition': 'host_os == "linux"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=linux*',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/linux64/clang-format.sha1',
],
},
{
'name': 'clang_format_mac',
'pattern': '.',
'condition': 'host_os == "mac"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=darwin',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/mac/clang-format.sha1',
],
},
{
'name': 'clang_format_win',
'pattern': '.',
'condition': 'host_os == "win"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=win32',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/win/clang-format.exe.sha1',
],
},
{
# Update LASTCHANGE.
'name': 'lastchange',
'pattern': '.',
'action': ['python3', 'build/util/lastchange.py',
'-o', 'build/util/LASTCHANGE'],
},
# Pull rc binaries using checked-in hashes.
{
'name': 'rc_linux',
'pattern': '.',
'condition': 'checkout_win and host_os == "linux"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-browser-clang/rc',
'-s', 'build/toolchain/win/rc/linux64/rc.sha1',
],
},
{
'name': 'rc_mac',
'pattern': '.',
'condition': 'checkout_win and host_os == "mac"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-browser-clang/rc',
'-s', 'build/toolchain/win/rc/mac/rc.sha1',
],
},
{
'name': 'rc_win',
'pattern': '.',
'condition': 'checkout_win and host_os == "win"',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-browser-clang/rc',
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
],
},
# Pull the compilers and system libraries for hermetic builds
{
'name': 'sysroot_x64',
'pattern': '.',
'condition': 'checkout_linux and (checkout_x64)',
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x64'],
},
{
'name': 'sysroot_x86',
'pattern': '.',
'condition': 'checkout_linux and ((checkout_x86 or checkout_x64))',
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x86'],
},
]
recursedeps = [
'third_party/angle',
'third_party/dawn',
'third_party/googletest',
'third_party/jsoncpp',
'third_party/vulkan-deps',
]