2012-08-07 08:03:22 +02:00
|
|
|
use_relative_paths = True
|
|
|
|
|
2014-08-20 14:10:11 +02:00
|
|
|
# This file contains dependencies for WebRTC that are not shared with Chromium.
|
|
|
|
# If you wish to add a dependency that is present in Chromium's src/DEPS or a
|
|
|
|
# directory from the Chromium checkout, you should add it to setup_links.py
|
|
|
|
# instead.
|
|
|
|
|
2012-07-31 23:54:13 +02:00
|
|
|
vars = {
|
2012-08-07 08:03:22 +02:00
|
|
|
# Override root_dir in your .gclient's custom_vars to specify a custom root
|
|
|
|
# folder name.
|
|
|
|
"root_dir": "trunk",
|
2012-08-09 19:37:03 +02:00
|
|
|
"extra_gyp_flag": "-Dextra_gyp_flag=0",
|
2012-08-07 08:03:22 +02:00
|
|
|
|
2012-07-31 23:54:13 +02:00
|
|
|
# Use this googlecode_url variable only if there is an internal mirror for it.
|
|
|
|
# If you do not know, use the full path while defining your new deps entry.
|
|
|
|
"googlecode_url": "http://%s.googlecode.com/svn",
|
2014-08-25 16:16:32 +02:00
|
|
|
"chromium_revision": "b1748b82e821777fb8cd843fd54ff3aeb220a215",
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
|
|
|
|
# https; the latter can cause problems for users behind proxies.
|
|
|
|
deps = {
|
2013-08-20 18:18:35 +02:00
|
|
|
# When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS
|
|
|
|
# in Chromium's repo.
|
2013-08-16 01:31:30 +02:00
|
|
|
"third_party/gflags/src":
|
|
|
|
(Var("googlecode_url") % "gflags") + "/trunk/src@84",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2013-07-23 20:15:11 +02:00
|
|
|
"third_party/junit/":
|
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367",
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
|
|
|
"win": {
|
2012-11-21 19:46:45 +01:00
|
|
|
"third_party/winsdk_samples/src":
|
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145",
|
2013-07-23 20:15:11 +02:00
|
|
|
},
|
|
|
|
|
2013-02-11 18:43:19 +01:00
|
|
|
"android": {
|
2013-06-18 09:14:33 +02:00
|
|
|
# Precompiled tools needed for Android test execution. Needed since we can't
|
|
|
|
# compile them from source in WebRTC since they depend on Chromium's base.
|
|
|
|
"tools/android":
|
2014-06-04 19:15:42 +02:00
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/tools/android@6306",
|
2013-02-11 18:43:19 +01:00
|
|
|
},
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
hooks = [
|
2014-01-14 18:48:34 +01:00
|
|
|
{
|
2014-08-20 14:10:11 +02:00
|
|
|
# Clone chromium and its deps.
|
|
|
|
"name": "sync chromium",
|
2014-01-14 18:48:34 +01:00
|
|
|
"pattern": ".",
|
2014-08-20 14:10:11 +02:00
|
|
|
"action": ["python", "-u", Var("root_dir") + "/sync_chromium.py",
|
|
|
|
"--target-revision", Var("chromium_revision")],
|
2014-01-14 18:48:34 +01:00
|
|
|
},
|
2014-07-03 19:04:12 +02:00
|
|
|
{
|
2014-08-20 14:10:11 +02:00
|
|
|
# Create links to shared dependencies in Chromium.
|
|
|
|
"name": "setup_links",
|
2014-07-03 19:04:12 +02:00
|
|
|
"pattern": ".",
|
2014-08-20 14:10:11 +02:00
|
|
|
"action": ["python", Var("root_dir") + "/setup_links.py"],
|
2014-06-21 21:30:29 +02:00
|
|
|
},
|
2012-07-31 23:54:13 +02:00
|
|
|
{
|
2013-11-04 13:07:57 +01:00
|
|
|
# Download test resources, i.e. video and audio files from Google Storage.
|
2014-08-20 14:10:11 +02:00
|
|
|
"pattern": ".",
|
2013-11-04 13:07:57 +01:00
|
|
|
"action": ["download_from_google_storage",
|
|
|
|
"--directory",
|
|
|
|
"--recursive",
|
|
|
|
"--num_threads=10",
|
2014-01-27 20:55:16 +01:00
|
|
|
"--no_auth",
|
2013-11-04 13:07:57 +01:00
|
|
|
"--bucket", "chromium-webrtc-resources",
|
|
|
|
Var("root_dir") + "/resources"],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
2014-03-10 10:51:17 +01:00
|
|
|
"name": "gyp",
|
2012-07-31 23:54:13 +02:00
|
|
|
"pattern": ".",
|
2014-01-31 10:34:51 +01:00
|
|
|
"action": ["python", Var("root_dir") + "/webrtc/build/gyp_webrtc",
|
2012-08-09 19:37:03 +02:00
|
|
|
Var("extra_gyp_flag")],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
]
|
|
|
|
|