Testing Skia with memory, address, and thread santizers.
CLANGDIR="${HOME}/clang" python infra/bots/assets/clang_linux/download.py -t $CLANGDIR
CLANGDIR="${HOME}/clang" python tools/git-sync-deps CC= CXX= infra/bots/assets/clang_linux/create.py -t "$CLANGDIR"
CLANGDIR="${HOME}/clang" mkdir -p out/msan cat > out/msan/args.gn <<- EOF cc = "${CLANGDIR}/bin/clang" cxx = "${CLANGDIR}/bin/clang++" extra_ldflags = [ "-Wl,-rpath", "-Wl,${CLANGDIR}/msan" ] sanitize = "MSAN" skia_use_fontconfig = false EOF python tools/git-sync-deps bin/gn gen out/msan ninja -C out/msan
CLANGDIR="${HOME}/clang" mkdir -p out/asan cat > out/asan/args.gn <<- EOF cc = "${CLANGDIR}/bin/clang" cxx = "${CLANGDIR}/bin/clang++" sanitize = "ASAN" EOF python tools/git-sync-deps bin/gn gen out/asan ninja -C out/asan
CLANGDIR="${HOME}/clang" mkdir -p out/tsan cat > out/tsan/args.gn <<- EOF cc = "${CLANGDIR}/bin/clang" cxx = "${CLANGDIR}/bin/clang++" sanitize = "TSAN" is_debug = false EOF python tools/git-sync-deps bin/gn gen out/tsan ninja -C out/tsan