]> khamidou — GitHub mirrors - electron.git/commitdiff
Move clang flag to brightray
authorCheng Zhao <zcbenz@gmail.com>
Thu, 9 Apr 2015 02:52:15 +0000 (10:52 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 9 Apr 2015 02:52:15 +0000 (10:52 +0800)
common.gypi
vendor/brightray

index cbf3d14da25a14bd6c6db8c314943161e1da23ce..b8bc7559a46f31956374d653fb3e4231f6422542 100644 (file)
@@ -3,12 +3,6 @@
     'vendor/brightray/brightray.gypi',
   ],
   'variables': {
-    'clang': 0,
-    'conditions': [
-      ['OS=="mac" or OS=="linux"', {
-        'clang': 1,
-      }],
-    ],
     # Required by breakpad.
     'os_bsd': 0,
     # Reflects node's config.gypi.
     },
   },
   'conditions': [
-    # Settings to compile with clang under OS X.
-    ['clang==1', {
-      'make_global_settings': [
-        ['CC', '/usr/bin/clang'],
-        ['CXX', '/usr/bin/clang++'],
-        ['LINK', '$(CXX)'],
-        ['CC.host', '$(CC)'],
-        ['CXX.host', '$(CXX)'],
-        ['LINK.host', '$(LINK)'],
-      ],
-      'target_defaults': {
-        'cflags_cc': [
-          '-std=c++11',
-        ],
-        'xcode_settings': {
-          'CC': '/usr/bin/clang',
-          'LDPLUSPLUS': '/usr/bin/clang++',
-          'OTHER_CFLAGS': [
-            '-fcolor-diagnostics',
-          ],
-
-          'GCC_C_LANGUAGE_STANDARD': 'c99',  # -std=c99
-          'CLANG_CXX_LIBRARY': 'libc++',  # -stdlib=libc++
-          'CLANG_CXX_LANGUAGE_STANDARD': 'c++11',  # -std=c++11
-        },
-      },
-    }],  # clang==1
     # The breakdpad on Windows assumes Debug_x64 and Release_x64 configurations.
     ['OS=="win"', {
       'target_defaults': {
index 80c8211551c3fe6a51ff0abfe235bd889d06ffd6..bf71f9ca78227171054f7cc9ed1407d72aec02db 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 80c8211551c3fe6a51ff0abfe235bd889d06ffd6
+Subproject commit bf71f9ca78227171054f7cc9ed1407d72aec02db