
Relevant changes: * src/buildtools: ecc8e25..565d04e * src/testing/gmock: 2976396..0421b6f * src/testing/gtest: 23574bf..9855a87 * src/third_party/android_tools: 21f4bcb..4238a28 * src/third_party/boringssl/src: de24aad..12fe1b2 * src/third_party/icu: c81a1a3..6b3ce81 * src/third_party/libjpeg_turbo: f4631b6..631e2dd * src/third_party/libsrtp: 9c53f85..502e81a * src/third_party/libvpx: aa9b5f1..a208eca * src/third_party/libyuv: 6dde4f1..3c4f573 * src/third_party/openmax_dl: 22bb108..2eb98d8 * src/tools/grit: 1dac9ae..15d48e3 * src/tools/gyp: 5122240..6ee91ad * src/tools/swarming_client: b39a448..2866a22 Details:f8d6ba9..a28d8d5
/DEPS Clang version changed 245402:245965 Details:f8d6ba9..a28d8d5
/tools/clang/scripts/update.sh BUG=None R=glaznev@webrtc.org TBR=glaznev@chromium.org, henrika@chromium.org Review URL: https://codereview.webrtc.org/1308693010 . Cr-Commit-Position: refs/heads/master@{#9818}
107 lines
3.4 KiB
Python
107 lines
3.4 KiB
Python
# 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.
|
|
|
|
vars = {
|
|
'extra_gyp_flag': '-Dextra_gyp_flag=0',
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
'chromium_revision': 'a28d8d5a93d2d589bfac8fe77907cba3941b023e',
|
|
}
|
|
|
|
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
|
|
# https; the latter can cause problems for users behind proxies.
|
|
deps = {
|
|
# 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
|
|
|
|
'src/third_party/junit-jar':
|
|
Var('chromium_git') + '/external/webrtc/deps/third_party/junit@f35596b476aa6e62fd3b3857b9942ddcd13ce35e', # from svn revision 3367
|
|
}
|
|
|
|
deps_os = {
|
|
'win': {
|
|
'src/third_party/winsdk_samples/src':
|
|
Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71@c0cbedd854cb610a53226d9817416c4ab9a7d1e9', # from svn revision 7951
|
|
},
|
|
}
|
|
|
|
# Define rules for which include paths are allowed in our source.
|
|
include_rules = [
|
|
# Base is only used to build Android APK tests and may not be referenced by
|
|
# WebRTC production code.
|
|
'-base',
|
|
'-chromium',
|
|
'+external/webrtc/webrtc', # Android platform build.
|
|
'+gflags',
|
|
'+libyuv',
|
|
'+net',
|
|
'+talk',
|
|
'+testing',
|
|
'+third_party',
|
|
'+unicode',
|
|
'+webrtc',
|
|
'+vpx',
|
|
]
|
|
|
|
# checkdeps.py shouldn't check include paths for files in these dirs:
|
|
skip_child_includes = [
|
|
'webrtc/overrides',
|
|
]
|
|
|
|
hooks = [
|
|
{
|
|
# Check for legacy named top-level dir (named 'trunk').
|
|
'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')],
|
|
},
|
|
{
|
|
# Clone chromium and its deps.
|
|
'name': 'sync chromium',
|
|
'pattern': '.',
|
|
'action': ['python', '-u', 'src/sync_chromium.py',
|
|
'--target-revision', Var('chromium_revision')],
|
|
},
|
|
{
|
|
# Create links to shared dependencies in Chromium.
|
|
'name': 'setup_links',
|
|
'pattern': '.',
|
|
'action': ['python', 'src/setup_links.py'],
|
|
},
|
|
{
|
|
# 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'],
|
|
},
|
|
{
|
|
# Download test resources, i.e. video and audio files from Google Storage.
|
|
'pattern': '.',
|
|
'action': ['download_from_google_storage',
|
|
'--directory',
|
|
'--recursive',
|
|
'--num_threads=10',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-webrtc-resources',
|
|
'src/resources'],
|
|
},
|
|
{
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
|
'name': 'gyp',
|
|
'pattern': '.',
|
|
'action': ['python', 'src/webrtc/build/gyp_webrtc',
|
|
Var('extra_gyp_flag')],
|
|
},
|
|
]
|
|
|