aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/is_clang.py
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@google.com>2016-09-26 14:34:14 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-09-26 14:37:22 +0000
commit0dc744ac340ee061faf4518be85cc28e38a4471b (patch)
treed79a0a70072cb16ccc6ab72c740096dc2339bf68 /gn/is_clang.py
parent75a171cf17d6f54bca56c19f2ffc484a9171fb43 (diff)
Revert "GN: detect is_clang, use it to switch Clang to warning blacklist."
This reverts commit I09c3487adfeb26a6fb07e1939cb927c5d7de3107. Reason for revert: -Wover-aligned on x86 Android bots Original issue's description: > GN: detect is_clang, use it to switch Clang to warning blacklist. > > BUG=skia: > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2599 > > Change-Id: I09c3487adfeb26a6fb07e1939cb927c5d7de3107 > Reviewed-on: https://skia-review.googlesource.com/2599 > Reviewed-by: Ben Wagner <bungeman@google.com> > Commit-Queue: Mike Klein <mtklein@chromium.org> > TBR=mtklein@chromium.org,bungeman@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Change-Id: Ic07bf7896a305be6c377f14a573cb10836f1a6f8 Reviewed-on: https://skia-review.googlesource.com/2601 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
Diffstat (limited to 'gn/is_clang.py')
-rwxr-xr-xgn/is_clang.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/gn/is_clang.py b/gn/is_clang.py
deleted file mode 100755
index 99173a004c..0000000000
--- a/gn/is_clang.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python
-#
-# Copyright 2016 Google Inc.
-#
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import subprocess
-import sys
-cc,cxx = sys.argv[1:3]
-
-if ('clang' in subprocess.check_output([cc, '--version']) and
- 'clang' in subprocess.check_output([cxx, '--version'])):
- print 'true'
-else:
- print 'false'
-