Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblockplus.gyp

Issue 5750789393874944: [IE] First round of ATL removal (Closed)
Patch Set: Created June 20, 2014, 9:22 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doxyfile ('k') | doc/mainpage.dox » ('j') | src/plugin/AdblockPlusClient.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: adblockplus.gyp
===================================================================
--- a/adblockplus.gyp
+++ b/adblockplus.gyp
@@ -72,6 +72,9 @@
'src/plugin/AdblockPlusClient.cpp',
'src/plugin/AdblockPlusDomTraverser.cpp',
'src/plugin/AdblockPlusTab.cpp',
+ 'src/plugin/ATL_Deprecate.h',
+ 'src/plugin/COM_Client.cpp',
+ 'src/plugin/COM_Client.h',
'src/plugin/NotificationMessage.cpp',
'src/plugin/Plugin.cpp',
'src/plugin/PluginClass.cpp',
@@ -88,6 +91,8 @@
'src/plugin/PluginUserSettings.cpp',
'src/plugin/PluginUtil.cpp',
'src/plugin/PluginWbPassThrough.cpp',
+ 'src/plugin/Wrapper.h',
+ 'src/plugin/Wrapper.cpp',
'src/plugin/AdblockPlus.def',
'src/plugin/AdblockPlus.idl',
'src/plugin/AdblockPlus.rc',
@@ -157,16 +162,61 @@
'sources': [
'test/CommunicationTest.cpp',
'test/DictionaryTest.cpp',
+ 'test/Util_Test.cpp',
+ 'test/Wrapper_Test.cpp',
+ 'src/plugin/PluginDebug.cpp',
+ 'src/plugin/PluginDebug.h',
+ 'src/plugin/PluginUtil.cpp',
+ 'src/plugin/PluginUtil.h',
+ 'src/plugin/Wrapper.h',
+ 'src/plugin/Wrapper.cpp',
'<@(shared_files)',
],
'defines': ['WINVER=0x0501'],
+ 'include_dirs': [
+ '$(WindowsSDK_IncludePath)',
+ '$(VCInstallDir)atlmfc/include',
+ '$(WINDDKDIR)/inc/atl71',
+ ],
'link_settings': {
- 'libraries': ['-ladvapi32', '-lshell32', '-lole32'],
+ 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-lShlwapi' ],
+ },
+ 'configurations': {
+ # 'libraries' is not allowed under 'configurations' :-(
+ 'Debug': {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalDependencies': ['atlsd.lib'],
+ },
+ },
+ },
+ 'Release': {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalDependencies': ['atls.lib'],
+ },
+ },
+ },
},
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': '1', # Console
'EntryPointSymbol': 'mainCRTStartup',
+ 'conditions': [[
+ 'target_arch=="ia32"', {
+ 'AdditionalLibraryDirectories': [
+ '$(VCInstallDir)atlmfc/lib',
+ '$(WindowsSDK_LibraryPath_x86)',
+ '$(WINDDKDIR)/lib/ATL/i386',
+ ],
+ }, {
+ 'AdditionalLibraryDirectories': [
+ '$(VCInstallDir)atlmfc/lib/amd64',
+ '$(WindowsSDK_LibraryPath_x64)',
+ '$(WINDDKDIR)/lib/ATL/amd64',
+ ],
+ }
+ ]],
},
},
}]
« no previous file with comments | « Doxyfile ('k') | doc/mainpage.dox » ('j') | src/plugin/AdblockPlusClient.h » ('J')

Powered by Google App Engine
This is Rietveld