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

Unified Diff: base/allocator/prep_libc.sh

Issue 10388215: replace prep_libc.sh with prep_libc.py, and quiet the output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« base/allocator/prep_libc.py ('K') | « base/allocator/prep_libc.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/prep_libc.sh
diff --git a/base/allocator/prep_libc.sh b/base/allocator/prep_libc.sh
deleted file mode 100755
index d1ceb80076f39537ac5db9e0be7c105acf8f34f7..0000000000000000000000000000000000000000
--- a/base/allocator/prep_libc.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-#
-# This script takes libcmt.lib for VS2005 and removes the allocation related
-# functions from it.
-#
-# Usage: prep_libcmt.bat <VCInstallDir> <OutputFile>
-#
-# VCInstallDir is the path where VC is installed, typically:
-# C:\Program Files\Microsoft Visual Studio 8\VC\
-#
-# OutputFile is the directory where the modified libcmt file should be stored.
-#
-
-LIBCMT="${1}\\libcmt.lib"
-LIBCMTPDB="${1}\\libcmt.pdb"
-OUTDIR=$2
-OUTCMT="${2}\\libcmt.lib"
-
-mkdir -p $OUTDIR
-cp "$LIBCMT" "$OUTDIR"
-cp "$LIBCMTPDB" "$OUTDIR"
-
-
-# We'll remove the symbols based on paths found in either the VS2005 or VS2008
-# libcmt.lib files.
-LIBCMTSRCPATHVS2005="build\\intel\\mt_obj\\"
-LIBCMTSRCPATHVS2008="f:\\dd\\vctools\\crt_bld\\SELF_X86\\crt\\src\\build\\INTEL\\mt_obj\\"
-
-OBJFILES="malloc.obj free.obj realloc.obj new.obj delete.obj new2.obj delete2.obj align.obj msize.obj heapinit.obj expand.obj heapchk.obj heapwalk.obj heapmin.obj sbheap.obj calloc.obj recalloc.obj calloc_impl.obj new_mode.obj newopnt.obj"
-
-for FILE in $OBJFILES
-do
- echo ${FILE}
- LIB /NOLOGO /IGNORE:4006,4014,4221 /REMOVE:${LIBCMTSRCPATHVS2005}${FILE} $OUTCMT
- LIB /NOLOGO /IGNORE:4006,4014,4221 /REMOVE:${LIBCMTSRCPATHVS2008}${FILE} $OUTCMT
-done
« base/allocator/prep_libc.py ('K') | « base/allocator/prep_libc.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698