| 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=="linux" and target_arch=="ia32"', { | 
|  | 12       'target_defaults': { | 
|  | 13         'cflags_cc': [ '-m32' ] | 
|  | 14       } | 
|  | 15     }], | 
|  | 16     ['OS=="win"', { | 
|  | 17       'target_defaults': { | 
|  | 18         'conditions': [ | 
|  | 19           ['target_arch=="x64"', { | 
|  | 20             'msvs_configuration_platform': 'x64' | 
|  | 21           }] | 
|  | 22         ], | 
|  | 23         'msvs_configuration_attributes': { | 
|  | 24           'CharacterSet': '1', | 
|  | 25         }, | 
|  | 26         'defines': [ | 
|  | 27           'WIN32', | 
|  | 28         ], | 
|  | 29         'link_settings': { | 
|  | 30           'libraries': ['-lDbgHelp'], | 
|  | 31         }, | 
|  | 32       } | 
|  | 33     }], | 
|  | 34     ['OS=="mac" and target_arch=="ia32"', { | 
|  | 35       'xcode_settings': { | 
|  | 36         'ARCHS': ["i386"] | 
|  | 37       } | 
|  | 38     }], | 
|  | 39   ], | 
|  | 40 | 
|  | 41   'target_defaults': { | 
|  | 42     'configurations': { | 
|  | 43       'Debug': { | 
|  | 44         'defines': [ | 
|  | 45           'DEBUG' | 
|  | 46         ], | 
|  | 47         'msvs_settings': { | 
|  | 48           'VCCLCompilerTool': { | 
|  | 49             'conditions': [ | 
|  | 50               ['component=="shared_library"', { | 
|  | 51                 'RuntimeLibrary': '3',  #/MDd | 
|  | 52               }, { | 
|  | 53                 'RuntimeLibrary': '1',  #/MTd | 
|  | 54               } | 
|  | 55             ]] | 
|  | 56           } | 
|  | 57         } | 
|  | 58       }, | 
|  | 59       'Release': { | 
|  | 60         'msvs_settings': { | 
|  | 61           'VCCLCompilerTool': { | 
|  | 62             'conditions': [ | 
|  | 63               ['component=="shared_library"', { | 
|  | 64                 'RuntimeLibrary': '2',  #/MD | 
|  | 65               }, { | 
|  | 66                 'RuntimeLibrary': '0',  #/MT | 
|  | 67               } | 
|  | 68             ]] | 
|  | 69           } | 
|  | 70         } | 
|  | 71       } | 
|  | 72     }, | 
|  | 73   } | 
|  | 74 } | 
| OLD | NEW | 
|---|