Unreviewed. Rolled DEPS.
[WebKit-https.git] / Source / WebKit / chromium / DEPS
1 #
2 # Copyright (C) 2009 Google Inc. All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
8 #   * Redistributions of source code must retain the above copyright notice,
9 #     this list of conditions and the following disclaimer.
10 #   * Redistributions in binary form must reproduce the above copyright 
11 #     notice, this list of conditions and the following disclaimer in the
12 #     documentation and/or other materials provided with the distribution.
13 #   * Neither the name of Google Inc. nor the names of its contributors 
14 #     may be used to endorse or promote products derived from this software
15 #     without specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 #
29
30 # This file is used by gclient to fetch the projects that the webkit
31 # chromium port depends on.
32
33 vars = {
34   'chromium_svn': 'http://src.chromium.org/svn/trunk/src',
35   'chromium_rev': '145322'
36 }
37
38 deps = {
39   'chromium_deps':
40     File(Var('chromium_svn')+'/DEPS@'+Var('chromium_rev')),
41
42   # build tools
43   'build':
44     Var('chromium_svn')+'/build@'+Var('chromium_rev'),
45   'tools/gyp':
46     From('chromium_deps', 'src/tools/gyp'),
47   'tools/clang':
48     Var('chromium_svn')+'/tools/clang@'+Var('chromium_rev'),
49
50   # Basic tools
51   'base':
52     Var('chromium_svn')+'/base@'+Var('chromium_rev'),
53
54   # skia dependencies
55   'skia':
56     Var('chromium_svn')+'/skia@'+Var('chromium_rev'),
57   'third_party/skia/src':
58     From('chromium_deps', 'src/third_party/skia/src'),
59   'third_party/skia/include':
60     From('chromium_deps', 'src/third_party/skia/include'),
61
62   # testing
63   'testing':
64     Var('chromium_svn')+'/testing@'+Var('chromium_rev'),
65   'testing/gtest':
66     From('chromium_deps', 'src/testing/gtest'),
67   'testing/gmock':
68     From('chromium_deps', 'src/testing/gmock'),
69
70   # v8 javascript engine
71   'v8': From('chromium_deps', 'src/v8'),
72
73   # net dependencies
74   'net':
75     Var('chromium_svn')+'/net@'+Var('chromium_rev'),
76   'crypto':
77     Var('chromium_svn')+'/crypto@'+Var('chromium_rev'),
78   'dbus':
79     Var('chromium_svn')+'/dbus@'+Var('chromium_rev'),
80   'sdch':
81     Var('chromium_svn')+'/sdch@'+Var('chromium_rev'),
82   'sdch/open-vcdiff':
83     From('chromium_deps', 'src/sdch/open-vcdiff'),
84   'googleurl':
85     From('chromium_deps', 'src/googleurl'),
86
87   # webkit dependencies
88   'webkit': Var('chromium_svn')+'/webkit@'+Var('chromium_rev'),
89
90   'gpu':
91     Var('chromium_svn')+'/gpu@'+Var('chromium_rev'),
92   'ipc':
93     Var('chromium_svn')+'/ipc@'+Var('chromium_rev'),
94   'media':
95     Var('chromium_svn')+'/media@'+Var('chromium_rev'),
96   'printing':
97     Var('chromium_svn')+'/printing@'+Var('chromium_rev'),
98   'ppapi':
99     Var('chromium_svn')+'/ppapi@'+Var('chromium_rev'),
100   'sql':
101     Var('chromium_svn')+'/sql@'+Var('chromium_rev'),
102   'third_party/angle':  # needed by the gpu process
103     From('chromium_deps', 'src/third_party/angle'),
104   'third_party/libvpx': # needed by webkit/media
105     From('chromium_deps', 'src/third_party/libvpx'),
106   'third_party/ffmpeg': # needed by webkit/media
107     From('chromium_deps', 'src/third_party/ffmpeg'),
108   'third_party/libjingle/source':
109     From('chromium_deps', 'src/third_party/libjingle/source'),
110   'tools/grit':
111     From('chromium_deps', 'src/tools/grit'),
112   'tools/gritsettings':
113     Var('chromium_svn')+'/tools/gritsettings@'+Var('chromium_rev'),
114   'tools/generate_stubs':
115     Var('chromium_svn')+'/tools/generate_stubs@'+Var('chromium_rev'),
116   'tools/win':
117     Var('chromium_svn')+'/tools/win@'+Var('chromium_rev'),
118   'ui':
119     Var('chromium_svn')+'/ui@'+Var('chromium_rev'), # needed by app
120
121   # other third party
122   'third_party/pyftpdlib/src':
123     From('chromium_deps', 'src/third_party/pyftpdlib/src'),
124   'third_party/icu':
125     From('chromium_deps', 'src/third_party/icu'),
126   'third_party/ots':
127     From('chromium_deps', 'src/third_party/ots'),
128   'third_party/yasm/source/patched-yasm':
129     From('chromium_deps', 'src/third_party/yasm/source/patched-yasm'),
130   'third_party/libjpeg_turbo':
131     From('chromium_deps', 'src/third_party/libjpeg_turbo'),
132   'third_party/leveldatabase/src':
133     From('chromium_deps', 'src/third_party/leveldatabase/src'),
134   'third_party/snappy/src':
135     From('chromium_deps', 'src/third_party/snappy/src'),
136   'third_party/sfntly/cpp/src':
137     From('chromium_deps', 'src/third_party/sfntly/cpp/src'),
138   'third_party/v8-i18n':
139     From('chromium_deps', 'src/third_party/v8-i18n'),
140   'third_party':
141     Var('chromium_svn')+'/third_party@'+Var('chromium_rev'),
142 }
143
144 deps_os = {
145   'win': {
146     'third_party/cygwin':
147       From('chromium_deps', 'src/third_party/cygwin'),
148     'third_party/lighttpd':
149       From('chromium_deps', 'src/third_party/lighttpd'),
150     'third_party/nss':
151       From('chromium_deps', 'src/third_party/nss'),
152     # Dependencies used by libjpeg-turbo
153     'third_party/yasm/binaries':
154       From('chromium_deps', 'src/third_party/yasm/binaries'),
155   },
156   'mac': {
157     'third_party/nss':
158       From('chromium_deps', 'src/third_party/nss'),
159   },
160   'unix': {
161     # Linux, actually.
162     'tools/xdisplaycheck':
163       Var('chromium_svn')+'/tools/xdisplaycheck@'+Var('chromium_rev'),
164     'third_party/gold':
165       From('chromium_deps', 'src/third_party/gold'),
166     'third_party/openssl':
167       From('chromium_deps', 'src/third_party/openssl'),
168   },
169   'android': {
170     'tools/android':
171       Var('chromium_svn') + '/tools/android@' + Var('chromium_rev'),
172     'third_party/freetype':
173       From('chromium_deps', 'src/third_party/freetype'),
174     'third_party/aosp':
175       From('chromium_deps', 'src/third_party/aosp'),
176   },
177 }
178
179 skip_child_includes = [
180    # Don't look for dependencies in the following folders: 
181    'base',
182    'build',
183    'googleurl',
184    'net',
185    'sdch',
186    'skia',
187    'testing',
188    'third_party',
189    'tools',
190    'v8',
191    'webkit',
192 ]
193
194 include_rules = [
195   # Everybody can use some things.
196   '+base',
197   '+build',
198   '+ipc',
199
200   # For now, we allow ICU to be included by specifying 'unicode/...', although
201   # this should probably change.
202   '+unicode',
203   '+testing',
204
205   # Allow anybody to include files from the 'public' Skia directory in the
206   # webkit port. This is shared between the webkit port and Chromium.
207   '+webkit/port/platform/graphics/skia/public',
208 ]
209
210
211 hooks = [
212   {
213     # Pull clang on mac.
214     "pattern": ".",
215     "action": ["python", "tools/clang/scripts/update.py", "--mac-only"],
216   },
217   {
218     # A change to any file in this directory should run the gyp generator.
219     'pattern': '.',
220     'action': ['python', 'gyp_webkit'],
221   },
222 ]