summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 16:14:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 16:14:24 +0000
commitac4fbedeefe7f5cae229a545ddc679eaf42351ca (patch)
treef61f52bab50fbbfe5281d0b83ea2bb5363d516fe /tools
parent374a58ad2d511d8b21a4526810bd6488df86e32d (diff)
downloadchromium_src-ac4fbedeefe7f5cae229a545ddc679eaf42351ca.zip
chromium_src-ac4fbedeefe7f5cae229a545ddc679eaf42351ca.tar.gz
chromium_src-ac4fbedeefe7f5cae229a545ddc679eaf42351ca.tar.bz2
Revert 74597 - clang: Make it possible to run Elliot's plugin on the bots
To make it possible to change the exact plugin command line without a master restart, the command line is loaded from a bash script. This script is used if clang_use_chrome_plugins and clang are both set in GYP_DEFINES when runhooks runs. BUG=none TEST=none Review URL: http://codereview.chromium.org/6461026 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/6489036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-xtools/clang/scripts/plugin_flags.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/clang/scripts/plugin_flags.sh b/tools/clang/scripts/plugin_flags.sh
deleted file mode 100755
index ec3eed6c..0000000
--- a/tools/clang/scripts/plugin_flags.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-# Copyright (c) 2011 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 returns the flags that should be used when GYP_DEFINES contains
-# clang_use_chrome_plugins. The flags are stored in a script so that they can
-# be changed on the bots without requiring a master restart.
-
-THIS_ABS_DIR=$(cd $(dirname $0) && echo $PWD)
-CLANG_LIB_PATH=$THIS_ABS_DIR/../../../third_party/llvm-build/Release+Asserts/lib
-
-if uname -s | grep -q Darwin; then
- LIBSUFFIX=dylib
-else
- LIBSUFFIX=so
-fi
-
-echo -Xclang -load -Xclang $CLANG_LIB_PATH/libFindBadConstructs.$LIBSUFFIX \
- -Xclang -add-plugin -Xclang find-bad-constructs