4138c57a64c2244e0ce2cdf7a6a69da1bd85be48
[platform/framework/web/crosswalk.git] / src / xwalk / DEPS.xwalk
1 # Source code dependencies required for building Crosswalk.
2 #
3 # This file is used as a template to generate .gclient-xwalk, which is a
4 # regular .gclient file pointing to additional source code repositories that
5 # need to be checked out in order to build Crosswalk.
6 #
7 # These dependencies are not specified in DEPS for historical compatibility
8 # reasons and also to allow us to perform some additional manipulation on some
9 # entries (such as setting a custom value for "deps_file" in certain
10 # solutions).
11 #
12 # If you are doing a DEPS roll, you should only need to worry about the *_rev
13 # variables below.
14
15 # -----------------------------------
16 # Crosswalk dependencies.
17 # Edit these when rolling DEPS.xwalk.
18 # -----------------------------------
19
20 chromium_crosswalk_rev = 'ea46c0b6279a60b0173a092f0e9f0403a2a047a9'
21 v8_crosswalk_rev = '825a59c274c95ce90ceab7234c8fa07ad52f7ae5'
22 ozone_wayland_rev = '6379cd118da098b55a5934ce1a90b377a177ed40'
23
24 # |blink_crosswalk_rev| specifies the SHA1 hash of the blink-crosswalk commit
25 # we want to point to, very much like the variables above.
26 # |blink_upstream_rev| indicates the revision of the latest upstream commit in
27 # the blink-crosswalk repository, so that the devtools code can use it to fetch
28 # assets from Chromium's servers with a revision that exists there. We need an
29 # SVN revision while Blink is still in SVN.
30 blink_crosswalk_rev = '1620ccec09abbd0dae196999fbcd94505136b306'
31 blink_upstream_rev = '185156'
32
33 crosswalk_git = 'https://github.com/crosswalk-project'
34 ozone_wayland_git = 'https://github.com/01org'
35
36 # ------------------------------------------------------
37 # gclient solutions.
38 # You do not need to worry about these most of the time.
39 # ------------------------------------------------------
40
41 solutions = [
42   { 'name': 'src',
43     'url': crosswalk_git + '/chromium-crosswalk.git@' + chromium_crosswalk_rev,
44     'deps_file': '.DEPS.git',
45     'custom_deps': {
46       'src':
47         crosswalk_git + '/chromium-crosswalk.git@' + chromium_crosswalk_rev,
48       'src/third_party/WebKit':
49         crosswalk_git + '/blink-crosswalk.git@' + blink_crosswalk_rev,
50       'src/v8':
51         crosswalk_git + '/v8-crosswalk.git@' + v8_crosswalk_rev,
52
53       # Include OpenCL header files for WebCL support, target version 1.2.
54       'src/third_party/khronos/CL':
55         'https://cvs.khronos.org/svn/repos/registry/trunk/public/cl/api/1.2@'
56            '28150',
57
58       # These directories are not relevant to Crosswalk and can be safely ignored
59       # in a checkout. It avoids creating additional directories outside src/ that
60       # are not used and also saves some bandwidth.
61       'build': None,
62       'build/scripts/command_wrapper/bin': None,
63       'build/scripts/gsd_generate_index': None,
64       'build/scripts/private/data/reliability': None,
65       'build/scripts/tools/deps2git': None,
66       'build/third_party/cbuildbot_chromite': None,
67       'build/third_party/gsutil': None,
68       'build/third_party/lighttpd': None,
69       'build/third_party/swarm_client': None,
70       'build/third_party/xvfb': None,
71       'build/xvfb': None,
72       'commit-queue': None,
73       'depot_tools': None,
74     },
75
76     'custom_hooks': [
77       # Disable Chromium's "gyp" hooks, which runs the gyp_chromium script. We
78       # are not interested in running it as we use gyp_xwalk instead (and it is
79       # run at a later stage as a hook in Crosswalk's own DEPS).
80       {
81         'name': 'gyp',
82       },
83     ],
84   },
85
86   # ozone-wayland is set as a separate solution because we gclient _not_ to read
87   # its .DEPS.git: it changes the recursion limit and tries to check Chromium
88   # upstream out itself, leading to URL conflicts and errors about duplicate
89   # entries.
90   { 'name': 'src/ozone',
91     'url': ozone_wayland_git + '/ozone-wayland.git@' + ozone_wayland_rev,
92     'deps_file': '',
93   }
94 ]
95
96 hooks = [
97   {
98     'action': [
99       'python',
100       'src/xwalk/tools/upstream_revision.py',
101       '-r',
102       blink_upstream_rev,
103       '-o',
104       'src/xwalk/build/UPSTREAM.blink'
105     ],
106     'pattern': '.',
107     'name': 'upstream_revision'
108   }
109 ]
110
111 # -------------------------------------------------
112 # This area is edited by generate_gclient-xwalk.py.
113 # -------------------------------------------------