Index: libadblockplus.gypi |
diff --git a/libadblockplus.gypi b/libadblockplus.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b1df59bfaf7a2304e0648338c8d679760a0eb3bb |
--- /dev/null |
+++ b/libadblockplus.gypi |
@@ -0,0 +1,64 @@ |
+{ |
+ '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=="win"', { |
+ 'target_defaults': { |
+ 'conditions': [ |
+ ['target_arch=="x64"', { |
+ 'msvs_configuration_platform': 'x64' |
+ }] |
+ ], |
+ 'msvs_configuration_attributes': { |
+ 'CharacterSet': '1', |
+ }, |
+ 'defines': [ |
+ 'WIN32', |
+ ], |
+ 'link_settings': { |
+ 'libraries': ['-lDbgHelp'], |
+ }, |
+ } |
+ }], |
+ ], |
+ |
+ '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 |
+ } |
+ ]] |
+ } |
+ } |
+ } |
+ }, |
+ } |
+} |