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

Side by Side Diff: tools/clang/scripts/update.sh

Issue 133463002: Stub clang plugin to check consistency of the Blink GC infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed revision packaging code. Created 6 years, 11 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
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This script will check out llvm and clang into third_party/llvm and build it. 6 # This script will check out llvm and clang into third_party/llvm and build it.
7 7
8 # Do NOT CHANGE this if you don't know what you're doing -- see 8 # Do NOT CHANGE this if you don't know what you're doing -- see
9 # https://code.google.com/p/chromium/wiki/UpdatingClang 9 # https://code.google.com/p/chromium/wiki/UpdatingClang
10 # Reverting problematic clang rolls is safe, though. 10 # Reverting problematic clang rolls is safe, though.
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 rm -rf "${TOOL_DST_DIR}" 304 rm -rf "${TOOL_DST_DIR}"
305 cp -R "${TOOL_SRC_DIR}" "${TOOL_DST_DIR}" 305 cp -R "${TOOL_SRC_DIR}" "${TOOL_DST_DIR}"
306 rm -rf "${TOOL_BUILD_DIR}" 306 rm -rf "${TOOL_BUILD_DIR}"
307 mkdir -p "${TOOL_BUILD_DIR}" 307 mkdir -p "${TOOL_BUILD_DIR}"
308 cp "${TOOL_SRC_DIR}/Makefile" "${TOOL_BUILD_DIR}" 308 cp "${TOOL_SRC_DIR}/Makefile" "${TOOL_BUILD_DIR}"
309 MACOSX_DEPLOYMENT_TARGET=10.5 make -j"${NUM_JOBS}" -C "${TOOL_BUILD_DIR}" 309 MACOSX_DEPLOYMENT_TARGET=10.5 make -j"${NUM_JOBS}" -C "${TOOL_BUILD_DIR}"
310 done 310 done
311 311
312 if [[ -n "$run_tests" ]]; then 312 if [[ -n "$run_tests" ]]; then
313 # Run a few tests. 313 # Run a few tests.
314 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins" 314 for CHROME_TOOL_DIR in ${chrome_tools}; do
315 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" 315 TOOL_SRC_DIR="${THIS_DIR}/../${CHROME_TOOL_DIR}"
316 if [[ -f "${TOOL_SRC_DIR}/tests/test.sh" ]]; then
317 "${TOOL_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts"
318 fi
319 done
316 cd "${LLVM_BUILD_DIR}" 320 cd "${LLVM_BUILD_DIR}"
317 make check-all 321 make check-all
318 cd - 322 cd -
319 fi 323 fi
320 324
321 # After everything is done, log success for this revision. 325 # After everything is done, log success for this revision.
322 echo "${CLANG_REVISION}" > "${STAMP_FILE}" 326 echo "${CLANG_REVISION}" > "${STAMP_FILE}"
OLDNEW
« tools/clang/scripts/blink_gc_plugin_flags.sh ('K') | « tools/clang/scripts/package.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698