Index: adblockplus.gyp |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/adblockplus.gyp |
@@ -0,0 +1,26 @@ |
+{ |
+ 'includes': ['libadblockplus/common.gypi', 'libadblockplus/third_party/googletest.gyp'], |
+ |
+ 'targets': [{ |
+ 'target_name': 'tests', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'googletest_main', |
+ ], |
+ 'sources': [ |
+ 'src/shared/AutoHandle.cpp', |
+ 'src/shared/Communication.cpp', |
+ 'test/CommunicationTest.cpp', |
+ ], |
+ 'defines': ['WINVER=0x0501'], |
+ 'link_settings': { |
+ 'libraries': ['-ladvapi32'], |
+ }, |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'SubSystem': '1', # Console |
+ 'EntryPointSymbol': 'mainCRTStartup', |
+ }, |
+ }, |
+ }] |
+} |