|
13 | 13 | } |
14 | 14 | } |
15 | 15 | ]], |
16 | | - 'includes': ['v8.gypi', 'shell/shell.gyp'], |
| 16 | + 'includes': ['v8.gypi'], |
17 | 17 | 'targets': [{ |
18 | 18 | 'target_name': 'libadblockplus', |
19 | 19 | 'type': '<(library)', |
|
61 | 61 | 'include_dirs': ['include'], |
62 | 62 | 'conditions': [[ |
63 | 63 | 'OS=="win"', { |
| 64 | + 'link_settings': { |
| 65 | + 'libraries': [ |
| 66 | + '<@(libv8_libs)', |
| 67 | + '-lwinmm' |
| 68 | + ], |
| 69 | + }, |
64 | 70 | 'msvs_settings': { |
65 | 71 | 'VCLinkerTool': { |
66 | 72 | 'AdditionalLibraryDirectories': ['<(libv8_lib_dir)'], |
67 | 73 | } |
68 | 74 | } |
69 | 75 | } |
70 | | - ]], |
71 | | - }, |
72 | | - 'conditions': [ |
73 | | - ['OS=="linux" or OS=="mac"', { |
| 76 | + ], ['OS=="linux" or OS=="mac"', { |
74 | 77 | 'link_settings': { |
75 | 78 | 'libraries': [ |
76 | 79 | '<@(libv8_libs)' |
|
79 | 82 | '<(libv8_lib_dir)' |
80 | 83 | ] |
81 | 84 | } |
82 | | - }], |
83 | | - ['OS=="win"', { |
84 | | - 'link_settings': { |
85 | | - 'libraries': [ |
86 | | - '<@(libv8_libs)', |
87 | | - '-lwinmm' |
88 | | - ], |
89 | | - }, |
90 | | - }], |
91 | | - ['OS=="android"', { |
| 85 | + }], ['OS=="android"', { |
92 | 86 | 'user_libraries': [ |
93 | 87 | '<@(libv8_libs)' |
94 | 88 | ], |
| 89 | + }]], |
| 90 | + }, |
| 91 | + 'conditions': [ |
| 92 | + ['OS=="android"', { |
95 | 93 | 'standalone_static_library': 1, # disable thin archives |
96 | 94 | }], |
97 | 95 | ['have_curl==1', |
|
185 | 183 | '--after', '<@(load_after_files)', |
186 | 184 | ] |
187 | 185 | }] |
188 | | - }, |
189 | | - { |
190 | | - 'target_name': 'tests', |
191 | | - 'type': 'executable', |
192 | | - 'xcode_settings': {}, |
193 | | - 'dependencies': [ |
194 | | - 'googletest.gyp:googletest_main', |
195 | | - 'libadblockplus' |
196 | | - ], |
197 | | - 'sources': [ |
198 | | - 'test/AsyncExecutor.cpp', |
199 | | - 'test/BaseJsTest.h', |
200 | | - 'test/BaseJsTest.cpp', |
201 | | - 'test/AppInfoJsObject.cpp', |
202 | | - 'test/ConsoleJsObject.cpp', |
203 | | - 'test/DefaultFileSystem.cpp', |
204 | | - 'test/FileSystemJsObject.cpp', |
205 | | - 'test/FilterEngine.cpp', |
206 | | - 'test/GlobalJsObject.cpp', |
207 | | - 'test/JsEngine.cpp', |
208 | | - 'test/JsValue.cpp', |
209 | | - 'test/Notification.cpp', |
210 | | - 'test/Prefs.cpp', |
211 | | - 'test/ReferrerMapping.cpp', |
212 | | - 'test/UpdateCheck.cpp', |
213 | | - 'test/WebRequest.cpp' |
214 | | - ], |
215 | | - 'msvs_settings': { |
216 | | - 'VCLinkerTool': { |
217 | | - 'SubSystem': '1', # Console |
218 | | - 'EntryPointSymbol': 'mainCRTStartup', |
219 | | - }, |
220 | | - }, |
221 | 186 | }] |
222 | 187 | } |
0 commit comments