summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 21:44:39 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 21:44:39 +0000
commit76b0b09da453e43c258201ac42f9febf48b8ed7b (patch)
tree3720376bbdbcaebc97cb7e60f6a9e374b906c8c0 /tools
parente318fe5ea4130cccbf266c1e25c9703b811f7bb6 (diff)
downloadchromium_src-76b0b09da453e43c258201ac42f9febf48b8ed7b.zip
chromium_src-76b0b09da453e43c258201ac42f9febf48b8ed7b.tar.gz
chromium_src-76b0b09da453e43c258201ac42f9febf48b8ed7b.tar.bz2
clang: Blow away the plugin build directory before every run.
The mac trybot had and old copy of the plugin source in its build directory as a left-over from an old version of the update script. This caused clang's build system to build this old source instead of the current source. BUG=none TEST=none Review URL: http://codereview.chromium.org/6579011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75795 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-xtools/clang/scripts/update.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh
index 6cc4f98..aad295b 100755
--- a/tools/clang/scripts/update.sh
+++ b/tools/clang/scripts/update.sh
@@ -44,6 +44,7 @@ PLUGIN_DST_DIR=$LLVM_DIR/../llvm/tools/clang/tools/chrome-plugin
PLUGIN_BUILD_DIR=$LLVM_DIR/../llvm-build/tools/clang/tools/chrome-plugin
rm -rf $PLUGIN_DST_DIR
cp -R $PLUGIN_SRC_DIR $PLUGIN_DST_DIR
+rm -rf $PLUGIN_BUILD_DIR
mkdir -p $PLUGIN_BUILD_DIR
cp $PLUGIN_SRC_DIR/Makefile $PLUGIN_BUILD_DIR
cd $PLUGIN_BUILD_DIR