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

Delta Between Two Patch Sets: adblockplus.gyp

Issue 6567422169448448: Issue 119 - Switch to injecting CSS for element hiding (Closed)
Left Patch Set: Created Dec. 10, 2014, 5:12 p.m.
Right Patch Set: rename OnQuit Created Sept. 30, 2016, 3:25 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | dependencies » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 { 1 {
2 'includes': ['defaults.gypi'], 2 'includes': [
3 'defaults.gypi',
4 'common/common.gypi',
5 ],
3 6
4 'variables': { 7 'variables': {
5 'build_type%': 'devbuild', 8 'build_type%': 'devbuild',
6 'build_version%': '', 9 'build_version%': '',
7 }, 10 },
8 11
9 'target_defaults': { 12 'target_defaults': {
10 'conditions': [ 13 'conditions': [
11 [ 14 [
12 'build_type=="devbuild"', 15 'build_type=="devbuild"',
(...skipping 13 matching lines...) Expand all
26 'VERSIONINFO_VERSION_STR=\\"<(build_version).0\\"', 29 'VERSIONINFO_VERSION_STR=\\"<(build_version).0\\"',
27 ], 30 ],
28 } 31 }
29 ], 32 ],
30 ], 33 ],
31 }, 34 },
32 35
33 'targets': [{ 36 'targets': [{
34 'target_name': 'shared', 37 'target_name': 'shared',
35 'type': 'static_library', 38 'type': 'static_library',
39 'dependencies': [
40 'common',
41 ],
36 'sources': [ 42 'sources': [
37 'src/shared/AutoHandle.cpp', 43 'src/shared/AutoHandle.cpp',
44 'src/shared/AutoHandle.h',
38 'src/shared/Communication.cpp', 45 'src/shared/Communication.cpp',
46 'src/shared/Communication.h',
47 'src/shared/CriticalSection.h',
39 'src/shared/Dictionary.cpp', 48 'src/shared/Dictionary.cpp',
49 'src/shared/Dictionary.h',
50 'src/shared/EventWithSetter.cpp',
51 'src/shared/EventWithSetter.h',
40 'src/shared/Utils.cpp', 52 'src/shared/Utils.cpp',
41 ] 53 'src/shared/Utils.h',
42 }, 54 'src/shared/Version.h',
43 55 'src/shared/MsHTMLUtils.cpp',
56 'src/shared/MsHTMLUtils.h',
57 ],
58 'include_dirs': [
59 '$(ADBLOCKPLUS_ATL)/include',
60 ],
61 },
62
44 { 63 {
45 'target_name': 'AdblockPlusEngine', 64 'target_name': 'AdblockPlusEngine',
46 'type': 'executable', 65 'type': 'executable',
47 'dependencies': [ 66 'dependencies': [
48 'shared', 67 'shared',
49 'libadblockplus/libadblockplus.gyp:libadblockplus', 68 'libadblockplus/libadblockplus.gyp:libadblockplus',
50 ], 69 ],
51 'sources': [ 70 'sources': [
52 'src/engine/Main.cpp', 71 'src/engine/Main.cpp',
72 'src/engine/NotificationWindow.cpp',
73 'src/engine/NotificationWindow.h',
53 'src/engine/Debug.cpp', 74 'src/engine/Debug.cpp',
54 'src/engine/UpdateInstallDialog.cpp', 75 'src/engine/UpdateInstallDialog.cpp',
55 'src/engine/Updater.cpp', 76 'src/engine/Updater.cpp',
56 'src/engine/engine.rc', 77 'src/engine/engine.rc',
78 ],
79 'include_dirs': [
80 '$(ADBLOCKPLUS_ATL)/include',
57 ], 81 ],
58 'libraries': [ 82 'libraries': [
59 '-ladvapi32', 83 '-ladvapi32',
60 '-lole32', 84 '-lole32',
61 '-luser32', 85 '-luser32',
62 '-lshell32', 86 '-lshell32',
63 '-lshlwapi', 87 '-lshlwapi',
64 ], 88 ],
65 'msbuild_toolset': 'v110_xp', 89 'msbuild_toolset': 'v110_xp',
66 'msvs_settings': { 90 'msvs_settings': {
67 'VCLinkerTool': { 91 'VCLinkerTool': {
68 'DelayLoadDLLs': ['Shell32.dll'], 92 'DelayLoadDLLs': ['Shell32.dll'],
93 'conditions': [[
94 'target_arch=="ia32"', {
95 'AdditionalLibraryDirectories': [
96 '$(ADBLOCKPLUS_ATL)/lib',
97 ],
98 }, {
99 'AdditionalLibraryDirectories': [
100 '$(ADBLOCKPLUS_ATL)/lib/amd64',
101 ],
102 }
103 ]],
69 }, 104 },
70 }, 105 },
71 }, 106 },
72 107
73 { 108 {
74 'target_name': 'AdblockPlus', 109 'target_name': 'AdblockPlus',
75 'type': 'shared_library', 110 'type': 'shared_library',
76 'dependencies': [ 111 'dependencies': [
77 'shared' 112 'shared',
78 ], 113 'libadblockplus/libadblockplus.gyp:libadblockplus',
79 'sources': [ 114 ],
80 'src/plugin/abp.h', 115 'sources': [
81 'src/plugin/AdblockPlus.def', 116 'src/plugin/AdblockPlus.def',
82 'src/plugin/AdblockPlus.idl', 117 'src/plugin/AdblockPlus.idl',
83 'src/plugin/AdblockPlus.rc', 118 'src/plugin/AdblockPlus.rc',
84 'src/plugin/AdblockPlus.rgs', 119 'src/plugin/AdblockPlus.rgs',
85 'src/plugin/AdblockPlusClient.cpp', 120 'src/plugin/AdblockPlusClient.cpp',
86 'src/plugin/AdblockPlusClient.h', 121 'src/plugin/AdblockPlusClient.h',
87 'src/plugin/AdblockPlusDomTraverser.cpp', 122 'src/plugin/AdblockPlusDomTraverser.cpp',
88 'src/plugin/AdblockPlusDomTraverser.h', 123 'src/plugin/AdblockPlusDomTraverser.h',
89 'src/plugin/AdblockPlusGuids.h', 124 'src/plugin/AdblockPlusGuids.h',
90 'src/plugin/AdblockPlusTab.cpp',
91 'src/plugin/AdblockPlusTab.h',
92 'src/plugin/ATL_Deprecate.cpp', 125 'src/plugin/ATL_Deprecate.cpp',
93 'src/plugin/ATL_Deprecate.h', 126 'src/plugin/ATL_Deprecate.h',
94 'src/plugin/BuildVariant.h',
95 'src/plugin/Config.h', 127 'src/plugin/Config.h',
96 'src/plugin/Console.h',
97 'src/plugin/NotificationMessage.cpp', 128 'src/plugin/NotificationMessage.cpp',
98 'src/plugin/NotificationMessage.h', 129 'src/plugin/NotificationMessage.h',
99 'src/plugin/Plugin.cpp', 130 'src/plugin/Plugin.cpp',
100 'src/plugin/Plugin.h', 131 'src/plugin/Plugin.h',
101 'src/plugin/PluginClass.cpp', 132 'src/plugin/PluginClass.cpp',
102 'src/plugin/PluginClass.h', 133 'src/plugin/PluginClass.h',
103 'src/plugin/PluginClient.h',
104 'src/plugin/PluginClientBase.cpp', 134 'src/plugin/PluginClientBase.cpp',
105 'src/plugin/PluginClientBase.h', 135 'src/plugin/PluginClientBase.h',
106 'src/plugin/PluginClientFactory.cpp', 136 'src/plugin/PluginClientFactory.cpp',
107 'src/plugin/PluginClientFactory.h', 137 'src/plugin/PluginClientFactory.h',
108 'src/plugin/PluginDebug.cpp', 138 'src/plugin/PluginDebug.cpp',
109 'src/plugin/PluginDebug.h', 139 'src/plugin/PluginDebug.h',
110 'src/plugin/PluginDebugMacros.h',
111 'src/plugin/PluginDomTraverserBase.h', 140 'src/plugin/PluginDomTraverserBase.h',
112 'src/plugin/PluginErrorCodes.h', 141 'src/plugin/PluginErrorCodes.h',
113 'src/plugin/PluginFilter.cpp', 142 'src/plugin/PluginFilter.cpp',
114 'src/plugin/PluginFilter.h', 143 'src/plugin/PluginFilter.h',
115 'src/plugin/PluginMimeFilterClient.cpp', 144 'src/plugin/PluginMimeFilterClient.cpp',
116 'src/plugin/PluginMimeFilterClient.h', 145 'src/plugin/PluginMimeFilterClient.h',
117 'src/plugin/PluginMutex.cpp', 146 'src/plugin/PluginMutex.cpp',
118 'src/plugin/PluginMutex.h', 147 'src/plugin/PluginMutex.h',
119 'src/plugin/PluginPassthroughObject.h',
120 'src/plugin/PluginSettings.cpp', 148 'src/plugin/PluginSettings.cpp',
121 'src/plugin/PluginSettings.h', 149 'src/plugin/PluginSettings.h',
122 'src/plugin/PluginStdAfx.cpp', 150 'src/plugin/PluginStdAfx.cpp',
123 'src/plugin/PluginStdAfx.h', 151 'src/plugin/PluginStdAfx.h',
124 'src/plugin/PluginSystem.cpp', 152 'src/plugin/PluginSystem.cpp',
125 'src/plugin/PluginSystem.h', 153 'src/plugin/PluginSystem.h',
126 'src/plugin/PluginTab.h',
127 'src/plugin/PluginTabBase.cpp', 154 'src/plugin/PluginTabBase.cpp',
128 'src/plugin/PluginTabBase.h', 155 'src/plugin/PluginTabBase.h',
129 'src/plugin/PluginTypedef.h',
130 'src/plugin/PluginUserSettings.cpp', 156 'src/plugin/PluginUserSettings.cpp',
131 'src/plugin/PluginUserSettings.h', 157 'src/plugin/PluginUserSettings.h',
132 'src/plugin/PluginUtil.cpp', 158 'src/plugin/PluginUtil.cpp',
133 'src/plugin/PluginUtil.h', 159 'src/plugin/PluginUtil.h',
134 'src/plugin/PluginWbPassThrough.cpp', 160 'src/plugin/PluginWbPassThrough.cpp',
135 'src/plugin/PluginWbPassThrough.h', 161 'src/plugin/PluginWbPassThrough.h',
136 'src/plugin/ProtocolCF.h',
137 'src/plugin/ProtocolCF.inl',
138 'src/plugin/ProtocolImpl.h',
139 'src/plugin/ProtocolImpl.inl',
140 'src/plugin/Resource.h', 162 'src/plugin/Resource.h',
141 'src/plugin/SinkPolicy.h',
142 'src/plugin/SinkPolicy.inl',
143 'src/plugin/WebBrowserEventsListener.h', 163 'src/plugin/WebBrowserEventsListener.h',
144 'src/plugin/WebBrowserEventsListener.cpp', 164 'src/plugin/WebBrowserEventsListener.cpp',
145 ], 165 'src/plugin/passthroughapp/PassthroughObject.h',
146 'include_dirs': [ 166 'src/plugin/passthroughapp/ProtocolCF.h',
147 '$(WindowsSDK_IncludePath)', 167 'src/plugin/passthroughapp/ProtocolCF.inl',
148 '$(VCInstallDir)atlmfc/include', 168 'src/plugin/passthroughapp/ProtocolImpl.h',
149 '$(WINDDKDIR)/inc/atl71', 169 'src/plugin/passthroughapp/ProtocolImpl.inl',
170 'src/plugin/passthroughapp/SinkPolicy.h',
171 'src/plugin/passthroughapp/SinkPolicy.inl',
172 ],
173 'include_dirs': [
174 '$(ADBLOCKPLUS_ATL)/include',
150 ], 175 ],
151 # See "Adding Visual Style Support to an Extension, Plug-in, MMC Snap-in or a DLL 176 # See "Adding Visual Style Support to an Extension, Plug-in, MMC Snap-in or a DLL
152 # That Is Brought into a Process" on the link here: 177 # That Is Brought into a Process" on the link here:
153 # http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85 %29.aspx#using_manifests 178 # http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85 %29.aspx#using_manifests
154 'defines': ['ISOLATION_AWARE_ENABLED'], 179 'defines': ['ISOLATION_AWARE_ENABLED'],
155 'libraries': [ 180 'libraries': [
156 '-lwinhttp', 181 '-lwinhttp',
157 '-lshell32', 182 '-lshell32',
158 '-lComctl32', 183 '-lComctl32',
159 '-lGdi32', 184 '-lGdi32',
160 ], 185 ],
161 'configurations': {
162 # 'libraries' is not allowed under 'configurations' :-(
163 'Debug': {
164 'msvs_settings': {
165 'VCLinkerTool': {
166 'AdditionalDependencies': ['atlsd.lib'],
167 },
168 },
169 },
170 'Release': {
171 'msvs_settings': {
172 'VCLinkerTool': {
173 'AdditionalDependencies': ['atls.lib'],
174 },
175 },
176 },
177 },
178 'msvs_settings': { 186 'msvs_settings': {
179 'VCLinkerTool': { 187 'VCLinkerTool': {
180 'conditions': [[ 188 'conditions': [[
181 'target_arch=="ia32"', { 189 'target_arch=="ia32"', {
182 'AdditionalLibraryDirectories': [ 190 'AdditionalLibraryDirectories': [
183 '$(VCInstallDir)atlmfc/lib', 191 '$(ADBLOCKPLUS_ATL)/lib',
184 '$(WindowsSDK_LibraryPath_x86)',
185 '$(WINDDKDIR)/lib/ATL/i386',
186 ], 192 ],
187 }, { 193 }, {
188 'AdditionalLibraryDirectories': [ 194 'AdditionalLibraryDirectories': [
189 '$(VCInstallDir)atlmfc/lib/amd64', 195 '$(ADBLOCKPLUS_ATL)/lib/amd64',
190 '$(WindowsSDK_LibraryPath_x64)',
191 '$(WINDDKDIR)/lib/ATL/amd64',
192 ], 196 ],
193 } 197 }
194 ]], 198 ]],
195 'DelayLoadDLLs': ['Shell32.dll'], 199 'DelayLoadDLLs': ['Shell32.dll'],
196 }, 200 },
197 }, 201 },
198 }, 202 },
199 203
200 { 204 {
201 'target_name': 'tests', 205 'target_name': 'tests',
202 'type': 'executable', 206 'type': 'executable',
203 'dependencies': [ 207 'dependencies': [
204 'shared', 208 'shared',
205 'libadblockplus/third_party/googletest.gyp:googletest_main', 209 'libadblockplus/third_party/googletest.gyp:googletest_main',
206 ], 210 ],
207 'sources': [ 211 'sources': [
208 'test/CommunicationTest.cpp', 212 'test/CommunicationTest.cpp',
209 'test/DictionaryTest.cpp', 213 'test/DictionaryTest.cpp',
214 'test/UtilTest.cpp',
215 'test/UtilGetQueryStringTest.cpp',
216 'test/UtilGetSchemeAndHierarchicalPartTest.cpp',
210 ], 217 ],
211 'defines': ['WINVER=0x0501'], 218 'defines': ['WINVER=0x0501'],
212 'link_settings': { 219 'link_settings': {
213 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], 220 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-loleaut32'],
214 }, 221 },
215 'msvs_settings': { 222 'msvs_settings': {
216 'VCLinkerTool': { 223 'VCLinkerTool': {
217 'SubSystem': '1', # Console 224 'SubSystem': '1', # Console
218 'EntryPointSymbol': 'mainCRTStartup', 225 'EntryPointSymbol': 'mainCRTStartup',
226 },
227 },
228 },
229
230 {
231 'target_name': 'tests_plugin',
232 'type': 'executable',
233 'dependencies': [
234 'shared',
235 'libadblockplus/libadblockplus.gyp:libadblockplus',
236 'libadblockplus/third_party/googletest.gyp:googletest_main',
237 ],
238 'sources': [
239 'src/plugin/PluginDebug.cpp',
240 'test/plugin/DebugTest.cpp',
241 'src/plugin/PluginUserSettings.cpp',
242 'src/plugin/PluginUserSettings.h',
243 'test/plugin/UserSettingsTest.cpp',
244 'src/plugin/PluginUtil.h',
245 'test/plugin/UtilTest.cpp',
246 #
247 # required only for linking
248 #
249 'src/plugin/AdblockPlusClient.cpp',
250 'src/plugin/AdblockPlusDomTraverser.cpp',
251 'src/plugin/ATL_Deprecate.cpp',
252 'src/plugin/NotificationMessage.cpp',
253 'src/plugin/Plugin.cpp',
254 'src/plugin/PluginClientBase.cpp',
255 'src/plugin/PluginClientFactory.cpp',
256 'src/plugin/PluginClass.cpp',
257 'src/plugin/PluginFilter.cpp',
258 'src/plugin/PluginMimeFilterClient.cpp',
259 'src/plugin/PluginMutex.cpp',
260 'src/plugin/PluginSettings.cpp',
261 'src/plugin/PluginSystem.cpp',
262 'src/plugin/PluginTabBase.cpp',
263 'src/plugin/PluginUtil.cpp',
264 'src/plugin/PluginWbPassthrough.cpp',
265 'src/plugin/WebBrowserEventsListener.h',
266 'src/plugin/WebBrowserEventsListener.cpp',
267 ],
268 'include_dirs': [
269 '$(ADBLOCKPLUS_ATL)/include',
270 ],
271 'defines': [
272 'WINVER=0x0501',
273 'PRODUCT_ADBLOCKPLUS'
274 ],
275 'link_settings': {
276 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-lComctl32', '-lGdi32 '],
277 },
278 'msvs_settings': {
279 'VCLinkerTool': {
280 'SubSystem': '1', # Console
281 'EntryPointSymbol': 'mainCRTStartup',
282 'conditions': [[
283 'target_arch=="ia32"', {
284 'AdditionalLibraryDirectories': [
285 '$(ADBLOCKPLUS_ATL)/lib',
286 ],
287 }, {
288 'AdditionalLibraryDirectories': [
289 '$(ADBLOCKPLUS_ATL)/lib/amd64',
290 ],
291 }
292 ]],
219 }, 293 },
220 }, 294 },
221 }] 295 }]
222 } 296 }
LEFTRIGHT
« no previous file | dependencies » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld