This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 652
/
DEPS.xwalk
214 lines (202 loc) · 6.03 KB
/
DEPS.xwalk
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
# Source code dependencies required for building Crosswalk.
#
# This file is used as a template to generate .gclient-xwalk, which is a
# regular .gclient file pointing to additional source code repositories that
# need to be checked out in order to build Crosswalk.
#
# These dependencies are not specified in DEPS for historical compatibility
# reasons and also to allow us to perform some additional manipulation on some
# entries (such as setting a custom value for "deps_file" in certain
# solutions).
#
# If you are doing a DEPS roll, you should only need to worry about the *_rev
# variables below.
# -----------------------------------
# Crosswalk dependencies.
# Edit these when rolling DEPS.xwalk.
# -----------------------------------
chromium_crosswalk_rev = 'dd39e4fbbc1e4417cef2f908cc0a42af1e2120aa'
v8_crosswalk_rev = 'a48e44faef59edeb1fb254233a1c12b5d5999432'
# We need our own copy of src/buildtools in order to have the gn and
# clang-format binaries in a location that can be found automatically both by
# our bots as well as locally for our developers. Its hash does not necessarily
# need to be rolled together with |chromium_crosswalk_rev|, but it is good
# practice to not have it lag behind too much.
buildtools_rev = '454e53abae6e4d68ee992b0a93a4174b75519393'
chromium_git = 'https://chromium.googlesource.com'
crosswalk_git = 'https://github.com/crosswalk-project'
# ------------------------------------------------------
# gclient solutions.
# You do not need to worry about these most of the time.
# ------------------------------------------------------
solutions = [
{ 'name': 'src',
'url': crosswalk_git + '/chromium-crosswalk.git@' + chromium_crosswalk_rev,
'deps_file': '.DEPS.git',
'managed': True,
'custom_deps': {
'src':
crosswalk_git + '/chromium-crosswalk.git@' + chromium_crosswalk_rev,
'src/v8':
crosswalk_git + '/v8-crosswalk.git@' + v8_crosswalk_rev,
# Include Intel RSSDK headers and library loader for RealSense camera
# support.
'src/third_party/libpxc':
crosswalk_git + '/libpxc.git@568e4ecc969b4663e82034e71d08efdd5fa77e1a',
# These directories are not relevant to Crosswalk and can be safely ignored
# in a checkout. It avoids creating additional directories outside src/ that
# are not used and also saves some bandwidth.
'build': None,
'build/scripts/command_wrapper/bin': None,
'build/scripts/gsd_generate_index': None,
'build/scripts/private/data/reliability': None,
'build/scripts/tools/deps2git': None,
'build/third_party/cbuildbot_chromite': None,
'build/third_party/gsutil': None,
'build/third_party/lighttpd': None,
'build/third_party/swarm_client': None,
'build/third_party/xvfb': None,
'build/xvfb': None,
'commit-queue': None,
'depot_tools': None,
'src/chrome/tools/test/reference_build/chrome_linux': None,
'src/chrome/tools/test/reference_build/chrome_mac': None,
'src/chrome/tools/test/reference_build/chrome_win': None,
},
'custom_hooks': [
# Disable the hook that downloads the Google Play services library and
# asks the user to accept its EULA if necessary. The prompt is not show
# correctly, and we call it ourselves in DEPS.xwalk.
{
'name': 'sdkextras',
},
# Disable Chromium's "gyp" hooks, which runs the gyp_chromium script. We
# are not interested in running it as we use gyp_xwalk instead (and it is
# run at a later stage as a hook in Crosswalk's own DEPS).
{
'name': 'gyp',
},
],
},
{ 'name': 'src/xwalk/buildtools',
'url': chromium_git + '/chromium/buildtools.git@' + buildtools_rev,
'managed': True,
},
]
hooks = [
{
'action': [
'python',
'src/build/util/lastchange.py',
'--git-hash-only',
'--source-dir',
'src/third_party/WebKit',
'--output',
'src/xwalk/build/UPSTREAM.blink'
],
'pattern': '.',
'name': 'upstream_revision'
},
# Pull clang-format and gn binaries like Chromium itself does.
# We need our own copy for them to be found correctly when working in
# src/xwalk.
{
'action': [
'download_from_google_storage',
'--no_resume',
'--platform=win32',
'--no_auth',
'--bucket',
'chromium-gn',
'-s',
'src/xwalk/buildtools/win/gn.exe.sha1'
],
'pattern':
'.',
'name':
'gn_win'
},
{
'action': [
'download_from_google_storage',
'--no_resume',
'--platform=darwin',
'--no_auth',
'--bucket',
'chromium-gn',
'-s',
'src/xwalk/buildtools/mac/gn.sha1'
],
'pattern':
'.',
'name':
'gn_mac'
},
{
'action': [
'download_from_google_storage',
'--no_resume',
'--platform=linux*',
'--no_auth',
'--bucket',
'chromium-gn',
'-s',
'src/xwalk/buildtools/linux64/gn.sha1'
],
'pattern':
'.',
'name':
'gn_linux64'
},
{
'action': [
'download_from_google_storage',
'--no_resume',
'--platform=win32',
'--no_auth',
'--bucket',
'chromium-clang-format',
'-s',
'src/xwalk/buildtools/win/clang-format.exe.sha1'
],
'pattern':
'.',
'name':
'clang_format_win'
},
{
'action': [
'download_from_google_storage',
'--no_resume',
'--platform=darwin',
'--no_auth',
'--bucket',
'chromium-clang-format',
'-s',
'src/xwalk/buildtools/mac/clang-format.sha1'
],
'pattern':
'.',
'name':
'clang_format_mac'
},
{
'action': [
'download_from_google_storage',
'--no_resume',
'--platform=linux*',
'--no_auth',
'--bucket',
'chromium-clang-format',
'-s',
'src/xwalk/buildtools/linux64/clang-format.sha1'
],
'pattern':
'.',
'name':
'clang_format_linux'
},
]
# -------------------------------------------------
# This area is edited by generate_gclient-xwalk.py.
# -------------------------------------------------