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

Side by Side Diff: adblockplus.gyp

Issue 5750789393874944: [IE] First round of ATL removal (Closed)
Patch Set: Created June 20, 2014, 9:22 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 'shared_files': [ 7 'shared_files': [
8 'src/shared/AutoHandle.cpp', 8 'src/shared/AutoHandle.cpp',
9 'src/shared/Communication.cpp', 9 'src/shared/Communication.cpp',
10 'src/shared/Dictionary.cpp', 10 'src/shared/Dictionary.cpp',
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }, 65 },
66 }, 66 },
67 67
68 { 68 {
69 'target_name': 'AdblockPlus', 69 'target_name': 'AdblockPlus',
70 'type': 'shared_library', 70 'type': 'shared_library',
71 'sources': [ 71 'sources': [
72 'src/plugin/AdblockPlusClient.cpp', 72 'src/plugin/AdblockPlusClient.cpp',
73 'src/plugin/AdblockPlusDomTraverser.cpp', 73 'src/plugin/AdblockPlusDomTraverser.cpp',
74 'src/plugin/AdblockPlusTab.cpp', 74 'src/plugin/AdblockPlusTab.cpp',
75 'src/plugin/ATL_Deprecate.h',
76 'src/plugin/COM_Client.cpp',
77 'src/plugin/COM_Client.h',
75 'src/plugin/NotificationMessage.cpp', 78 'src/plugin/NotificationMessage.cpp',
76 'src/plugin/Plugin.cpp', 79 'src/plugin/Plugin.cpp',
77 'src/plugin/PluginClass.cpp', 80 'src/plugin/PluginClass.cpp',
78 'src/plugin/PluginClientBase.cpp', 81 'src/plugin/PluginClientBase.cpp',
79 'src/plugin/PluginClientFactory.cpp', 82 'src/plugin/PluginClientFactory.cpp',
80 'src/plugin/PluginDebug.cpp', 83 'src/plugin/PluginDebug.cpp',
81 'src/plugin/PluginFilter.cpp', 84 'src/plugin/PluginFilter.cpp',
82 'src/plugin/PluginMimeFilterClient.cpp', 85 'src/plugin/PluginMimeFilterClient.cpp',
83 'src/plugin/PluginMutex.cpp', 86 'src/plugin/PluginMutex.cpp',
84 'src/plugin/PluginSettings.cpp', 87 'src/plugin/PluginSettings.cpp',
85 'src/plugin/PluginStdAfx.cpp', 88 'src/plugin/PluginStdAfx.cpp',
86 'src/plugin/PluginSystem.cpp', 89 'src/plugin/PluginSystem.cpp',
87 'src/plugin/PluginTabBase.cpp', 90 'src/plugin/PluginTabBase.cpp',
88 'src/plugin/PluginUserSettings.cpp', 91 'src/plugin/PluginUserSettings.cpp',
89 'src/plugin/PluginUtil.cpp', 92 'src/plugin/PluginUtil.cpp',
90 'src/plugin/PluginWbPassThrough.cpp', 93 'src/plugin/PluginWbPassThrough.cpp',
94 'src/plugin/Wrapper.h',
95 'src/plugin/Wrapper.cpp',
91 'src/plugin/AdblockPlus.def', 96 'src/plugin/AdblockPlus.def',
92 'src/plugin/AdblockPlus.idl', 97 'src/plugin/AdblockPlus.idl',
93 'src/plugin/AdblockPlus.rc', 98 'src/plugin/AdblockPlus.rc',
94 'src/plugin/AdblockPlus.rgs', 99 'src/plugin/AdblockPlus.rgs',
95 '<@(shared_files)', 100 '<@(shared_files)',
96 ], 101 ],
97 'include_dirs': [ 102 'include_dirs': [
98 '$(WindowsSDK_IncludePath)', 103 '$(WindowsSDK_IncludePath)',
99 '$(VCInstallDir)atlmfc/include', 104 '$(VCInstallDir)atlmfc/include',
100 '$(WINDDKDIR)/inc/atl71', 105 '$(WINDDKDIR)/inc/atl71',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 155
151 { 156 {
152 'target_name': 'tests', 157 'target_name': 'tests',
153 'type': 'executable', 158 'type': 'executable',
154 'dependencies': [ 159 'dependencies': [
155 'libadblockplus/third_party/googletest.gyp:googletest_main', 160 'libadblockplus/third_party/googletest.gyp:googletest_main',
156 ], 161 ],
157 'sources': [ 162 'sources': [
158 'test/CommunicationTest.cpp', 163 'test/CommunicationTest.cpp',
159 'test/DictionaryTest.cpp', 164 'test/DictionaryTest.cpp',
165 'test/Util_Test.cpp',
166 'test/Wrapper_Test.cpp',
167 'src/plugin/PluginDebug.cpp',
168 'src/plugin/PluginDebug.h',
169 'src/plugin/PluginUtil.cpp',
170 'src/plugin/PluginUtil.h',
171 'src/plugin/Wrapper.h',
172 'src/plugin/Wrapper.cpp',
160 '<@(shared_files)', 173 '<@(shared_files)',
161 ], 174 ],
162 'defines': ['WINVER=0x0501'], 175 'defines': ['WINVER=0x0501'],
176 'include_dirs': [
177 '$(WindowsSDK_IncludePath)',
178 '$(VCInstallDir)atlmfc/include',
179 '$(WINDDKDIR)/inc/atl71',
180 ],
163 'link_settings': { 181 'link_settings': {
164 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], 182 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-lShlwapi' ],
183 },
184 'configurations': {
185 # 'libraries' is not allowed under 'configurations' :-(
186 'Debug': {
187 'msvs_settings': {
188 'VCLinkerTool': {
189 'AdditionalDependencies': ['atlsd.lib'],
190 },
191 },
192 },
193 'Release': {
194 'msvs_settings': {
195 'VCLinkerTool': {
196 'AdditionalDependencies': ['atls.lib'],
197 },
198 },
199 },
165 }, 200 },
166 'msvs_settings': { 201 'msvs_settings': {
167 'VCLinkerTool': { 202 'VCLinkerTool': {
168 'SubSystem': '1', # Console 203 'SubSystem': '1', # Console
169 'EntryPointSymbol': 'mainCRTStartup', 204 'EntryPointSymbol': 'mainCRTStartup',
205 'conditions': [[
206 'target_arch=="ia32"', {
207 'AdditionalLibraryDirectories': [
208 '$(VCInstallDir)atlmfc/lib',
209 '$(WindowsSDK_LibraryPath_x86)',
210 '$(WINDDKDIR)/lib/ATL/i386',
211 ],
212 }, {
213 'AdditionalLibraryDirectories': [
214 '$(VCInstallDir)atlmfc/lib/amd64',
215 '$(WindowsSDK_LibraryPath_x64)',
216 '$(WINDDKDIR)/lib/ATL/amd64',
217 ],
218 }
219 ]],
170 }, 220 },
171 }, 221 },
172 }] 222 }]
173 } 223 }
OLDNEW
« no previous file with comments | « Doxyfile ('k') | doc/mainpage.dox » ('j') | src/plugin/AdblockPlusClient.h » ('J')

Powered by Google App Engine
This is Rietveld