]> khamidou — GitHub mirrors - electron.git/commitdiff
linux: Move some building flags to brightray
authorCheng Zhao <zcbenz@gmail.com>
Thu, 9 Apr 2015 01:59:57 +0000 (09:59 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 9 Apr 2015 01:59:57 +0000 (09:59 +0800)
atom.gyp
vendor/brightray

index 6a81a9b2f541fb04efe762fbf67aafc2af89970e..7db7c8169a34e214f95c547242c24aabb9dde252 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
        # Rules for excluding e.g. foo_win.cc from the build on non-Windows.
       'filename_rules.gypi',
     ],
-    'conditions': [
-      ['libchromiumcontent_component', {
-        'configurations': {
-          'Debug': {
-            'defines': [ 'DEBUG' ],
-            'cflags': [ '-g', '-O0' ],
-          },
-        },
-      }],
-    ],
   },
   'targets': [
     {
             ],
           },
           # Required settings of using breakpad.
-          'include_dirs': [
-            'vendor/breakpad/src',
-          ],
-          'cflags': [
-            '<!@(pkg-config --cflags dbus-1)',
-            '-Wno-deprecated-register',
+          'cflags_cc': [
             '-Wno-empty-body',
             '-Wno-reserved-user-defined-literal',
           ],
+          'include_dirs': [
+            'vendor/breakpad/src',
+          ],
           'dependencies': [
             'vendor/breakpad/breakpad.gyp:breakpad_client',
           ],
index dfce146b6249c191fe7cba624ce85432d3894d1d..821eed6ada17149eea96bb3ab6cb0c299342f535 160000 (submodule)
@@ -1 +1 @@
-Subproject commit dfce146b6249c191fe7cba624ce85432d3894d1d
+Subproject commit 821eed6ada17149eea96bb3ab6cb0c299342f535