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-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-11-27 11:41:04 +01:00
|
|
|
"chromium_revision": "309cf653131ccf0e15d5dfb507330b5a1e81253b",
|
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-10-09 11:11:27 +02:00
|
|
|
"src/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-10-09 11:11:27 +02:00
|
|
|
"src/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-10-09 11:11:27 +02:00
|
|
|
"src/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-10-01 08:03:47 +02:00
|
|
|
# Define rules for which include paths are allowed in our source.
|
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",
|
2014-10-01 08:03:47 +02:00
|
|
|
'+gflags',
|
2014-09-02 11:39:35 +02:00
|
|
|
'+net',
|
|
|
|
'+talk',
|
|
|
|
'+testing',
|
2014-10-01 08:03:47 +02:00
|
|
|
'+third_party',
|
2014-09-02 11:39:35 +02:00
|
|
|
'+webrtc',
|
|
|
|
]
|
|
|
|
|
|
|
|
# checkdeps.py shouldn't check include paths for files in these dirs:
|
|
|
|
skip_child_includes = [
|
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-10-09 11:11:27 +02:00
|
|
|
{
|
|
|
|
# Check for legacy named top-level dir (named 'trunk').
|
|
|
|
"name": "check_root_dir_name",
|
|
|
|
"pattern": ".",
|
2014-10-09 12:53:02 +02:00
|
|
|
"action": ["python","-c",
|
2014-10-10 09:16:05 +02:00
|
|
|
("import os,sys;"
|
|
|
|
"script = os.path.join('trunk','check_root_dir.py');"
|
|
|
|
"_ = os.system('%s %s' % (sys.executable,script)) "
|
2014-10-09 12:53:02 +02:00
|
|
|
"if os.path.exists(script) else 0")],
|
2014-10-09 11:11:27 +02:00
|
|
|
},
|
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-10-09 11:11:27 +02:00
|
|
|
"action": ["python", "-u", "src/sync_chromium.py",
|
2014-08-20 14:10:11 +02:00
|
|
|
"--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-10-09 11:11:27 +02:00
|
|
|
"action": ["python", "src/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",
|
2014-10-09 11:11:27 +02:00
|
|
|
"src/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-10-09 11:11:27 +02:00
|
|
|
"action": ["python", "src/webrtc/build/gyp_webrtc",
|
2012-08-09 19:37:03 +02:00
|
|
|
Var("extra_gyp_flag")],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
]
|
|
|
|
|