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

Side by Side Diff: tools/asan_build

Issue 18205007: Enable ASAN build (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gyp/common_variables.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/bash
2
3 makeVars="$@"
4
5 export CC="$(which clang)"
epoger 2013/07/02 21:05:40 So I guess ASAN builds only work with clang? (It
borenet 2013/07/03 13:30:13 Added a comment.
6 export CXX="$(which clang++)"
7 export LINK="$(which clang)"
8
9 noClang="Couldn't find Clang on this machine!"
10 if [[ -z "${CC}" ]]; then
11 echo "${noClang}"
12 exit 1
13 fi
14 if [[ -z "${CXX}" ]]; then
15 echo "${noClang}"
16 exit 1
17 fi
18 if [[ -z "${LINK}" ]]; then
19 echo "${noClang}"
20 exit 1
21 fi
22
23 export GYP_DEFINES="skia_asan_build=1 ${GYP_DEFINES}"
24
25 python gyp_skia
26 if [[ "$?" != "0" ]]; then
27 exit 1
28 fi
29
30 make ${makeVars}
31 if [[ "$?" != "0" ]]; then
32 exit 1
33 fi
OLDNEW
« no previous file with comments | « gyp/common_variables.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698