OLD | NEW |
(Empty) | |
| 1 { |
| 2 'includes': ['common.gypi'], |
| 3 'conditions': [ |
| 4 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 5 or OS=="netbsd" or OS=="android"', { |
| 6 'target_defaults': { |
| 7 'cflags_cc': [ '-Wall', '-W', '-Wno-unused-parameter', |
| 8 '-Wnon-virtual-dtor', '-pedantic' ] |
| 9 } |
| 10 }], |
| 11 ['OS=="win"', { |
| 12 'target_defaults': { |
| 13 'conditions': [ |
| 14 ['target_arch=="x64"', { |
| 15 'msvs_configuration_platform': 'x64' |
| 16 }] |
| 17 ], |
| 18 'msvs_configuration_attributes': { |
| 19 'CharacterSet': '1', |
| 20 }, |
| 21 'defines': [ |
| 22 'WIN32', |
| 23 ], |
| 24 'link_settings': { |
| 25 'libraries': ['-lDbgHelp'], |
| 26 }, |
| 27 } |
| 28 }], |
| 29 ], |
| 30 |
| 31 'target_defaults': { |
| 32 'configurations': { |
| 33 'Debug': { |
| 34 'defines': [ |
| 35 'DEBUG' |
| 36 ], |
| 37 'msvs_settings': { |
| 38 'VCCLCompilerTool': { |
| 39 'conditions': [ |
| 40 ['component=="shared_library"', { |
| 41 'RuntimeLibrary': '3', #/MDd |
| 42 }, { |
| 43 'RuntimeLibrary': '1', #/MTd |
| 44 } |
| 45 ]] |
| 46 } |
| 47 } |
| 48 }, |
| 49 'Release': { |
| 50 'msvs_settings': { |
| 51 'VCCLCompilerTool': { |
| 52 'conditions': [ |
| 53 ['component=="shared_library"', { |
| 54 'RuntimeLibrary': '2', #/MD |
| 55 }, { |
| 56 'RuntimeLibrary': '0', #/MT |
| 57 } |
| 58 ]] |
| 59 } |
| 60 } |
| 61 } |
| 62 }, |
| 63 } |
| 64 } |
OLD | NEW |