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 }, | 7 }, |
8 | 8 |
9 'conditions': [ | 9 'conditions': [ |
10 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 10 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
11 or OS=="netbsd"', { | 11 or OS=="netbsd"', { |
12 'target_defaults': { | 12 'target_defaults': { |
13 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', | 13 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', |
14 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', | 14 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', |
15 '-pedantic', | 15 '-pedantic', |
16 # Ignore some warnings for googletest | 16 # Ignore some warnings for googletest |
17 '-Wno-error=long-long', '-Wno-error=variadic-macros', | 17 '-Wno-error=long-long', '-Wno-error=variadic-macros', |
18 '-Wno-error=missing-field-initializers' ], | 18 '-Wno-error=missing-field-initializers' ], |
19 'ldflags': [ '-pthread', ], | 19 'ldflags': [ '-pthread', ], |
20 }, | 20 }, |
21 }], | 21 }], |
22 ] | 22 ], |
| 23 |
| 24 'target_defaults': { |
| 25 'msvs_cygwin_shell': 0, |
| 26 'conditions': [[ |
| 27 'target_arch=="x64"', { |
| 28 'msvs_configuration_platform': 'x64', |
| 29 } |
| 30 ]], |
| 31 } |
23 } | 32 } |
OLD | NEW |