Revert "Switch builds to clang by default for Linux and OS X."
authorOliver Chang <ochang@chromium.org>
Mon, 19 Oct 2015 18:23:52 +0000 (11:23 -0700)
committerOliver Chang <ochang@chromium.org>
Mon, 19 Oct 2015 18:23:52 +0000 (11:23 -0700)
This reverts commit 5478df43a8970257e9644ae6f57a6fe7513029c6.

TBR=thestig@chromium.org

Review URL: https://codereview.chromium.org/1413193002 .

.gitignore
DEPS
build/standalone.gypi

index cbd1e7d..3014ed6 100644 (file)
@@ -6,9 +6,6 @@
 /testing/corpus
 /testing/gmock
 /testing/gtest
-/third_party/llvm
-/third_party/llvm-build
-/tools/clang
 /v8
 /xcodebuild
 Makefile
diff --git a/DEPS b/DEPS
index 8f0b55f..74097a6 100644 (file)
--- a/DEPS
+++ b/DEPS
@@ -16,9 +16,6 @@ deps = {
   "testing/gtest":
      "https://chromium.googlesource.com/external/googletest.git@8245545b6dc9c4703e6496d1efd19e975ad2b038",
 
-  "tools/clang":
-    "https://chromium.googlesource.com/chromium/src/tools/clang",
-
   "v8":
     "https://chromium.googlesource.com/v8/v8.git@d3f97a972ffe37989fed2794d07e33f7c25f651c",
 
@@ -79,10 +76,4 @@ hooks = [
                 '-s', 'buildtools/linux64/clang-format.sha1',
     ],
   },
-  {
-    # Pull clang if needed or requested via GYP_DEFINES.
-    'name': 'clang',
-    'pattern': '.',
-    'action': ['python', 'tools/clang/scripts/update.py', '--if-needed'],
-  },
 ]
index a70b442..507368d 100644 (file)
@@ -8,8 +8,6 @@
   'variables': {
     'component%': 'static_library',
     'clang%': 0,
-    'asan%': 0,
-    'sanitizer_coverage%': 0,
     'msvs_multi_core_compile%': '1',
     'variables': {
       'variables': {
@@ -39,7 +37,6 @@
       'host_arch%': '<(host_arch)',
       'target_arch%': '<(target_arch)',
     },
-    'clang_dir%': 'third_party/llvm-build/Release+Asserts',
     # These two are needed by V8.
     'host_arch%': '<(host_arch)',
     'target_arch%': '<(target_arch)',
       }, {
         'os_posix%': 1,
       }],
-      ['OS=="linux" or OS=="mac"', {
-        'clang%': 1,
-      }, {
-        'clang%': 0,
-      }],
     ],
   },
   'target_defaults': {
           '-fPIC',
         ],
       }],
-      ['asan==1', {
-        'cflags': [
-          '-fsanitize=address',
-          '-gline-tables-only',
-        ],
-        'ldflags': [
-          '-fsanitize=address',
-        ],
-      }],
-      ['sanitizer_coverage!=0', {
-        'cflags': [
-          '-fsanitize-coverage=<(sanitizer_coverage)',
-        ],
-      }],
       ['OS=="win"', {
         'defines': [
           'NOMINMAX',
   'xcode_settings': {
     # See comment in Chromium's common.gypi for why this is needed.
     'SYMROOT': '<(DEPTH)/xcodebuild',
-  },
-  'conditions': [
-    ['OS=="linux" or OS=="mac"', {
-      'conditions': [
-        ['clang==1', {
-          'make_global_settings': [
-            ['CC', '<(clang_dir)/bin/clang'],
-            ['CXX', '<(clang_dir)/bin/clang++'],
-          ],
-        }],
-      ],
-    }],  # OS=="linux" or OS=="mac"
-  ],
+  }
 }