mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
24
media/webrtc/trunk/tools/clang/scripts/plugin_flags.sh
Normal file
24
media/webrtc/trunk/tools/clang/scripts/plugin_flags.sh
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
# Copyright (c) 2012 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.
|
||||
|
||||
# This script returns the flags that should be used when GYP_DEFINES contains
|
||||
# clang_use_chrome_plugins. The flags are stored in a script so that they can
|
||||
# be changed on the bots without requiring a master restart.
|
||||
|
||||
THIS_ABS_DIR=$(cd $(dirname $0) && echo $PWD)
|
||||
CLANG_LIB_PATH=$THIS_ABS_DIR/../../../third_party/llvm-build/Release+Asserts/lib
|
||||
|
||||
if uname -s | grep -q Darwin; then
|
||||
LIBSUFFIX=dylib
|
||||
else
|
||||
LIBSUFFIX=so
|
||||
fi
|
||||
|
||||
echo -Xclang -load -Xclang $CLANG_LIB_PATH/libFindBadConstructs.$LIBSUFFIX \
|
||||
-Xclang -add-plugin -Xclang find-bad-constructs \
|
||||
-Xclang -plugin-arg-find-bad-constructs \
|
||||
-Xclang skip-virtuals-in-implementations \
|
||||
-Xclang -plugin-arg-find-bad-constructs \
|
||||
-Xclang check-cc-directory
|
||||
Loading…
Add table
Add a link
Reference in a new issue