DescriptionDEPS: Sync Git subtree mirrors instead of symlinking into chromium/src
This changes the way we pull in dependencies WebRTC shares with
Chromium. The base, build, tools and third_party directories from
Chromium are now synced as Git subtree mirrors in the DEPS file.
All symlinks to directories that were previously created by the
setup_links.py are replaced with proper DEPS entries.
One downside with this solution is that we get a lot of directories
in tools/ and third_party/ that we currently don't use. Going forward
it might be possible to improve this but as long as the BUILD.gn files
are stored in the Chromium repo rather at each dependency's repo,
this will be very cumbersome.
The DEPS file will be kept auto-rolled by the script in
https://chromium.googlesource.com/external/webrtc/+/master/tools-webrtc/autoroller/roll_deps.py
which is periodically executed by a bot.
This change brings back the Google Play Services download for Android,
which displays a license confirmation dialog to the user at the first sync.
By running it as a proper hook instead of inside sync_chromium.py, the
problems with that the interactive prompt gets hidden/stuck should be
fixed (now the behavior is identical to Chromium).
Some measurements on the size savings for a clean, newly created checkout:
Linux: 15GB -> 6.4GB (-8.6GB)
Linux (with Android): 25 GB -> 16 GB (-9GB). 8.4GB of this is Android SDK+NDK.
Mac (with iOS): 14 GB -> 5.6GB (-8.4GB)
Note that for all of the above, 1GB is occupied by the resources/ dir.
BUG=webrtc:5006, webrtc:5578
NOTRY=True
R=agable@chromium.org, henrika@webrtc.org, iannucci@chromium.org
Review-Url: https://codereview.webrtc.org/1414343008 .
Cr-Commit-Position: refs/heads/master@{#15754}
Committed: https://chromium.googlesource.com/external/webrtc/+/177567c518b121731e507e9b9c4049c4dc96e4c8
Patch Set 1 : Updated #Patch Set 2 : DEPS: Sync Git subtree mirrors instead of symlinking into chromium/src #Patch Set 3 : Properly configures with ubsan and msan #Patch Set 4 : Updated revisions and fixed incorrect opus/src dep #Patch Set 5 : Rebased DEPS #Patch Set 6 : Rebased and updated #Patch Set 7 : Rebased #Patch Set 8 : Rebased #Patch Set 9 : Restored clang_format_merge_driver hook #Patch Set 10 : Added patched-yasm dependency #Patch Set 11 : Rebased again #Patch Set 12 : Fix incorrect base Git URL #Patch Set 13 : Rebased #Patch Set 14 : Added third_party/openh264/src #Patch Set 15 : Fix Android #Patch Set 16 : Adding Android dependencies #Patch Set 17 : Added libFuzzer and moved yasm to Win condition. #Patch Set 18 : Rebased (PS 16 and 17 has full trybot coverage) #
Total comments: 2
Patch Set 19 : Updated PRESUBMIT rules #Patch Set 20 : Rebased #Patch Set 21 : Rebase + fixed tests #Patch Set 22 : Rebased #
Messages
Total messages: 40 (29 generated)
|