Increase verbosity for gclient sync of Chromium

In r6939 the --verbose flag was passed to the problematic
(approx 2.2GB large) gclient sync of Chromium's src.git repo.
However the bots are still hitting killed sync jobs due to
lack of output. This is a speculative attempt to provoke
even more logging, in order to trigger buffer flushing for
the buildbot execution.

BUG=2863, chromium:339647
TEST=Ran gclient runhooks locally with CHROME_HEADLESS=1 set.
TBR=phoglund@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6940 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/sync_chromium.py b/sync_chromium.py
index 0a63f42..e5ec7c7 100755
--- a/sync_chromium.py
+++ b/sync_chromium.py
@@ -53,8 +53,11 @@
   env['GYP_CHROMIUM_NO_ACTION'] = '1'
   gclient_cmd = 'gclient.bat' if sys.platform.startswith('win') else 'gclient'
   args = [
-      gclient_cmd, 'sync', '--no-history', '--force', '--verbose', '--revision',
+      gclient_cmd, 'sync', '--no-history', '--force', '--revision',
       'src@'+opts.target_revision]
+  if os.environ.get('CHROME_HEADLESS') == '1':
+    args.append('-vvv')
+
   target_os_list = get_target_os_list()
   if target_os_list:
     args += ['--deps=' + target_os_list]