[Chromium] Need to remove app/ from 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': '93069'
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/data_pack':
46     Var('chromium_svn')+'/tools/data_pack@'+Var('chromium_rev'),
47   'tools/gyp':
48     From('chromium_deps', 'src/tools/gyp'),
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/gpu':
58     From('chromium_deps', 'src/third_party/skia/gpu'),
59   'third_party/skia/src':
60     From('chromium_deps', 'src/third_party/skia/src'),
61   'third_party/skia/include':
62     From('chromium_deps', 'src/third_party/skia/include'),
63   'third_party/skia/third_party/glu':
64     From('chromium_deps', 'src/third_party/skia/third_party/glu'),
65
66   # testing
67   'testing':
68     Var('chromium_svn')+'/testing@'+Var('chromium_rev'),
69   'testing/gtest':
70     From('chromium_deps', 'src/testing/gtest'),
71   'testing/gmock':
72     From('chromium_deps', 'src/testing/gmock'),
73
74   # v8 javascript engine
75   'v8': From('chromium_deps', 'src/v8'),
76
77   # net dependencies
78   'net':
79     Var('chromium_svn')+'/net@'+Var('chromium_rev'),
80   'crypto':
81     Var('chromium_svn')+'/crypto@'+Var('chromium_rev'),
82   'sdch':
83     Var('chromium_svn')+'/sdch@'+Var('chromium_rev'),
84   'sdch/open-vcdiff':
85     From('chromium_deps', 'src/sdch/open-vcdiff'),
86   'googleurl':
87     From('chromium_deps', 'src/googleurl'),
88
89   # webkit dependencies
90   'webkit': Var('chromium_svn')+'/webkit@'+Var('chromium_rev'),
91
92   'gpu':
93     Var('chromium_svn')+'/gpu@'+Var('chromium_rev'),
94   'ipc':
95     Var('chromium_svn')+'/ipc@'+Var('chromium_rev'),
96   'media':
97     Var('chromium_svn')+'/media@'+Var('chromium_rev'),
98   'printing':
99     Var('chromium_svn')+'/printing@'+Var('chromium_rev'),
100   'ppapi':
101     Var('chromium_svn')+'/ppapi@'+Var('chromium_rev'),
102   'sql':
103     Var('chromium_svn')+'/sql@'+Var('chromium_rev'),
104   'third_party/angle':  # needed by the gpu process
105     From('chromium_deps', 'src/third_party/angle'),
106   'third_party/libvpx': # needed by webkit/media
107     From('chromium_deps', 'src/third_party/libvpx'),
108   'third_party/ffmpeg': # needed by webkit/media
109     From('chromium_deps', 'src/third_party/ffmpeg'),
110   'third_party/libjingle/source':
111     From('chromium_deps', 'src/third_party/libjingle/source'),
112   'third_party/libwebp':
113     Var('chromium_svn')+'/third_party/libwebp@'+Var('chromium_rev'),
114   'tools/grit':
115     Var('chromium_svn')+'/tools/grit@'+Var('chromium_rev'),
116   'tools/generate_stubs':
117     Var('chromium_svn')+'/tools/generate_stubs@'+Var('chromium_rev'),
118   'ui':
119     Var('chromium_svn')+'/ui@'+Var('chromium_rev'), # needed by app
120
121   # other third party
122   'third_party/icu':
123     From('chromium_deps', 'src/third_party/icu'),
124   'third_party/ots':
125     From('chromium_deps', 'src/third_party/ots'),
126   'third_party/yasm/source/patched-yasm':
127     From('chromium_deps', 'src/third_party/yasm/source/patched-yasm'),
128   'third_party/libjpeg_turbo':
129     From('chromium_deps', 'src/third_party/libjpeg_turbo'),
130   'third_party/leveldb':
131     From('chromium_deps', 'src/third_party/leveldb'),
132   'third_party/snappy/src':
133     From('chromium_deps', 'src/third_party/snappy/src'),
134   'third_party':
135     Var('chromium_svn')+'/third_party@'+Var('chromium_rev'),
136 }
137
138 deps_os = {
139   'win': {
140     'third_party/cygwin':
141       From('chromium_deps', 'src/third_party/cygwin'),
142     'third_party/ffmpeg/binaries/chromium/win/ia32':
143       From('chromium_deps', 'src/third_party/ffmpeg/binaries/chromium/win/ia32'),
144     'third_party/lighttpd':
145       From('chromium_deps', 'src/third_party/lighttpd'),
146     'third_party/nss':
147       From('chromium_deps', 'src/third_party/nss'),
148     # Dependencies used by libjpeg-turbo
149     'third_party/yasm/binaries':
150       From('chromium_deps', 'src/third_party/yasm/binaries'),
151   },
152   'mac': {
153     'third_party/nss':
154       From('chromium_deps', 'src/third_party/nss'),
155   },
156   'unix': {
157     # Linux, actually.
158     'tools/xdisplaycheck':
159       Var('chromium_svn')+'/tools/xdisplaycheck@'+Var('chromium_rev'),
160     'third_party/openssl':
161       From('chromium_deps', 'src/third_party/openssl'),
162   },
163 }
164
165 skip_child_includes = [
166    # Don't look for dependencies in the following folders: 
167    'base',
168    'build',
169    'googleurl',
170    'net',
171    'sdch',
172    'skia',
173    'testing',
174    'third_party',
175    'tools',
176    'v8',
177    'webkit',
178 ]
179
180 include_rules = [
181   # Everybody can use some things.
182   '+base',
183   '+build',
184   '+ipc',
185
186   # For now, we allow ICU to be included by specifying 'unicode/...', although
187   # this should probably change.
188   '+unicode',
189   '+testing',
190
191   # Allow anybody to include files from the 'public' Skia directory in the
192   # webkit port. This is shared between the webkit port and Chromium.
193   '+webkit/port/platform/graphics/skia/public',
194 ]
195
196
197 hooks = [
198   {
199     # A change to any file in this directory should run the gyp generator.
200     'pattern': '.',
201     'action': ['python', 'gyp_webkit'],
202   },
203 ]