| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 'variables': { | 2 'variables': { |
| 3 'visibility%': 'hidden', | 3 'visibility%': 'hidden', |
| 4 'library%': 'static_library', | 4 'library%': 'static_library', |
| 5 'component%': '', | 5 'component%': '', |
| 6 'want_separate_host_toolset': 0, | 6 'want_separate_host_toolset': 0, |
| 7 'v8_optimized_debug': 0, | 7 'v8_optimized_debug': 0, |
| 8 'v8_enable_i18n_support': 0, | 8 'v8_enable_i18n_support': 0, |
| 9 }, | 9 }, |
| 10 | 10 |
| 11 'conditions': [ | 11 'conditions': [ |
| 12 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 12 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 13 or OS=="netbsd" or OS=="android"', { | 13 or OS=="netbsd" or OS=="android"', { |
| 14 'target_defaults': { | 14 'target_defaults': { |
| 15 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', | 15 'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-pedantic', |
|
paco
2015/01/14 15:15:58
Since we're using `-Wall` the other flags are not
Wladimir Palant
2015/01/22 15:29:21
-W is not implied by -Wall (see http://gcc.gnu.org
Felix Dahlke
2015/02/02 14:12:37
Are these changes really necessary to fix the buil
| |
| 16 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', | 16 » '-std=c++0x', '-fexceptions', ], |
|
sergei
2015/01/22 14:14:14
previously there were spaces.
| |
| 17 '-pedantic', '-std=c++0x', '-fexceptions', ], | |
| 18 'ldflags': [ '-pthread', ], | 17 'ldflags': [ '-pthread', ], |
| 18 'cflags!': [ '-Werror', ], | |
|
paco
2015/01/14 15:15:58
We're gonna see the errors but we're not treating
Felix Dahlke
2015/02/02 14:12:37
I think it'd make sense to move this right below c
| |
| 19 }, | 19 }, |
| 20 }], | 20 }], |
| 21 ['OS=="mac"', { | 21 ['OS=="mac"', { |
| 22 'xcode_settings': { | 22 'xcode_settings': { |
| 23 'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x', | 23 'CLANG_CXX_LANGUAGE_STANDARD': 'c++0x', |
| 24 'CLANG_CXX_LIBRARY': 'libstdc++', | 24 'CLANG_CXX_LIBRARY': 'libstdc++', |
| 25 'OTHER_CPLUSPLUSFLAGS' : ['-std=c++0x', '-stdlib=libstdc++'], | 25 'OTHER_CPLUSPLUSFLAGS' : ['-std=c++0x', '-stdlib=libstdc++'], |
| 26 }, | 26 }, |
| 27 }], | 27 }], |
| 28 ['OS=="android"', { | 28 ['OS=="android"', { |
| 29 'target_defaults': { | 29 'target_defaults': { |
| 30 'cflags!': [ | 30 'cflags!': [ |
| 31 '-pthread', # Not supported by Android toolchain. | 31 '-pthread', # Not supported by Android toolchain. |
| 32 ], | 32 ], |
| 33 'ldflags!': [ | 33 'ldflags!': [ |
| 34 '-pthread', # Not supported by Android toolchain. | 34 '-pthread', # Not supported by Android toolchain. |
| 35 ], | 35 ], |
| 36 }, | 36 }, |
| 37 }], | 37 }], |
| 38 ], | 38 ], |
| 39 | 39 |
| 40 'target_defaults': { | 40 'target_defaults': { |
| 41 'msvs_cygwin_shell': 0, | 41 'msvs_cygwin_shell': 0, |
| 42 } | 42 } |
| 43 } | 43 } |
| OLD | NEW |