Avoid syncing unnecessary Chromium deps for WebRTC.

This should save several gigabytes of traffic and disk space.

On Linux this is about 2.6 GB:
346M	src/chrome/tools/test/reference_build
340M	src/native_client
170M	src/third_party/ffmpeg
1.5G	src/third_party/WebKit
196M	src/v8

BUG=2863
TESTED=Removed the directories locally, ran a sync and verified they didn't reappear (or fail because of platform-specific ones).
R=iannucci@chromium.org, niklas.enbom@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/22189004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6984 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org 2014-08-26 19:22:03 +00:00
parent 3533bfcb94
commit dc926a000e
2 changed files with 11 additions and 2 deletions

View File

@ -3,7 +3,16 @@ solutions = [{
'url': 'https://chromium.googlesource.com/chromium/src.git',
'deps_file': '.DEPS.git',
'managed': True,
'custom_deps': {},
'custom_deps': {
# Skip syncing some large dependencies WebRTC will never need.
'src/chrome/tools/test/reference_build/chrome_linux': None,
'src/chrome/tools/test/reference_build/chrome_mac': None,
'src/chrome/tools/test/reference_build/chrome_win': None,
'src/native_client': None,
'src/third_party/ffmpeg': None,
'src/third_party/WebKit': None,
'src/v8': None,
},
'safesync_url': ''
}]

View File

@ -14,7 +14,7 @@ import sys
# Bump this whenever the algorithm changes and you need bots/devs to re-sync,
# ignoring the .last_sync_chromium file
SCRIPT_VERSION = 1
SCRIPT_VERSION = 2
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))