From 29f579875219bcf9a3bc0e759aaedcb643b4eb87 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 11 Feb 2014 18:18:05 +0000 Subject: [PATCH] Add additional necessary hooks to gclient_hook.py. git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1619 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tools/gclient_hook.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/tools/gclient_hook.py b/tools/gclient_hook.py index 01dcdcaa2..b5892797c 100644 --- a/tools/gclient_hook.py +++ b/tools/gclient_hook.py @@ -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);