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

Side by Side Diff: tools/clang/scripts/blink_gc_plugin_flags.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: Reverted gyp setup restructuring 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
(Empty)
1 #!/usr/bin/env bash
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 # This script returns the flags that should be passed to clang.
7
8 THIS_ABS_DIR=$(cd $(dirname $0) && echo $PWD)
9 CLANG_LIB_PATH=$THIS_ABS_DIR/../../../third_party/llvm-build/Release+Asserts/lib
10
11 if uname -s | grep -q Darwin; then
12 LIBSUFFIX=dylib
13 else
14 LIBSUFFIX=so
15 fi
16
17 echo -Xclang -load -Xclang $CLANG_LIB_PATH/libBlinkGCPlugin.$LIBSUFFIX \
18 -Xclang -add-plugin -Xclang blink-gc-plugin
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698