LEFT | RIGHT |
1 { | 1 { |
2 'includes': ['common.gypi'], | 2 'includes': ['common.gypi'], |
3 'conditions': [ | 3 'conditions': [ |
4 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 4 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
5 or OS=="netbsd" or OS=="android"', { | 5 or OS=="netbsd" or OS=="android"', { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'cflags_cc': [ '-Wall', '-W', '-Wno-unused-parameter', | 7 'cflags_cc': [ '-Wall', '-W', '-Wno-unused-parameter', |
8 '-Wnon-virtual-dtor', '-pedantic' ] | 8 '-Wnon-virtual-dtor', '-pedantic' ] |
| 9 } |
| 10 }], |
| 11 ['OS=="linux" and target_arch=="ia32"', { |
| 12 'target_defaults': { |
| 13 'cflags_cc': [ '-m32' ] |
9 } | 14 } |
10 }], | 15 }], |
11 ['OS=="win"', { | 16 ['OS=="win"', { |
12 'target_defaults': { | 17 'target_defaults': { |
13 'conditions': [ | 18 'conditions': [ |
14 ['target_arch=="x64"', { | 19 ['target_arch=="x64"', { |
15 'msvs_configuration_platform': 'x64' | 20 'msvs_configuration_platform': 'x64' |
16 }] | 21 }] |
17 ], | 22 ], |
18 'msvs_configuration_attributes': { | 23 'msvs_configuration_attributes': { |
19 'CharacterSet': '1', | 24 'CharacterSet': '1', |
20 }, | 25 }, |
21 'defines': [ | 26 'defines': [ |
22 'WIN32', | 27 'WIN32', |
23 ], | 28 ], |
24 'link_settings': { | 29 'link_settings': { |
25 'libraries': ['-lDbgHelp'], | 30 'libraries': ['-lDbgHelp'], |
26 }, | 31 }, |
| 32 } |
| 33 }], |
| 34 ['OS=="mac" and target_arch=="ia32"', { |
| 35 'xcode_settings': { |
| 36 'ARCHS': ["i386"] |
27 } | 37 } |
28 }], | 38 }], |
29 ], | 39 ], |
30 | 40 |
31 'target_defaults': { | 41 'target_defaults': { |
32 'configurations': { | 42 'configurations': { |
33 'Debug': { | 43 'Debug': { |
34 'defines': [ | 44 'defines': [ |
35 'DEBUG' | 45 'DEBUG' |
36 ], | 46 ], |
(...skipping 18 matching lines...) Expand all Loading... |
55 }, { | 65 }, { |
56 'RuntimeLibrary': '0', #/MT | 66 'RuntimeLibrary': '0', #/MT |
57 } | 67 } |
58 ]] | 68 ]] |
59 } | 69 } |
60 } | 70 } |
61 } | 71 } |
62 }, | 72 }, |
63 } | 73 } |
64 } | 74 } |
LEFT | RIGHT |