blob: 5d12eba4a89a498ac55947822a5b6971fae7aadc [file] [log] [blame]
andrew@webrtc.org9a3f83f2012-08-07 06:03:221use_relative_paths = True
2
andrew@webrtc.org4ce52bb2012-07-31 21:54:133vars = {
andrew@webrtc.org9a3f83f2012-08-07 06:03:224 # Override root_dir in your .gclient's custom_vars to specify a custom root
5 # folder name.
6 "root_dir": "trunk",
andrew@webrtc.orgea5d0e52012-08-09 17:37:037 "extra_gyp_flag": "-Dextra_gyp_flag=0",
andrew@webrtc.org9a3f83f2012-08-07 06:03:228
andrew@webrtc.org4ce52bb2012-07-31 21:54:139 # Use this googlecode_url variable only if there is an internal mirror for it.
10 # If you do not know, use the full path while defining your new deps entry.
11 "googlecode_url": "http://%s.googlecode.com/svn",
pbos@webrtc.org62e5af42013-08-20 09:19:1612 "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
andrew@webrtc.org4ce52bb2012-07-31 21:54:1313 "chromium_trunk" : "http://src.chromium.org/svn/trunk",
kjellander@webrtc.orgf9bdbe32013-12-11 13:37:1214 "chromium_revision": "238260",
andrew@webrtc.org4ce52bb2012-07-31 21:54:1315
kjellander@webrtc.org430464c2013-06-04 16:29:4516 # A small subset of WebKit is needed for the Android Python test framework.
17 "webkit_trunk": "http://src.chromium.org/blink/trunk",
andrew@webrtc.org4ce52bb2012-07-31 21:54:1318}
19
20# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
21# https; the latter can cause problems for users behind proxies.
22deps = {
andrew@webrtc.org9a3f83f2012-08-07 06:03:2223 "../chromium_deps":
andrew@webrtc.org4ce52bb2012-07-31 21:54:1324 File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
25
andrew@webrtc.org9a3f83f2012-08-07 06:03:2226 "build":
andrew@webrtc.org4ce52bb2012-07-31 21:54:1327 Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
28
andrew@webrtc.orgb9d20642012-09-19 23:08:5029 # Needed by common.gypi.
30 "google_apis/build":
31 Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"),
32
andrew@webrtc.org9a3f83f2012-08-07 06:03:2233 "testing":
andrew@webrtc.org4ce52bb2012-07-31 21:54:1334 Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
35
andrew@webrtc.org9a3f83f2012-08-07 06:03:2236 "testing/gmock":
37 From("chromium_deps", "src/testing/gmock"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:1338
andrew@webrtc.org9a3f83f2012-08-07 06:03:2239 "testing/gtest":
40 From("chromium_deps", "src/testing/gtest"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:1341
andrew@webrtc.org9a3f83f2012-08-07 06:03:2242 "third_party/expat":
andrew@webrtc.org4ce52bb2012-07-31 21:54:1343 Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
44
kjellander@webrtc.orgcbdb9d12013-08-20 16:18:3545 # When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS
46 # in Chromium's repo.
fischman@webrtc.orgdde7d4c2013-08-15 23:31:3047 "third_party/gflags/src":
48 (Var("googlecode_url") % "gflags") + "/trunk/src@84",
andrew@webrtc.org4ce52bb2012-07-31 21:54:1349
henrike@webrtc.org8d27a1c2013-07-23 18:15:1150 "third_party/icu/":
51 From("chromium_deps", "src/third_party/icu"),
52
53 "third_party/jsoncpp/":
54 Var("chromium_trunk") + "/src/third_party/jsoncpp@" + Var("chromium_revision"),
55
56 "third_party/jsoncpp/source":
pbos@webrtc.org62e5af42013-08-20 09:19:1657 (Var("sourceforge_url") % {"repo": "jsoncpp"}) + "/trunk/jsoncpp@248",
henrike@webrtc.org8d27a1c2013-07-23 18:15:1158
59 "third_party/junit/":
60 (Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367",
kjellander@webrtc.org287f07b2013-09-27 16:57:1061
mikhal@webrtc.org0b960cf2013-08-30 16:30:5362 "third_party/libjpeg":
63 Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
64
65 "third_party/libjpeg_turbo":
66 From("chromium_deps", "src/third_party/libjpeg_turbo"),
henrike@webrtc.org8d27a1c2013-07-23 18:15:1167
henrike@webrtc.org8d27a1c2013-07-23 18:15:1168 "third_party/libsrtp/":
69 From("chromium_deps", "src/third_party/libsrtp"),
70
andrew@webrtc.orge6e344a2013-02-12 19:35:1871 "third_party/libvpx":
marpan@webrtc.org00ed1702013-11-08 18:37:1872 Var("chromium_trunk") + "/deps/third_party/libvpx@232686",
andrew@webrtc.org4ce52bb2012-07-31 21:54:1373
andrew@webrtc.org9a3f83f2012-08-07 06:03:2274 "third_party/libyuv":
fbarchard@google.com70ddf932013-12-09 18:17:4275 (Var("googlecode_url") % "libyuv") + "/trunk@905",
andrew@webrtc.org4ce52bb2012-07-31 21:54:1376
tina.legrand@webrtc.org1f8c02a2012-10-25 12:37:0877 "third_party/opus":
tina.legrand@webrtc.orge86f43b2013-03-22 12:39:5478 Var("chromium_trunk") + "/src/third_party/opus@185405",
tina.legrand@webrtc.org1f8c02a2012-10-25 12:37:0879
80 "third_party/opus/src":
tina.legrand@webrtc.orge86f43b2013-03-22 12:39:5481 Var("chromium_trunk") + "/deps/third_party/opus@185324",
tina.legrand@webrtc.org1f8c02a2012-10-25 12:37:0882
andrew@webrtc.org9a3f83f2012-08-07 06:03:2283 "third_party/protobuf":
andrew@webrtc.org4ce52bb2012-07-31 21:54:1384 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
85
henrike@webrtc.org8d27a1c2013-07-23 18:15:1186 "third_party/sqlite/":
87 Var("chromium_trunk") + "/src/third_party/sqlite@" + Var("chromium_revision"),
88
andrew@webrtc.org9a3f83f2012-08-07 06:03:2289 "third_party/yasm":
andrew@webrtc.org4ce52bb2012-07-31 21:54:1390 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
91
andrew@webrtc.org9a3f83f2012-08-07 06:03:2292 "third_party/yasm/source/patched-yasm":
93 From("chromium_deps", "src/third_party/yasm/source/patched-yasm"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:1394
andrew@webrtc.org9a3f83f2012-08-07 06:03:2295 "tools/clang":
andrew@webrtc.org4ce52bb2012-07-31 21:54:1396 Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
97
andrew@webrtc.org9a3f83f2012-08-07 06:03:2298 "tools/gyp":
99 From("chromium_deps", "src/tools/gyp"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13100
andrew@webrtc.org225f2b82013-05-20 21:12:58101 "tools/protoc_wrapper":
102 Var("chromium_trunk") + "/src/tools/protoc_wrapper@" + Var("chromium_revision"),
103
andrew@webrtc.org9a3f83f2012-08-07 06:03:22104 "tools/python":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13105 Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
106
kjellander@webrtc.orgf9bdbe32013-12-11 13:37:12107 "tools/swarming_client":
108 From("chromium_deps", "src/tools/swarming_client"),
kjellander@webrtc.org33654222013-08-22 07:57:00109
andrew@webrtc.org9a3f83f2012-08-07 06:03:22110 "tools/valgrind":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13111 Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
112
113 # Needed by build/common.gypi.
andrew@webrtc.org9a3f83f2012-08-07 06:03:22114 "tools/win/supalink":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13115 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
116}
117
118deps_os = {
119 "win": {
120 # Use our own, stripped down, version of Cygwin (required by GYP).
andrew@webrtc.org9a3f83f2012-08-07 06:03:22121 "third_party/cygwin":
andrew@webrtc.org7b2e9192012-08-28 15:56:40122 (Var("googlecode_url") % "webrtc") + "/deps/third_party/cygwin@2672",
andrew@webrtc.org4ce52bb2012-07-31 21:54:13123
andrew@webrtc.org8cd18c52012-11-21 18:46:45124 "third_party/winsdk_samples/src":
125 (Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145",
126
andrew@webrtc.org4ce52bb2012-07-31 21:54:13127 # Used by libjpeg-turbo.
andrew@webrtc.org9a3f83f2012-08-07 06:03:22128 "third_party/yasm/binaries":
129 From("chromium_deps", "src/third_party/yasm/binaries"),
henrike@webrtc.org8d27a1c2013-07-23 18:15:11130
131 # NSS, for SSLClientSocketNSS.
132 "third_party/nss":
133 From("chromium_deps", "src/third_party/nss"),
kjellander@webrtc.org4c617922013-10-10 11:56:09134
135 # SyzyASan to make it possible to run tests under ASan on Windows.
136 "third_party/syzygy/binaries":
137 From("chromium_deps", "src/third_party/syzygy/binaries"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13138 },
henrike@webrtc.org8d27a1c2013-07-23 18:15:11139
140 "mac": {
141 # NSS, for SSLClientSocketNSS.
142 "third_party/nss":
143 From("chromium_deps", "src/third_party/nss"),
fischman@webrtc.org1bc19542013-08-01 18:29:45144
145 # TODO(fischman): delete this in favor of the copy in "ios" below, once the
146 # webrtc iOS bots are fixed to target_os=['ios'] in their .gclient
147 # https://code.google.com/p/webrtc/issues/detail?id=2152
148 "net/third_party/nss":
149 Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"),
henrike@webrtc.org8d27a1c2013-07-23 18:15:11150 },
151
152 "ios": {
153 # NSS, for SSLClientSocketNSS.
154 "third_party/nss":
155 From("chromium_deps", "src/third_party/nss"),
fischman@webrtc.org1bc19542013-08-01 18:29:45156
157 "net/third_party/nss":
158 Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"),
159
160 # class-dump utility to generate header files for undocumented SDKs.
161 "testing/iossim/third_party/class-dump":
162 From("chromium_deps", "src/testing/iossim/third_party/class-dump"),
163
164 # Helper for running under the simulator.
165 "testing/iossim":
166 Var("chromium_trunk") + "/src/testing/iossim@" + Var("chromium_revision"),
henrike@webrtc.org8d27a1c2013-07-23 18:15:11167 },
168
andrew@webrtc.org4ce52bb2012-07-31 21:54:13169 "unix": {
andrew@webrtc.org9a3f83f2012-08-07 06:03:22170 "third_party/gold":
171 From("chromium_deps", "src/third_party/gold"),
henrike@webrtc.org8d27a1c2013-07-23 18:15:11172
173 "third_party/openssl":
174 From("chromium_deps", "src/third_party/openssl"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13175 },
kjellander@webrtc.org18a21a02013-02-11 17:43:19176 "android": {
kjellander@webrtc.org6cfe1782013-06-18 07:14:33177 # Precompiled tools needed for Android test execution. Needed since we can't
178 # compile them from source in WebRTC since they depend on Chromium's base.
179 "tools/android":
yujie.mao@webrtc.org9f07ea42013-07-18 01:57:04180 (Var("googlecode_url") % "webrtc") + "/deps/tools/android@4258",
kjellander@webrtc.org6cfe1782013-06-18 07:14:33181
kjellander@webrtc.org18a21a02013-02-11 17:43:19182 "third_party/android_tools":
183 From("chromium_deps", "src/third_party/android_tools"),
184
185 "third_party/android_testrunner":
186 Var("chromium_trunk") + "/src/third_party/android_testrunner@" + Var("chromium_revision"),
kjellander@webrtc.org430464c2013-06-04 16:29:45187
188 "third_party/WebKit/Tools/Scripts":
189 Var("webkit_trunk") + "/Tools/Scripts@151677",
henrike@webrtc.org8d27a1c2013-07-23 18:15:11190
191 "third_party/openssl":
192 From("chromium_deps", "src/third_party/openssl"),
kjellander@webrtc.org18a21a02013-02-11 17:43:19193 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13194}
195
196hooks = [
197 {
andrew@webrtc.org14b43be2012-10-22 18:19:23198 # Create a supplement.gypi file under trunk/webrtc. This file will be picked
andrew@webrtc.org4ce52bb2012-07-31 21:54:13199 # up by gyp and used to enable the standalone build.
200 "pattern": ".",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22201 "action": ["python", Var("root_dir") + "/tools/create_supplement_gypi.py",
andrew@webrtc.org14b43be2012-10-22 18:19:23202 Var("root_dir") + "/webrtc/supplement.gypi"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13203 },
204 {
205 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
206 # zero seconds to run. If something changed, it downloads a prebuilt clang.
207 "pattern": ".",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22208 "action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py",
209 "--mac-only"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13210 },
211 {
stefan@webrtc.orgc3115832012-08-17 06:57:58212 # Update the cygwin mount on Windows.
213 # This is necessary to get the correct mapping between e.g. /bin and the
214 # cygwin path on Windows. Without it we can't run bash scripts in actions.
215 # Ideally this should be solved in "pylib/gyp/msvs_emulation.py".
216 "pattern": ".",
217 "action": ["python", Var("root_dir") + "/build/win/setup_cygwin_mount.py",
218 "--win-only"],
219 },
220 {
kjellander@webrtc.org80174582013-11-04 12:07:57221 # Download test resources, i.e. video and audio files from Google Storage.
222 "pattern": "\\.sha1",
223 "action": ["download_from_google_storage",
224 "--directory",
225 "--recursive",
226 "--num_threads=10",
227 "--bucket", "chromium-webrtc-resources",
228 Var("root_dir") + "/resources"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13229 },
230 {
231 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
232 "pattern": ".",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22233 "action": ["python", Var("root_dir") + "/build/gyp_chromium",
henrike@webrtc.org8d27a1c2013-07-23 18:15:11234 "--depth=" + Var("root_dir"), Var("root_dir") + "/all.gyp",
andrew@webrtc.orgea5d0e52012-08-09 17:37:03235 Var("extra_gyp_flag")],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13236 },
237]
238