Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 { | 1 { |
2 'includes': ['defaults.gypi'], | 2 'includes': ['defaults.gypi'], |
3 | 3 |
4 'variables': { | 4 'variables': { |
5 'build_type%': 'devbuild', | 5 'build_type%': 'devbuild', |
6 'build_version%': '', | 6 'build_version%': '', |
7 }, | 7 }, |
8 | 8 |
9 'target_defaults': { | 9 'target_defaults': { |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 24 matching lines...) Expand all Loading... | |
35 'type': 'static_library', | 35 'type': 'static_library', |
36 'sources': [ | 36 'sources': [ |
37 'src/shared/AutoHandle.cpp', | 37 'src/shared/AutoHandle.cpp', |
38 'src/shared/Communication.cpp', | 38 'src/shared/Communication.cpp', |
39 'src/shared/Dictionary.cpp', | 39 'src/shared/Dictionary.cpp', |
40 'src/shared/Utils.cpp', | 40 'src/shared/Utils.cpp', |
41 'src/shared/Registry.h', | 41 'src/shared/Registry.h', |
42 'src/shared/Registry.cpp', | 42 'src/shared/Registry.cpp', |
43 'src/shared/IE_version.h', | 43 'src/shared/IE_version.h', |
44 'src/shared/IE_version.cpp', | 44 'src/shared/IE_version.cpp', |
45 'src/shared/ContentType.h', | 45 ] |
46 'src/shared/ContentType.cpp', | |
47 ], | |
48 'include_dirs': [ | |
Eric
2015/01/13 17:29:36
GYP has the syntax 'all_dependent_settings' and 'd
sergei
2015/01/28 13:44:45
Thanks for the tip.
Although I planned to get rid
| |
49 'libadblockplus/include', | |
50 ], | |
51 }, | 46 }, |
52 | 47 |
53 { | 48 { |
54 'target_name': 'AdblockPlusEngine', | 49 'target_name': 'AdblockPlusEngine', |
55 'type': 'executable', | 50 'type': 'executable', |
56 'dependencies': [ | 51 'dependencies': [ |
57 'shared', | 52 'shared', |
58 'libadblockplus/libadblockplus.gyp:libadblockplus', | 53 'libadblockplus/libadblockplus.gyp:libadblockplus', |
59 ], | 54 ], |
60 'sources': [ | 55 'sources': [ |
(...skipping 15 matching lines...) Expand all Loading... | |
76 'VCLinkerTool': { | 71 'VCLinkerTool': { |
77 'DelayLoadDLLs': ['Shell32.dll'], | 72 'DelayLoadDLLs': ['Shell32.dll'], |
78 }, | 73 }, |
79 }, | 74 }, |
80 }, | 75 }, |
81 | 76 |
82 { | 77 { |
83 'target_name': 'AdblockPlus', | 78 'target_name': 'AdblockPlus', |
84 'type': 'shared_library', | 79 'type': 'shared_library', |
85 'dependencies': [ | 80 'dependencies': [ |
86 'shared' | 81 'shared', |
82 'libadblockplus/libadblockplus.gyp:libadblockplus', | |
87 ], | 83 ], |
88 'sources': [ | 84 'sources': [ |
89 'src/plugin/abp.h', | 85 'src/plugin/abp.h', |
90 'src/plugin/AdblockPlus.def', | 86 'src/plugin/AdblockPlus.def', |
91 'src/plugin/AdblockPlus.idl', | 87 'src/plugin/AdblockPlus.idl', |
92 'src/plugin/AdblockPlus.rc', | 88 'src/plugin/AdblockPlus.rc', |
93 'src/plugin/AdblockPlus.rgs', | 89 'src/plugin/AdblockPlus.rgs', |
94 'src/plugin/AdblockPlusClient.cpp', | 90 'src/plugin/AdblockPlusClient.cpp', |
95 'src/plugin/AdblockPlusClient.h', | 91 'src/plugin/AdblockPlusClient.h', |
96 'src/plugin/AdblockPlusDomTraverser.cpp', | 92 'src/plugin/AdblockPlusDomTraverser.cpp', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 'src/plugin/PluginWbPassThrough.h', | 140 'src/plugin/PluginWbPassThrough.h', |
145 'src/plugin/ProtocolCF.h', | 141 'src/plugin/ProtocolCF.h', |
146 'src/plugin/ProtocolCF.inl', | 142 'src/plugin/ProtocolCF.inl', |
147 'src/plugin/ProtocolImpl.h', | 143 'src/plugin/ProtocolImpl.h', |
148 'src/plugin/ProtocolImpl.inl', | 144 'src/plugin/ProtocolImpl.inl', |
149 'src/plugin/Resource.h', | 145 'src/plugin/Resource.h', |
150 'src/plugin/SinkPolicy.h', | 146 'src/plugin/SinkPolicy.h', |
151 'src/plugin/SinkPolicy.inl', | 147 'src/plugin/SinkPolicy.inl', |
152 ], | 148 ], |
153 'include_dirs': [ | 149 'include_dirs': [ |
154 'libadblockplus/include', | |
155 '$(WindowsSDK_IncludePath)', | 150 '$(WindowsSDK_IncludePath)', |
156 '$(VCInstallDir)atlmfc/include', | 151 '$(VCInstallDir)atlmfc/include', |
157 '$(WINDDKDIR)/inc/atl71', | 152 '$(WINDDKDIR)/inc/atl71', |
158 ], | 153 ], |
159 # See "Adding Visual Style Support to an Extension, Plug-in, MMC Snap-in or a DLL | 154 # See "Adding Visual Style Support to an Extension, Plug-in, MMC Snap-in or a DLL |
160 # That Is Brought into a Process" on the link here: | 155 # That Is Brought into a Process" on the link here: |
161 # http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85 %29.aspx#using_manifests | 156 # http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85 %29.aspx#using_manifests |
162 'defines': ['ISOLATION_AWARE_ENABLED'], | 157 'defines': ['ISOLATION_AWARE_ENABLED'], |
163 'libraries': [ | 158 'libraries': [ |
164 '-lwinhttp', | 159 '-lwinhttp', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
209 'target_name': 'tests', | 204 'target_name': 'tests', |
210 'type': 'executable', | 205 'type': 'executable', |
211 'dependencies': [ | 206 'dependencies': [ |
212 'shared', | 207 'shared', |
213 'libadblockplus/third_party/googletest.gyp:googletest_main', | 208 'libadblockplus/third_party/googletest.gyp:googletest_main', |
214 ], | 209 ], |
215 'sources': [ | 210 'sources': [ |
216 'test/CommunicationTest.cpp', | 211 'test/CommunicationTest.cpp', |
217 'test/DictionaryTest.cpp', | 212 'test/DictionaryTest.cpp', |
218 'test/RegistryTest.cpp', | 213 'test/RegistryTest.cpp', |
214 'test/UtilTest.cpp', | |
219 ], | 215 ], |
220 'defines': ['WINVER=0x0501'], | 216 'defines': ['WINVER=0x0501'], |
221 'link_settings': { | 217 'link_settings': { |
222 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], | 218 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], |
223 }, | 219 }, |
224 'msvs_settings': { | 220 'msvs_settings': { |
225 'VCLinkerTool': { | 221 'VCLinkerTool': { |
226 'SubSystem': '1', # Console | 222 'SubSystem': '1', # Console |
227 'EntryPointSymbol': 'mainCRTStartup', | 223 'EntryPointSymbol': 'mainCRTStartup', |
228 }, | 224 }, |
229 }, | 225 }, |
230 }, | 226 }, |
231 | 227 |
232 { | 228 { |
233 'target_name': 'tests_plugin', | 229 'target_name': 'tests_plugin', |
234 'type': 'executable', | 230 'type': 'executable', |
235 'dependencies': [ | 231 'dependencies': [ |
236 'shared', | 232 'shared', |
233 'libadblockplus/libadblockplus.gyp:libadblockplus', | |
237 'libadblockplus/third_party/googletest.gyp:googletest_main', | 234 'libadblockplus/third_party/googletest.gyp:googletest_main', |
238 ], | 235 ], |
239 'sources': [ | 236 'sources': [ |
240 'src/plugin/PluginUserSettings.cpp', | 237 'src/plugin/PluginUserSettings.cpp', |
241 'src/plugin/PluginUserSettings.h', | 238 'src/plugin/PluginUserSettings.h', |
242 'test/plugin/UserSettingsTest.cpp', | 239 'test/plugin/UserSettingsTest.cpp', |
243 # | 240 # |
244 # required only for linking | 241 # required only for linking |
245 # | 242 # |
246 'src/plugin/AdblockPlusClient.cpp', | 243 'src/plugin/AdblockPlusClient.cpp', |
247 'src/plugin/AdblockPlusDomTraverser.cpp', | 244 'src/plugin/AdblockPlusDomTraverser.cpp', |
248 'src/plugin/AdblockPlusTab.cpp', | 245 'src/plugin/AdblockPlusTab.cpp', |
249 'src/plugin/ATL_Deprecate.cpp', | 246 'src/plugin/ATL_Deprecate.cpp', |
250 'src/plugin/NotificationMessage.cpp', | 247 'src/plugin/NotificationMessage.cpp', |
251 'src/plugin/Plugin.cpp', | 248 'src/plugin/Plugin.cpp', |
252 'src/plugin/PluginClientBase.cpp', | 249 'src/plugin/PluginClientBase.cpp', |
253 'src/plugin/PluginClientFactory.cpp', | 250 'src/plugin/PluginClientFactory.cpp', |
254 'src/plugin/PluginClass.cpp', | 251 'src/plugin/PluginClass.cpp', |
255 'src/plugin/PluginDebug.cpp', | 252 'src/plugin/PluginDebug.cpp', |
256 'src/plugin/PluginFilter.cpp', | 253 'src/plugin/PluginFilter.cpp', |
257 'src/plugin/PluginMimeFilterClient.cpp', | 254 'src/plugin/PluginMimeFilterClient.cpp', |
258 'src/plugin/PluginMutex.cpp', | 255 'src/plugin/PluginMutex.cpp', |
259 'src/plugin/PluginSettings.cpp', | 256 'src/plugin/PluginSettings.cpp', |
260 'src/plugin/PluginSystem.cpp', | 257 'src/plugin/PluginSystem.cpp', |
261 'src/plugin/PluginTabBase.cpp', | 258 'src/plugin/PluginTabBase.cpp', |
262 'src/plugin/PluginUtil.cpp', | 259 'src/plugin/PluginUtil.cpp', |
263 'src/plugin/PluginWbPassthrough.cpp', | 260 'src/plugin/PluginWbPassthrough.cpp', |
264 ], | 261 ], |
265 'include_dirs': [ | 262 'include_dirs': [ |
266 'libadblockplus/include', | |
267 '$(WINDDKDIR)/inc/atl71', | 263 '$(WINDDKDIR)/inc/atl71', |
268 ], | 264 ], |
269 'defines': [ | 265 'defines': [ |
270 'WINVER=0x0501', | 266 'WINVER=0x0501', |
271 'PRODUCT_ADBLOCKPLUS' | 267 'PRODUCT_ADBLOCKPLUS' |
272 ], | 268 ], |
273 'link_settings': { | 269 'link_settings': { |
274 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-lComctl32', '-lGdi32 '], | 270 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-lComctl32', '-lGdi32 '], |
275 }, | 271 }, |
276 'msvs_settings': { | 272 'msvs_settings': { |
(...skipping 29 matching lines...) Expand all Loading... | |
306 'Release': { | 302 'Release': { |
307 'msvs_settings': { | 303 'msvs_settings': { |
308 'VCLinkerTool': { | 304 'VCLinkerTool': { |
309 'AdditionalDependencies': ['atls.lib'], | 305 'AdditionalDependencies': ['atls.lib'], |
310 }, | 306 }, |
311 }, | 307 }, |
312 }, | 308 }, |
313 }, | 309 }, |
314 }] | 310 }] |
315 } | 311 } |
LEFT | RIGHT |