| Index: libadblockplus.gypi |
| diff --git a/libadblockplus.gypi b/libadblockplus.gypi |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8d47d37ef6abb82bc496eba3d24ec23d77199751 |
| --- /dev/null |
| +++ b/libadblockplus.gypi |
| @@ -0,0 +1,74 @@ |
| +{ |
| + 'includes': ['common.gypi'], |
| + 'conditions': [ |
| + ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| + or OS=="netbsd" or OS=="android"', { |
| + 'target_defaults': { |
| + 'cflags_cc': [ '-Wall', '-W', '-Wno-unused-parameter', |
| + '-Wnon-virtual-dtor', '-pedantic' ] |
| + } |
| + }], |
| + ['OS=="linux" and target_arch=="ia32"', { |
| + 'target_defaults': { |
| + 'cflags_cc': [ '-m32' ] |
| + } |
| + }], |
| + ['OS=="win"', { |
| + 'target_defaults': { |
| + 'conditions': [ |
| + ['target_arch=="x64"', { |
| + 'msvs_configuration_platform': 'x64' |
| + }] |
| + ], |
| + 'msvs_configuration_attributes': { |
| + 'CharacterSet': '1', |
| + }, |
| + 'defines': [ |
| + 'WIN32', |
| + ], |
| + 'link_settings': { |
| + 'libraries': ['-lDbgHelp'], |
| + }, |
| + } |
| + }], |
| + ['OS=="mac" and target_arch=="ia32"', { |
| + 'xcode_settings': { |
| + 'ARCHS': ["i386"] |
| + } |
| + }], |
| + ], |
| + |
| + 'target_defaults': { |
| + 'configurations': { |
| + 'Debug': { |
| + 'defines': [ |
| + 'DEBUG' |
| + ], |
| + 'msvs_settings': { |
| + 'VCCLCompilerTool': { |
| + 'conditions': [ |
| + ['component=="shared_library"', { |
| + 'RuntimeLibrary': '3', #/MDd |
| + }, { |
| + 'RuntimeLibrary': '1', #/MTd |
| + } |
| + ]] |
| + } |
| + } |
| + }, |
| + 'Release': { |
| + 'msvs_settings': { |
| + 'VCCLCompilerTool': { |
| + 'conditions': [ |
| + ['component=="shared_library"', { |
| + 'RuntimeLibrary': '2', #/MD |
| + }, { |
| + 'RuntimeLibrary': '0', #/MT |
| + } |
| + ]] |
| + } |
| + } |
| + } |
| + }, |
| + } |
| +} |