Not reviewed. Fix chromium build.
[WebKit-https.git] / 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_deps_svn': 'http://src.chromium.org/svn/trunk/deps/third_party',
36
37   # Dependencies' revisions to use:
38   'chromium_rev': '31834',
39   'google-url_rev': '120',
40   'gtest_rev': '336',
41   'gyp_rev': '751',
42   'icu_rev': '31724',
43   'openvcdiff_rev': '28',
44   'skia_rev': '424',
45   'v8_rev': '3276',
46
47   # Windows:
48   'cygwin_rev': '11984',
49   'ffmpeg_ia32_rev': '30374',
50   'pthreads-win32_rev': '26716',
51   'python_24_rev': '22967',
52 }
53
54 deps = {
55   # build tools
56   'build':
57     Var('chromium_svn')+'/build@'+Var('chromium_rev'),
58   'tools/gyp':
59     'http://gyp.googlecode.com/svn/trunk@'+Var('gyp_rev'),
60
61   # Basic tools
62   'base':
63     Var('chromium_svn')+'/base@'+Var('chromium_rev'),
64
65   # skia dependencies
66   'skia':
67     Var('chromium_svn')+'/skia@'+Var('chromium_rev'),
68   'third_party/skia':
69     'http://skia.googlecode.com/svn/trunk@'+Var('skia_rev'),
70
71   # testing
72   'testing':
73     Var('chromium_svn')+'/testing@'+Var('chromium_rev'),
74   'testing/gtest':
75     'http://googletest.googlecode.com/svn/trunk@'+Var('gtest_rev'),
76
77   # v8 javascript engine
78   'v8':
79     'http://v8.googlecode.com/svn/trunk@'+Var('v8_rev'),
80   'testing/gtest':
81     'http://googletest.googlecode.com/svn/trunk@'+Var('gtest_rev'),
82
83   # net dependencies
84   'net':
85     Var('chromium_svn')+'/net@'+Var('chromium_rev'),
86   'sdch':
87     Var('chromium_svn')+'/sdch@'+Var('chromium_rev'),
88   'sdch/open-vcdiff':
89     'http://open-vcdiff.googlecode.com/svn/trunk@'+Var('openvcdiff_rev'),
90   'googleurl':
91     'http://google-url.googlecode.com/svn/trunk@'+Var('google-url_rev'),
92
93   # other third party
94   'third_party/icu':
95     Var('chromium_deps_svn')+'/icu42@'+Var('icu_rev'),
96
97   'third_party/bzip2':
98     Var('chromium_svn')+'/third_party/bzip2@'+Var('chromium_rev'),
99
100   'third_party/libevent':
101     Var('chromium_svn')+'/third_party/libevent@'+Var('chromium_rev'),
102
103   'third_party/libjpeg':
104     Var('chromium_svn')+'/third_party/libjpeg@'+Var('chromium_rev'),
105
106   'third_party/libpng':
107     Var('chromium_svn')+'/third_party/libpng@'+Var('chromium_rev'),
108
109   'third_party/libxml':
110     Var('chromium_svn')+'/third_party/libxml@'+Var('chromium_rev'),
111
112   'third_party/libxslt':
113     Var('chromium_svn')+'/third_party/libxslt@'+Var('chromium_rev'),
114
115   'third_party/modp_b64':
116     Var('chromium_svn')+'/third_party/modp_b64@'+Var('chromium_rev'),
117
118   'third_party/npapi':
119     Var('chromium_svn')+'/third_party/npapi@'+Var('chromium_rev'),
120
121   'third_party/sqlite':
122     Var('chromium_svn')+'/third_party/sqlite@'+Var('chromium_rev'),
123
124   'third_party/zlib':
125     Var('chromium_svn')+'/third_party/zlib@'+Var('chromium_rev'),
126 }
127
128 deps_os = {
129   'win': {
130     'third_party/cygwin':
131       Var('chromium_deps_svn')+'/cygwin@'+Var('cygwin_rev'),
132
133     'third_party/python_24':
134       Var('chromium_deps_svn')+'/python_24@'+Var('python_24_rev'),
135
136     'third_party/ffmpeg/binaries/chromium/win/ia32':
137       Var('chromium_deps_svn')+'/ffmpeg/binaries/win@'+Var('ffmpeg_ia32_rev'),
138
139     'third_party/pthreads-win32':
140       Var('chromium_deps_svn')+'/pthreads-win32@'+Var('pthreads-win32_rev'),
141   },
142 }
143
144 skip_child_includes = [
145    # Don't look for dependencies in the following folders: 
146    'base',
147    'build',
148    'googleurl',
149    'net',
150    'sdch',
151    'skia',
152    'testing',
153    'third_party',
154    'tools',
155    'v8',
156    'webkit',
157 ]
158
159 include_rules = [
160   # Everybody can use some things.
161   '+base',
162   '+build',
163   '+ipc',
164
165   # For now, we allow ICU to be included by specifying 'unicode/...', although
166   # this should probably change.
167   '+unicode',
168   '+testing',
169
170   # Allow anybody to include files from the 'public' Skia directory in the
171   # webkit port. This is shared between the webkit port and Chromium.
172   '+webkit/port/platform/graphics/skia/public',
173 ]
174
175
176 hooks = [
177   {
178     # A change to any file in this directory should run the gyp generator.
179     'pattern': '.',
180     'action': ['python', 'gyp_webkit'],
181   },
182 ]