Add additional necessary hooks to gclient_hook.py.

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1619 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2014-02-11 18:18:05 +00:00
parent 5c5badc890
commit 29f5798752

View File

@@ -33,13 +33,24 @@ RunAction(cef_dir, patcher)
# the few necessary actions here.
print "\nPulling clang (Mac only)..."
patcher = [ 'python', '../tools/clang/scripts/update.py', '--mac-only' ];
RunAction(cef_dir, patcher)
command = [ 'python', '../tools/clang/scripts/update.py', '--mac-only' ];
RunAction(cef_dir, command)
print "\nUpdating cygwin mount (Windows only)..."
patcher = [ 'python', '../build/win/setup_cygwin_mount.py',
command = [ 'python', '../build/win/setup_cygwin_mount.py',
'--win-only' ];
RunAction(cef_dir, patcher)
RunAction(cef_dir, command)
print "\nUpdating LASTCHANGE..."
command = [ 'python', '../build/util/lastchange.py',
'-o', '../build/util/LASTCHANGE' ];
RunAction(cef_dir, command)
print "\nUpdating LASTCHANGE.blink..."
command = [ 'python', '../build/util/lastchange.py',
'-s', '../third_party/WebKit',
'-o', '../build/util/LASTCHANGE.blink' ];
RunAction(cef_dir, command)
print "\nGenerating CEF project files..."
os.environ['CEF_DIRECTORY'] = os.path.basename(cef_dir);