forked from crosswalk-project/crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEPS.xwalk
113 lines (101 loc) · 4.12 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
# 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 = '7e1ccae3e41e237e52032627b52e2804445bdea3'
v8_crosswalk_rev = '291a3d32821ea2be983076911e72a4a3d5bae8cc'
ozone_wayland_rev = '5e056d8d5f2eadaea34d0352556a197dd700d6e0'
# |blink_crosswalk_rev| specifies the SHA1 hash of the blink-crosswalk commit
# we want to point to, very much like the variables above.
# |blink_upstream_rev| indicates the revision of the latest upstream commit in
# the blink-crosswalk repository, so that the devtools code can use it to fetch
# assets from Chromium's servers with a revision that exists there. We need an
# SVN revision while Blink is still in SVN.
blink_crosswalk_rev = 'c74608426e970d4bfdd35fb2cee19939efbba405'
blink_upstream_rev = '192846'
crosswalk_git = 'https://github.com/crosswalk-project'
ozone_wayland_git = 'https://github.com/01org'
# ------------------------------------------------------
# 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',
'custom_deps': {
'src':
crosswalk_git + '/chromium-crosswalk.git@' + chromium_crosswalk_rev,
'src/third_party/WebKit':
crosswalk_git + '/blink-crosswalk.git@' + blink_crosswalk_rev,
'src/v8':
crosswalk_git + '/v8-crosswalk.git@' + v8_crosswalk_rev,
# Include OpenCL header files for WebCL support, target version 1.2.
'src/third_party/khronos/CL':
'https://cvs.khronos.org/svn/repos/registry/trunk/public/cl/api/1.2@'
'28150',
# 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,
},
'custom_hooks': [
# 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',
},
],
},
# ozone-wayland is set as a separate solution because we gclient _not_ to read
# its .DEPS.git: it changes the recursion limit and tries to check Chromium
# upstream out itself, leading to URL conflicts and errors about duplicate
# entries.
{ 'name': 'src/ozone',
'url': ozone_wayland_git + '/ozone-wayland.git@' + ozone_wayland_rev,
'deps_file': '',
}
]
hooks = [
{
'action': [
'python',
'src/xwalk/tools/upstream_revision.py',
'-r',
blink_upstream_rev,
'-o',
'src/xwalk/build/UPSTREAM.blink'
],
'pattern': '.',
'name': 'upstream_revision'
}
]
# -------------------------------------------------
# This area is edited by generate_gclient-xwalk.py.
# -------------------------------------------------