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

Side by Side Diff: base/allocator/prep_libc.sh

Issue 434067: Branch the files in the shim layer that switches between the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « base/allocator/generic_allocators.cc ('k') | base/allocator/unittest_utils.cc » ('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 # This script takes libcmt.lib for VS2005 and removes the allocation related 2 # This script takes libcmt.lib for VS2005 and removes the allocation related
3 # functions from it. 3 # functions from it.
4 # 4 #
5 # Usage: prep_libcmt.bat <VCInstallDir> <OutputFile> 5 # Usage: prep_libcmt.bat <VCInstallDir> <OutputFile>
6 # 6 #
7 # VCInstallDir is the path where VC is installed, typically: 7 # VCInstallDir is the path where VC is installed, typically:
8 # C:\Program Files\Microsoft Visual Studio 8\VC\ 8 # C:\Program Files\Microsoft Visual Studio 8\VC\
9 # 9 #
10 # OutputFile is the directory where the modified libcmt file should be stored. 10 # OutputFile is the directory where the modified libcmt file should be stored.
11 # 11 #
12 12
(...skipping 13 matching lines...) Expand all
26 LIBCMTSRCPATHVS2008="f:\\dd\\vctools\\crt_bld\\SELF_X86\\crt\\src\\build\\INTEL\ \mt_obj\\" 26 LIBCMTSRCPATHVS2008="f:\\dd\\vctools\\crt_bld\\SELF_X86\\crt\\src\\build\\INTEL\ \mt_obj\\"
27 27
28 OBJFILES="malloc.obj free.obj realloc.obj new.obj delete.obj new2.obj delete2.ob j align.obj msize.obj heapinit.obj expand.obj heapchk.obj heapwalk.obj heapmin.o bj sbheap.obj calloc.obj recalloc.obj calloc_impl.obj new_mode.obj newopnt.obj" 28 OBJFILES="malloc.obj free.obj realloc.obj new.obj delete.obj new2.obj delete2.ob j align.obj msize.obj heapinit.obj expand.obj heapchk.obj heapwalk.obj heapmin.o bj sbheap.obj calloc.obj recalloc.obj calloc_impl.obj new_mode.obj newopnt.obj"
29 29
30 for FILE in $OBJFILES 30 for FILE in $OBJFILES
31 do 31 do
32 echo ${FILE} 32 echo ${FILE}
33 LIB /NOLOGO /IGNORE:4006,4014,4221 /REMOVE:${LIBCMTSRCPATHVS2005}${FILE} $OUTC MT 33 LIB /NOLOGO /IGNORE:4006,4014,4221 /REMOVE:${LIBCMTSRCPATHVS2005}${FILE} $OUTC MT
34 LIB /NOLOGO /IGNORE:4006,4014,4221 /REMOVE:${LIBCMTSRCPATHVS2008}${FILE} $OUTC MT 34 LIB /NOLOGO /IGNORE:4006,4014,4221 /REMOVE:${LIBCMTSRCPATHVS2008}${FILE} $OUTC MT
35 done 35 done
OLDNEW
« no previous file with comments | « base/allocator/generic_allocators.cc ('k') | base/allocator/unittest_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698