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 = {
|
2014-12-03 08:11:44 +01:00
|
|
|
'extra_gyp_flag': '-Dextra_gyp_flag=0',
|
|
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
2015-05-05 09:55:10 +02:00
|
|
|
'chromium_revision': 'ec5b7687d06564998e7f1b96465878a391edc723',
|
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 = {
|
2014-12-03 08:11:44 +01:00
|
|
|
# When rolling gflags, also update
|
|
|
|
# https://chromium.googlesource.com/chromium/deps/webrtc/webrtc.DEPS
|
|
|
|
'src/third_party/gflags/src':
|
|
|
|
Var('chromium_git') + '/external/gflags/src@e7390f9185c75f8d902c05ed7d20bb94eb914d0c', # from svn revision 82
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2015-04-29 14:47:53 +02:00
|
|
|
'src/third_party/junit-jar':
|
2014-12-03 08:11:44 +01:00
|
|
|
Var('chromium_git') + '/external/webrtc/deps/third_party/junit@f35596b476aa6e62fd3b3857b9942ddcd13ce35e', # from svn revision 3367
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
2014-12-03 08:11:44 +01:00
|
|
|
'win': {
|
|
|
|
'src/third_party/winsdk_samples/src':
|
2015-01-08 22:22:01 +01:00
|
|
|
Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71@c0cbedd854cb610a53226d9817416c4ab9a7d1e9', # from svn revision 7951
|
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.
|
2014-12-03 08:11:44 +01:00
|
|
|
'-base',
|
|
|
|
'-chromium',
|
2014-10-01 08:03:47 +02:00
|
|
|
'+gflags',
|
2015-01-26 20:17:26 +01:00
|
|
|
'+libyuv',
|
2014-09-02 11:39:35 +02:00
|
|
|
'+net',
|
|
|
|
'+talk',
|
|
|
|
'+testing',
|
2014-10-01 08:03:47 +02:00
|
|
|
'+third_party',
|
2015-04-23 08:58:21 +02:00
|
|
|
'+unicode',
|
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').
|
2014-12-03 08:11:44 +01:00
|
|
|
'name': 'check_root_dir_name',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': ['python','-c',
|
|
|
|
('import os,sys;'
|
|
|
|
'script = os.path.join("trunk","check_root_dir.py");'
|
|
|
|
'_ = os.system("%s %s" % (sys.executable,script)) '
|
|
|
|
'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.
|
2014-12-03 08:11:44 +01:00
|
|
|
'name': 'sync chromium',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': ['python', '-u', 'src/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.
|
2014-12-03 08:11:44 +01:00
|
|
|
'name': 'setup_links',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': ['python', 'src/setup_links.py'],
|
2014-06-21 21:30:29 +02:00
|
|
|
},
|
2015-03-25 13:48:55 +01:00
|
|
|
{
|
|
|
|
# Pull sanitizer-instrumented third-party libraries if requested via
|
|
|
|
# GYP_DEFINES. This could be done as part of sync_chromium.py above
|
|
|
|
# but then we would need to run all the Chromium hooks each time,
|
|
|
|
# which will slow things down a lot.
|
|
|
|
'name': 'instrumented_libraries',
|
|
|
|
'pattern': '\\.sha1',
|
|
|
|
'action': ['python', 'src/third_party/instrumented_libraries/scripts/download_binaries.py'],
|
|
|
|
},
|
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-12-03 08:11:44 +01:00
|
|
|
'pattern': '.',
|
|
|
|
'action': ['download_from_google_storage',
|
|
|
|
'--directory',
|
|
|
|
'--recursive',
|
|
|
|
'--num_threads=10',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-webrtc-resources',
|
|
|
|
'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-12-03 08:11:44 +01:00
|
|
|
'name': 'gyp',
|
|
|
|
'pattern': '.',
|
|
|
|
'action': ['python', 'src/webrtc/build/gyp_webrtc',
|
|
|
|
Var('extra_gyp_flag')],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
]
|
|
|
|
|