forked from dart-archive/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEPS
224 lines (194 loc) · 5.78 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
# Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE.md file.
vars = {
# NOTE: This revision will be used for looking at
# gs://chromium-browser-clang/Mac/clang-<rev>-1.tgz
# gs://chromium-browser-clang/Linux_x64/clang-<rev>-1.tgz
"clang_rev": "245965",
"github_url": "https://github.com/%s.git",
"gyp_rev": "@6ee91ad8659871916f9aa840d42e1513befdf638",
"persistent_rev": "@55daae1a038188c49e36a64e7ef132c4861da3d8",
# Used by pkg/immi_samples.
"crypto_rev": "@dd0ff8b95269b11f7bd925d2f58e5e938c1f03fc",
# Used by fletch_tests.
"isolate_tag": "@0.2.2",
# When updating this, please remember:
# 1. to use a commit on the branch "_temporary_fletch_patches".
# 2. update package revisions below.
# 3. Upload new binaries and update the `third_party/bin` sha-hash-files as
# described in `third_party/bin/README.md`.
"dart_rev": "@34357cdad108dcba734949bd13bd28c76ea285e0",
# Please copy these package revisions from ../dart/DEPS when updating
# dart_rev:
"package_config_tag": "@0.1.3",
"path_tag": "@1.3.6",
"charcode_tag": "@1.1.0",
"args_tag": "@0.13.0",
"dart2js_info_rev" : "@0a221eaf16aec3879c45719de656680ccb80d8a1",
"pub_semver_tag": "@1.2.1",
"collection_rev": "@1da9a07f32efa2ba0c391b289e2037391e31da0e",
"lk_rev": "@6cdc5cd1daaf22f56422301d3dac67c3573ef290",
# We use mirrors of all github repos to guarantee reproducibility and
# consistency between what users see and what the bots see.
# We need the mirrors to not have 100+ bots pulling github constantly.
# We mirror our github repos on chromium git servers.
# DO NOT use this var if you don't see a mirror here:
# https://chromium.googlesource.com/
# named like:
# external/github.com/dart-lang/NAME
# It is ok to add a dependency directly on dart-lang (dart-lang only)
# github repo until the mirror has been created, but please do file a bug
# against infra to make that happen.
"github_mirror":
"https://chromium.googlesource.com/external/github.com/dart-lang/%s.git",
"chromium_git": "https://chromium.googlesource.com",
}
deps = {
# Stuff needed for GYP to run.
"fletch/third_party/gyp":
Var('chromium_git') + '/external/gyp.git' + Var("gyp_rev"),
"fletch/third_party/dart":
(Var("github_mirror") % "sdk") + Var("dart_rev"),
"fletch/third_party/package_config":
(Var("github_mirror") % "package_config") + Var("package_config_tag"),
"fletch/third_party/args":
(Var("github_mirror") % "args") + Var("args_tag"),
"fletch/third_party/charcode":
(Var("github_mirror") % "charcode") + Var("charcode_tag"),
"fletch/third_party/path":
(Var("github_mirror") % "path") + Var("path_tag"),
"fletch/third_party/persistent":
(Var("github_url") % "polux/persistent") + Var("persistent_rev"),
"fletch/third_party/crypto":
(Var("github_mirror") % "crypto") + Var("crypto_rev"),
"fletch/third_party/lk/lk-downstream":
(Var("github_url") % "travisg/lk") + Var("lk_rev"),
"fletch/third_party/isolate":
"https://github.com/dart-lang/isolate.git" + Var("isolate_tag"),
"fletch/third_party/dart2js_info":
"https://github.com/dart-lang/dart2js_info.git" + Var("dart2js_info_rev"),
"fletch/third_party/pub_semver":
(Var("github_mirror") % "pub_semver") + Var("pub_semver_tag"),
"fletch/third_party/collection":
(Var("github_mirror") % "collection") + Var("collection_rev"),
"wiki": (Var("github_url") % "dart-lang/fletch.wiki"),
}
# To include Mac deps on other OSes, add this to your .gclient file:
#
# target_os = [ "mac" ]
#
# To ignore the host OS, add this:
#
# target_os_only = True
deps_os = {
"android": {
},
"mac": {
},
"unix": {
},
"win": {
},
}
hooks = [
{
'name': 'third_party_binaries',
'pattern': '.',
'action': [
'download_from_google_storage',
'--no_auth',
'--no_resume',
'--bucket',
'dart-dependencies-fletch',
'-d',
'-r',
'--auto_platform',
'fletch/third_party/bin',
],
},
{
'name': 'dart_test_binary',
'pattern': '.',
'action': [
'download_from_google_storage',
'--no_auth',
'--no_resume',
'--bucket',
'dart-dependencies-fletch',
'-d',
'-r',
'--auto_platform',
'fletch/tools/testing/bin',
],
},
{
'name': 'mdns_native_extension_binaries',
'pattern': '.',
'action': [
'download_from_google_storage',
'--no_auth',
'--no_resume',
'--bucket',
'dart-dependencies-fletch',
'-d',
'fletch/pkg/mdns/lib/native',
],
},
{
# Update the Windows toolchain if necessary.
'name': 'win_toolchain',
'pattern': '.',
'action': ['python',
'fletch/tools/vs_dependency/vs_toolchain.py',
'update'],
},
{
'name': 'third_party_qemu',
'pattern': '.',
'action': [
'download_from_google_storage',
'--no_auth',
'--no_resume',
'--bucket',
'dart-dependencies-fletch',
'-d',
'-r',
'-u',
'--auto_platform',
'fletch/third_party/qemu',
],
},
{
'name': 'third_party_openocd',
'pattern': '.',
'action': [
'download_from_google_storage',
'--no_auth',
'--no_resume',
'--bucket',
'dart-dependencies-fletch',
'-d',
'-r',
'-u',
'--auto_platform',
'fletch/third_party/openocd',
],
},
{
'name': 'lazy_update_clang',
'pattern': '.',
'action': [
'python',
'fletch/tools/clang_update.py',
'--revision=' + Var("clang_rev"),
],
},
{
'name': 'GYP',
'pattern': '.',
'action': [
'ninja', '-C', 'fletch',
],
},
]