forked from dart-archive/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEPS
155 lines (134 loc) · 3.84 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
# 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": "239765",
"github_url": "https://github.com/%s.git",
"gyp_rev": "@6ee91ad8659871916f9aa840d42e1513befdf638",
"persistent_rev": "@55daae1a038188c49e36a64e7ef132c4861da3d8",
# Used by pkg/immi_samples.
"crypto_rev": "@dd0ff8b95269b11f7bd925d2f58e5e938c1f03fc",
# When updating this, please remember:
# 1. to use a commit on the branch "_temporary_fletch_patches".
# 2. update package revisions below.
"dart_rev": "@79c288b760e7daf88872da2e1fa07b34488f3e0a",
# Please copy these package revisions from ../dart/DEPS when updating
# dart_rev:
"package_config_tag": "@0.1.1",
"path_tag": "@1.3.6",
"charcode_tag": "@1.1.0",
# 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.
"third_party/gyp":
Var('chromium_git') + '/external/gyp.git' + Var("gyp_rev"),
"dart":
(Var("github_mirror") % "sdk") + Var("dart_rev"),
"third_party/package_config":
(Var("github_mirror") % "package_config") + Var("package_config_tag"),
"third_party/charcode":
(Var("github_mirror") % "charcode") + Var("charcode_tag"),
"third_party/path":
(Var("github_mirror") % "path") + Var("path_tag"),
"third_party/persistent":
(Var("github_url") % "polux/persistent") + Var("persistent_rev"),
"third_party/crypto":
(Var("github_mirror") % "crypto") + Var("crypto_rev")
}
# 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_libs',
'pattern': '.',
'action': [
'download_from_google_storage',
'--no_auth',
'--no_resume',
'--bucket',
'dart-dependencies-fletch',
'-d',
'-r',
'--auto_platform',
'fletch/third_party/libs',
],
},
{
'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': 'lazy_update_clang',
'pattern': '.',
'action': [
'python',
'fletch/tools/clang_update.py',
'--revision=' + Var("clang_rev"),
],
},
{
'name': 'GYP',
'pattern': '.',
'action': [
'ninja', '-C', 'fletch',
],
},
]