blob: 2404d0522c2919c77fb6d6a6090b8deb9cdf99d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
#
# Copyright (c) 2010 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.
#
# A script that runs a clang plugin against the chrome target on Linux.
export CXXFLAGS="-Xclang -load -Xclang /work/llvm/Release+Asserts/lib/libFindBadConstructs.so -Xclang -plugin -Xclang find-bad-constructs"
export CXX=`dirname $0`/cxx_wrapper.sh
export LINK=`dirname $0`/link_wrapper.sh
make -j2 chrome
|