Add a copy of Chromium's build/common.gypi @ fa8868418ffe9da48614de5bff07b72f97760f51 as webrtc/build/chromium_common.gypi to preserve GYP behavior. Update webrtc/build/gyp_webrtc.py to include it during GYP invocation. Change log:f86fb54ec3..dd442d4812Full diff:f86fb54ec3..dd442d4812Changed dependencies: * src/buildtools:57649e5e20..86f7e41d94* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/ed6c5d3910..0d81373f91 * src/third_party/libsrtp:48bdd208dc..b17c065a8a* src/third_party/libvpx/source/libvpx:4282d29355..99ef84c65aDEPS diff:f86fb54ec3..dd442d4812/DEPS Clang version changed 280836:282487 Details:f86fb54ec3..dd442d4812/tools/clang/scripts/update.py TBR=marpan@webrtc.org, BUG=None NOTRY=True Review URL: https://codereview.webrtc.org/2380533002 . Cr-Commit-Position: refs/heads/master@{#14409}
88 lines
2.8 KiB
Python
88 lines
2.8 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': 'dd442d48128ff3043c105d83b922806e4c4f9080',
|
|
}
|
|
|
|
# NOTE: Use http rather than https; the latter can cause problems for users
|
|
# behind proxies.
|
|
deps = {
|
|
'src/third_party/gflags/src':
|
|
Var('chromium_git') + '/external/github.com/gflags/gflags@03bebcb065c83beff83d50ae025a55a4bf94dfca',
|
|
}
|
|
|
|
deps_os = {
|
|
'win': {
|
|
'src/third_party/winsdk_samples/src':
|
|
Var('chromium_git') + '/external/webrtc/deps/third_party/winsdk_samples_v71@e71b549167a665d7424d6f1dadfbff4b4aad1589',
|
|
},
|
|
}
|
|
|
|
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'],
|
|
},
|
|
{
|
|
# This clobbers when necessary (based on get_landmines.py). It should be
|
|
# an early hook but it will need to be run after syncing Chromium and
|
|
# setting up the links, so the script actually exists.
|
|
'name': 'landmines',
|
|
'pattern': '.',
|
|
'action': [
|
|
'python',
|
|
'src/build/landmines.py',
|
|
'--landmine-scripts',
|
|
'src/webrtc/build/get_landmines.py',
|
|
'--src-dir',
|
|
'src',
|
|
],
|
|
},
|
|
{
|
|
# 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',
|
|
'--quiet',
|
|
'--bucket', 'chromium-webrtc-resources',
|
|
'src/resources'],
|
|
},
|
|
]
|
|
|