Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: chrome/tools/build/win/make_chromebot_zip.sh

Issue 11384003: Make all pdb file names follow the same naming convention. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | chrome_frame/chrome_frame_launcher.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # A simple shell script for creating necessary zip files for ChromeBot runs 7 # A simple shell script for creating necessary zip files for ChromeBot runs
8 # from an output directory. 8 # from an output directory.
9 # Pass the path to the output directory you wish to package. 9 # Pass the path to the output directory you wish to package.
10 10
(...skipping 29 matching lines...) Expand all
40 done 40 done
41 IFS=$IFS_Default 41 IFS=$IFS_Default
42 for f in ${test_files[@]}; do 42 for f in ${test_files[@]}; do
43 cp -r --parents "$f" "$output_abs" 43 cp -r --parents "$f" "$output_abs"
44 done 44 done
45 popd 45 popd
46 46
47 zip -r $output.zip $output 47 zip -r $output.zip $output
48 48
49 # Create chrome symbol zip file 49 # Create chrome symbol zip file
50 sym_files=( chrome_dll.pdb chrome_exe.pdb ) 50 sym_files=( chrome.dll.pdb chrome.exe.pdb )
51 51
52 sym_output=${2:-chrome-win32-syms} 52 sym_output=${2:-chrome-win32-syms}
53 rm -fr $sym_output $sym_output.zip 53 rm -fr $sym_output $sym_output.zip
54 mkdir $sym_output 54 mkdir $sym_output
55 55
56 # Again, use cp --parents to copy full relative directory. Since we need the 56 # Again, use cp --parents to copy full relative directory. Since we need the
57 # relative directory for the zip, change into the release dir. 57 # relative directory for the zip, change into the release dir.
58 sym_output_abs=`cygpath -a $sym_output` 58 sym_output_abs=`cygpath -a $sym_output`
59 pushd "$release_dir" 59 pushd "$release_dir"
60 for f in ${sym_files[@]}; do 60 for f in ${sym_files[@]}; do
61 cp -r --parents "$f" "$sym_output_abs" 61 cp -r --parents "$f" "$sym_output_abs"
62 done 62 done
63 popd 63 popd
64 64
65 zip -r $sym_output.zip $sym_output 65 zip -r $sym_output.zip $sym_output
OLDNEW
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | chrome_frame/chrome_frame_launcher.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698