OLD | NEW |
1 { | 1 { |
2 'conditions': [[ | 2 'conditions': [[ |
3 # We don't want to use curl on Windows and Android, skip the check there | 3 # We don't want to use curl on Windows and Android, skip the check there |
4 'OS=="win" or OS=="android"', | 4 'OS=="win" or OS=="android"', |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'have_curl': 0 | 7 'have_curl': 0 |
8 } | 8 } |
9 }, | 9 }, |
10 { | 10 { |
11 'variables': { | 11 'variables': { |
12 'have_curl': '<!(python check_curl.py)' | 12 'have_curl': '<!(python check_curl.py)' |
13 } | 13 } |
14 } | 14 } |
15 ]], | 15 ]], |
16 'includes': ['v8.gypi', 'shell/shell.gyp'], | 16 'includes': ['v8.gypi', 'shell/shell.gyp'], |
17 'targets': [{ | 17 'targets': [{ |
18 'target_name': 'libadblockplus', | 18 'target_name': 'libadblockplus', |
19 'type': '<(library)', | 19 'type': '<(library)', |
20 'dependencies': ['<@(libv8_build_targets)'], | 20 'dependencies': ['<@(libv8_build_targets)'], |
21 'xcode_settings':{}, | 21 'xcode_settings':{}, |
22 'include_dirs': [ | 22 'include_dirs': [ |
23 'include', | 23 'include', |
24 '<(libv8_include_dir)' | 24 '<(libv8_include_dir)' |
25 ], | 25 ], |
26 'sources': [ | 26 'sources': [ |
| 27 'include/AdblockPlus/ActiveObject.h', |
| 28 'include/AdblockPlus/AsyncExecutor.h', |
27 'include/AdblockPlus/ITimer.h', | 29 'include/AdblockPlus/ITimer.h', |
28 'include/AdblockPlus/IWebRequest.h', | 30 'include/AdblockPlus/IWebRequest.h', |
29 'include/AdblockPlus/IFileSystem.h', | 31 'include/AdblockPlus/IFileSystem.h', |
30 'include/AdblockPlus/Scheduler.h', | 32 'include/AdblockPlus/Scheduler.h', |
31 'include/AdblockPlus/Platform.h', | 33 'include/AdblockPlus/Platform.h', |
| 34 'include/AdblockPlus/SynchronizedCollection.h', |
| 35 'src/ActiveObject.cpp', |
| 36 'src/AsyncExecutor.cpp', |
32 'src/AppInfoJsObject.cpp', | 37 'src/AppInfoJsObject.cpp', |
33 'src/ConsoleJsObject.cpp', | 38 'src/ConsoleJsObject.cpp', |
34 'src/DefaultLogSystem.cpp', | 39 'src/DefaultLogSystem.cpp', |
35 'src/DefaultFileSystem.h', | 40 'src/DefaultFileSystem.h', |
36 'src/DefaultFileSystem.cpp', | 41 'src/DefaultFileSystem.cpp', |
37 'src/DefaultTimer.cpp', | 42 'src/DefaultTimer.cpp', |
38 'src/DefaultTimer.h', | 43 'src/DefaultTimer.h', |
39 'src/DefaultWebRequest.h', | 44 'src/DefaultWebRequest.h', |
40 'src/DefaultWebRequest.cpp', | 45 'src/DefaultWebRequest.cpp', |
41 'src/FileSystemJsObject.cpp', | 46 'src/FileSystemJsObject.cpp', |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 }, | 186 }, |
182 { | 187 { |
183 'target_name': 'tests', | 188 'target_name': 'tests', |
184 'type': 'executable', | 189 'type': 'executable', |
185 'xcode_settings': {}, | 190 'xcode_settings': {}, |
186 'dependencies': [ | 191 'dependencies': [ |
187 'googletest.gyp:googletest_main', | 192 'googletest.gyp:googletest_main', |
188 'libadblockplus' | 193 'libadblockplus' |
189 ], | 194 ], |
190 'sources': [ | 195 'sources': [ |
| 196 'test/AsyncExecutor.cpp', |
191 'test/BaseJsTest.h', | 197 'test/BaseJsTest.h', |
192 'test/BaseJsTest.cpp', | 198 'test/BaseJsTest.cpp', |
193 'test/AppInfoJsObject.cpp', | 199 'test/AppInfoJsObject.cpp', |
194 'test/ConsoleJsObject.cpp', | 200 'test/ConsoleJsObject.cpp', |
195 'test/DefaultFileSystem.cpp', | 201 'test/DefaultFileSystem.cpp', |
196 'test/FileSystemJsObject.cpp', | 202 'test/FileSystemJsObject.cpp', |
197 'test/FilterEngine.cpp', | 203 'test/FilterEngine.cpp', |
198 'test/GlobalJsObject.cpp', | 204 'test/GlobalJsObject.cpp', |
199 'test/JsEngine.cpp', | 205 'test/JsEngine.cpp', |
200 'test/JsValue.cpp', | 206 'test/JsValue.cpp', |
201 'test/Notification.cpp', | 207 'test/Notification.cpp', |
202 'test/Prefs.cpp', | 208 'test/Prefs.cpp', |
203 'test/ReferrerMapping.cpp', | 209 'test/ReferrerMapping.cpp', |
204 'test/UpdateCheck.cpp', | 210 'test/UpdateCheck.cpp', |
205 'test/WebRequest.cpp' | 211 'test/WebRequest.cpp' |
206 ], | 212 ], |
207 'msvs_settings': { | 213 'msvs_settings': { |
208 'VCLinkerTool': { | 214 'VCLinkerTool': { |
209 'SubSystem': '1', # Console | 215 'SubSystem': '1', # Console |
210 'EntryPointSymbol': 'mainCRTStartup', | 216 'EntryPointSymbol': 'mainCRTStartup', |
211 }, | 217 }, |
212 }, | 218 }, |
213 }] | 219 }] |
214 } | 220 } |
OLD | NEW |