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-09-28 12:33:45 +02:00
|
|
|
"chromium_revision": "c264a0567ee9417d1ff8d8dc61f3a79f2232ea06",
|
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.
|
2014-09-05 10:25:24 +02:00
|
|
|
Var("root_dir") + "/third_party/gflags/src":
|
2013-08-16 01:31:30 +02:00
|
|
|
(Var("googlecode_url") % "gflags") + "/trunk/src@84",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2014-09-05 10:25:24 +02:00
|
|
|
Var("root_dir") + "/third_party/junit/":
|
2013-07-23 20:15:11 +02:00
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367",
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
|
|
|
"win": {
|
2014-09-05 10:25:24 +02:00
|
|
|
Var("root_dir") + "/third_party/winsdk_samples/src":
|
2012-11-21 19:46:45 +01:00
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145",
|
2013-07-23 20:15:11 +02:00
|
|
|
},
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
2014-09-01 13:06:37 +02:00
|
|
|
include_rules = [
|
|
|
|
# Base is only used to build Android APK tests and may not be referenced by
|
|
|
|
# WebRTC production code.
|
|
|
|
"-base",
|
2014-09-02 11:39:35 +02:00
|
|
|
"-chromium",
|
|
|
|
'+net',
|
|
|
|
'+talk',
|
|
|
|
'+testing',
|
|
|
|
'+webrtc',
|
|
|
|
]
|
|
|
|
|
|
|
|
# checkdeps.py shouldn't check include paths for files in these dirs:
|
|
|
|
skip_child_includes = [
|
2014-09-04 11:55:40 +02:00
|
|
|
'gflags',
|
2014-09-02 11:39:35 +02:00
|
|
|
'testing',
|
|
|
|
'third_party',
|
2014-09-17 09:44:33 +02:00
|
|
|
'webrtc/overrides',
|
2014-09-01 13:06:37 +02: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
|
|
|
},
|
|
|
|
]
|
|
|
|
|