| 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 20 matching lines...) Expand all Loading... |
| 31 }, | 31 }, |
| 32 | 32 |
| 33 'targets': [{ | 33 'targets': [{ |
| 34 'target_name': 'shared', | 34 'target_name': 'shared', |
| 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/ContentType.h', | 41 'src/shared/Registry.h', |
| 42 'src/shared/ContentType.cpp', | 42 'src/shared/Registry.cpp', |
| 43 ], | 43 'src/shared/IE_version.h', |
| 44 'include_dirs': [ | 44 'src/shared/IE_version.cpp', |
| 45 'libadblockplus/include', | 45 ] |
| 46 ], | |
| 47 }, | 46 }, |
| 48 | 47 |
| 49 { | 48 { |
| 50 'target_name': 'AdblockPlusEngine', | 49 'target_name': 'AdblockPlusEngine', |
| 51 'type': 'executable', | 50 'type': 'executable', |
| 52 'dependencies': [ | 51 'dependencies': [ |
| 53 'shared', | 52 'shared', |
| 54 'libadblockplus/libadblockplus.gyp:libadblockplus', | 53 'libadblockplus/libadblockplus.gyp:libadblockplus', |
| 55 ], | 54 ], |
| 56 'sources': [ | 55 'sources': [ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 72 'VCLinkerTool': { | 71 'VCLinkerTool': { |
| 73 'DelayLoadDLLs': ['Shell32.dll'], | 72 'DelayLoadDLLs': ['Shell32.dll'], |
| 74 }, | 73 }, |
| 75 }, | 74 }, |
| 76 }, | 75 }, |
| 77 | 76 |
| 78 { | 77 { |
| 79 'target_name': 'AdblockPlus', | 78 'target_name': 'AdblockPlus', |
| 80 'type': 'shared_library', | 79 'type': 'shared_library', |
| 81 'dependencies': [ | 80 'dependencies': [ |
| 82 'shared' | 81 'shared', |
| 82 'libadblockplus/libadblockplus.gyp:libadblockplus', |
| 83 ], | 83 ], |
| 84 'sources': [ | 84 'sources': [ |
| 85 'src/plugin/abp.h', | 85 'src/plugin/abp.h', |
| 86 'src/plugin/AdblockPlus.def', | 86 'src/plugin/AdblockPlus.def', |
| 87 'src/plugin/AdblockPlus.idl', | 87 'src/plugin/AdblockPlus.idl', |
| 88 'src/plugin/AdblockPlus.rc', | 88 'src/plugin/AdblockPlus.rc', |
| 89 'src/plugin/AdblockPlus.rgs', | 89 'src/plugin/AdblockPlus.rgs', |
| 90 'src/plugin/AdblockPlusClient.cpp', | 90 'src/plugin/AdblockPlusClient.cpp', |
| 91 'src/plugin/AdblockPlusClient.h', | 91 'src/plugin/AdblockPlusClient.h', |
| 92 'src/plugin/AdblockPlusDomTraverser.cpp', | 92 'src/plugin/AdblockPlusDomTraverser.cpp', |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 'src/plugin/PluginWbPassThrough.h', | 140 'src/plugin/PluginWbPassThrough.h', |
| 141 'src/plugin/ProtocolCF.h', | 141 'src/plugin/ProtocolCF.h', |
| 142 'src/plugin/ProtocolCF.inl', | 142 'src/plugin/ProtocolCF.inl', |
| 143 'src/plugin/ProtocolImpl.h', | 143 'src/plugin/ProtocolImpl.h', |
| 144 'src/plugin/ProtocolImpl.inl', | 144 'src/plugin/ProtocolImpl.inl', |
| 145 'src/plugin/Resource.h', | 145 'src/plugin/Resource.h', |
| 146 'src/plugin/SinkPolicy.h', | 146 'src/plugin/SinkPolicy.h', |
| 147 'src/plugin/SinkPolicy.inl', | 147 'src/plugin/SinkPolicy.inl', |
| 148 ], | 148 ], |
| 149 'include_dirs': [ | 149 'include_dirs': [ |
| 150 'libadblockplus/include', | |
| 151 '$(WindowsSDK_IncludePath)', | 150 '$(WindowsSDK_IncludePath)', |
| 152 '$(VCInstallDir)atlmfc/include', | 151 '$(VCInstallDir)atlmfc/include', |
| 153 '$(WINDDKDIR)/inc/atl71', | 152 '$(WINDDKDIR)/inc/atl71', |
| 154 ], | 153 ], |
| 155 # 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 |
| 156 # That Is Brought into a Process" on the link here: | 155 # That Is Brought into a Process" on the link here: |
| 157 # 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 |
| 158 'defines': ['ISOLATION_AWARE_ENABLED'], | 157 'defines': ['ISOLATION_AWARE_ENABLED'], |
| 159 'libraries': [ | 158 'libraries': [ |
| 160 '-lwinhttp', | 159 '-lwinhttp', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 { | 203 { |
| 205 'target_name': 'tests', | 204 'target_name': 'tests', |
| 206 'type': 'executable', | 205 'type': 'executable', |
| 207 'dependencies': [ | 206 'dependencies': [ |
| 208 'shared', | 207 'shared', |
| 209 'libadblockplus/third_party/googletest.gyp:googletest_main', | 208 'libadblockplus/third_party/googletest.gyp:googletest_main', |
| 210 ], | 209 ], |
| 211 'sources': [ | 210 'sources': [ |
| 212 'test/CommunicationTest.cpp', | 211 'test/CommunicationTest.cpp', |
| 213 'test/DictionaryTest.cpp', | 212 'test/DictionaryTest.cpp', |
| 213 'test/RegistryTest.cpp', |
| 214 'test/UtilTest.cpp', |
| 214 ], | 215 ], |
| 215 'defines': ['WINVER=0x0501'], | 216 'defines': ['WINVER=0x0501'], |
| 216 'link_settings': { | 217 'link_settings': { |
| 217 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], | 218 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], |
| 218 }, | 219 }, |
| 219 'msvs_settings': { | 220 'msvs_settings': { |
| 220 'VCLinkerTool': { | 221 'VCLinkerTool': { |
| 221 'SubSystem': '1', # Console | 222 'SubSystem': '1', # Console |
| 222 'EntryPointSymbol': 'mainCRTStartup', | 223 'EntryPointSymbol': 'mainCRTStartup', |
| 223 }, | 224 }, |
| 224 }, | 225 }, |
| 226 }, |
| 227 |
| 228 { |
| 229 'target_name': 'tests_plugin', |
| 230 'type': 'executable', |
| 231 'dependencies': [ |
| 232 'shared', |
| 233 'libadblockplus/libadblockplus.gyp:libadblockplus', |
| 234 'libadblockplus/third_party/googletest.gyp:googletest_main', |
| 235 ], |
| 236 'sources': [ |
| 237 'src/plugin/PluginUserSettings.cpp', |
| 238 'src/plugin/PluginUserSettings.h', |
| 239 'test/plugin/UserSettingsTest.cpp', |
| 240 # |
| 241 # required only for linking |
| 242 # |
| 243 'src/plugin/AdblockPlusClient.cpp', |
| 244 'src/plugin/AdblockPlusDomTraverser.cpp', |
| 245 'src/plugin/AdblockPlusTab.cpp', |
| 246 'src/plugin/ATL_Deprecate.cpp', |
| 247 'src/plugin/NotificationMessage.cpp', |
| 248 'src/plugin/Plugin.cpp', |
| 249 'src/plugin/PluginClientBase.cpp', |
| 250 'src/plugin/PluginClientFactory.cpp', |
| 251 'src/plugin/PluginClass.cpp', |
| 252 'src/plugin/PluginDebug.cpp', |
| 253 'src/plugin/PluginFilter.cpp', |
| 254 'src/plugin/PluginMimeFilterClient.cpp', |
| 255 'src/plugin/PluginMutex.cpp', |
| 256 'src/plugin/PluginSettings.cpp', |
| 257 'src/plugin/PluginSystem.cpp', |
| 258 'src/plugin/PluginTabBase.cpp', |
| 259 'src/plugin/PluginUtil.cpp', |
| 260 'src/plugin/PluginWbPassthrough.cpp', |
| 261 ], |
| 262 'include_dirs': [ |
| 263 '$(WINDDKDIR)/inc/atl71', |
| 264 ], |
| 265 'defines': [ |
| 266 'WINVER=0x0501', |
| 267 'PRODUCT_ADBLOCKPLUS' |
| 268 ], |
| 269 'link_settings': { |
| 270 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-lComctl32', '-lGdi32
'], |
| 271 }, |
| 272 'msvs_settings': { |
| 273 'VCLinkerTool': { |
| 274 'SubSystem': '1', # Console |
| 275 'EntryPointSymbol': 'mainCRTStartup', |
| 276 'conditions': [[ |
| 277 'target_arch=="ia32"', { |
| 278 'AdditionalLibraryDirectories': [ |
| 279 '$(VCInstallDir)atlmfc/lib', |
| 280 '$(WindowsSDK_LibraryPath_x86)', |
| 281 '$(WINDDKDIR)/lib/ATL/i386', |
| 282 ], |
| 283 }, { |
| 284 'AdditionalLibraryDirectories': [ |
| 285 '$(VCInstallDir)atlmfc/lib/amd64', |
| 286 '$(WindowsSDK_LibraryPath_x64)', |
| 287 '$(WINDDKDIR)/lib/ATL/amd64', |
| 288 ], |
| 289 } |
| 290 ]], |
| 291 }, |
| 292 }, |
| 293 'configurations': { |
| 294 # 'libraries' is not allowed under 'configurations' :-( |
| 295 'Debug': { |
| 296 'msvs_settings': { |
| 297 'VCLinkerTool': { |
| 298 'AdditionalDependencies': ['atlsd.lib'], |
| 299 }, |
| 300 }, |
| 301 }, |
| 302 'Release': { |
| 303 'msvs_settings': { |
| 304 'VCLinkerTool': { |
| 305 'AdditionalDependencies': ['atls.lib'], |
| 306 }, |
| 307 }, |
| 308 }, |
| 309 }, |
| 225 }] | 310 }] |
| 226 } | 311 } |
| LEFT | RIGHT |