LEFT | RIGHT |
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 Loading... |
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', |
40 'src/shared/Utils.cpp', | 50 'src/shared/Utils.cpp', |
41 'src/shared/Registry.h', | 51 'src/shared/Utils.h', |
42 'src/shared/Registry.cpp', | 52 'src/shared/Version.h', |
43 'src/shared/IE_version.h', | 53 'src/shared/MsHTMLUtils.cpp', |
44 'src/shared/IE_version.cpp', | 54 'src/shared/MsHTMLUtils.h', |
45 ] | 55 ] |
46 }, | 56 }, |
47 | 57 |
48 { | 58 { |
49 'target_name': 'AdblockPlusEngine', | 59 'target_name': 'AdblockPlusEngine', |
50 'type': 'executable', | 60 'type': 'executable', |
51 'dependencies': [ | 61 'dependencies': [ |
52 'shared', | 62 'shared', |
53 'libadblockplus/libadblockplus.gyp:libadblockplus', | 63 'libadblockplus/libadblockplus.gyp:libadblockplus', |
54 ], | 64 ], |
55 'sources': [ | 65 'sources': [ |
56 'src/engine/Main.cpp', | 66 'src/engine/Main.cpp', |
| 67 'src/engine/NotificationWindow.cpp', |
| 68 'src/engine/NotificationWindow.h', |
57 'src/engine/Debug.cpp', | 69 'src/engine/Debug.cpp', |
58 'src/engine/UpdateInstallDialog.cpp', | 70 'src/engine/UpdateInstallDialog.cpp', |
59 'src/engine/Updater.cpp', | 71 'src/engine/Updater.cpp', |
60 'src/engine/engine.rc', | 72 'src/engine/engine.rc', |
61 ], | 73 ], |
62 'libraries': [ | 74 'libraries': [ |
63 '-ladvapi32', | 75 '-ladvapi32', |
64 '-lole32', | 76 '-lole32', |
65 '-luser32', | 77 '-luser32', |
66 '-lshell32', | 78 '-lshell32', |
67 '-lshlwapi', | 79 '-lshlwapi', |
68 ], | 80 ], |
69 'msbuild_toolset': 'v110_xp', | 81 'msbuild_toolset': 'v110_xp', |
70 'msvs_settings': { | 82 'msvs_settings': { |
71 'VCLinkerTool': { | 83 'VCLinkerTool': { |
72 'DelayLoadDLLs': ['Shell32.dll'], | 84 'DelayLoadDLLs': ['Shell32.dll'], |
73 }, | 85 }, |
74 }, | 86 }, |
75 }, | 87 }, |
76 | 88 |
77 { | 89 { |
78 'target_name': 'AdblockPlus', | 90 'target_name': 'AdblockPlus', |
79 'type': 'shared_library', | 91 'type': 'shared_library', |
80 'dependencies': [ | 92 'dependencies': [ |
81 'shared', | 93 'shared', |
82 'libadblockplus/libadblockplus.gyp:libadblockplus', | 94 'libadblockplus/libadblockplus.gyp:libadblockplus', |
83 ], | 95 ], |
84 'sources': [ | 96 'sources': [ |
85 'src/plugin/abp.h', | |
86 'src/plugin/AdblockPlus.def', | 97 'src/plugin/AdblockPlus.def', |
87 'src/plugin/AdblockPlus.idl', | 98 'src/plugin/AdblockPlus.idl', |
88 'src/plugin/AdblockPlus.rc', | 99 'src/plugin/AdblockPlus.rc', |
89 'src/plugin/AdblockPlus.rgs', | 100 'src/plugin/AdblockPlus.rgs', |
90 'src/plugin/AdblockPlusClient.cpp', | 101 'src/plugin/AdblockPlusClient.cpp', |
91 'src/plugin/AdblockPlusClient.h', | 102 'src/plugin/AdblockPlusClient.h', |
92 'src/plugin/AdblockPlusDomTraverser.cpp', | 103 'src/plugin/AdblockPlusDomTraverser.cpp', |
93 'src/plugin/AdblockPlusDomTraverser.h', | 104 'src/plugin/AdblockPlusDomTraverser.h', |
94 'src/plugin/AdblockPlusGuids.h', | 105 'src/plugin/AdblockPlusGuids.h', |
95 'src/plugin/ATL_Deprecate.cpp', | 106 'src/plugin/ATL_Deprecate.cpp', |
96 'src/plugin/ATL_Deprecate.h', | 107 'src/plugin/ATL_Deprecate.h', |
97 'src/plugin/BuildVariant.h', | |
98 'src/plugin/Config.h', | 108 'src/plugin/Config.h', |
99 'src/plugin/NotificationMessage.cpp', | 109 'src/plugin/NotificationMessage.cpp', |
100 'src/plugin/NotificationMessage.h', | 110 'src/plugin/NotificationMessage.h', |
101 'src/plugin/Plugin.cpp', | 111 'src/plugin/Plugin.cpp', |
102 'src/plugin/Plugin.h', | 112 'src/plugin/Plugin.h', |
103 'src/plugin/PluginClass.cpp', | 113 'src/plugin/PluginClass.cpp', |
104 'src/plugin/PluginClass.h', | 114 'src/plugin/PluginClass.h', |
105 'src/plugin/PluginClient.h', | |
106 'src/plugin/PluginClientBase.cpp', | 115 'src/plugin/PluginClientBase.cpp', |
107 'src/plugin/PluginClientBase.h', | 116 'src/plugin/PluginClientBase.h', |
108 'src/plugin/PluginClientFactory.cpp', | 117 'src/plugin/PluginClientFactory.cpp', |
109 'src/plugin/PluginClientFactory.h', | 118 'src/plugin/PluginClientFactory.h', |
110 'src/plugin/PluginDebug.cpp', | 119 'src/plugin/PluginDebug.cpp', |
111 'src/plugin/PluginDebug.h', | 120 'src/plugin/PluginDebug.h', |
112 'src/plugin/PluginDomTraverserBase.h', | 121 'src/plugin/PluginDomTraverserBase.h', |
113 'src/plugin/PluginErrorCodes.h', | 122 'src/plugin/PluginErrorCodes.h', |
114 'src/plugin/PluginFilter.cpp', | 123 'src/plugin/PluginFilter.cpp', |
115 'src/plugin/PluginFilter.h', | 124 'src/plugin/PluginFilter.h', |
116 'src/plugin/PluginMimeFilterClient.cpp', | 125 'src/plugin/PluginMimeFilterClient.cpp', |
117 'src/plugin/PluginMimeFilterClient.h', | 126 'src/plugin/PluginMimeFilterClient.h', |
118 'src/plugin/PluginMutex.cpp', | 127 'src/plugin/PluginMutex.cpp', |
119 'src/plugin/PluginMutex.h', | 128 'src/plugin/PluginMutex.h', |
120 'src/plugin/PluginPassthroughObject.h', | 129 'src/plugin/PluginPassthroughObject.h', |
121 'src/plugin/PluginSettings.cpp', | 130 'src/plugin/PluginSettings.cpp', |
122 'src/plugin/PluginSettings.h', | 131 'src/plugin/PluginSettings.h', |
123 'src/plugin/PluginStdAfx.cpp', | 132 'src/plugin/PluginStdAfx.cpp', |
124 'src/plugin/PluginStdAfx.h', | 133 'src/plugin/PluginStdAfx.h', |
125 'src/plugin/PluginSystem.cpp', | 134 'src/plugin/PluginSystem.cpp', |
126 'src/plugin/PluginSystem.h', | 135 'src/plugin/PluginSystem.h', |
127 'src/plugin/PluginTabBase.cpp', | 136 'src/plugin/PluginTabBase.cpp', |
128 'src/plugin/PluginTabBase.h', | 137 'src/plugin/PluginTabBase.h', |
129 'src/plugin/PluginUserSettings.cpp', | 138 'src/plugin/PluginUserSettings.cpp', |
130 'src/plugin/PluginUserSettings.h', | 139 'src/plugin/PluginUserSettings.h', |
131 'src/plugin/PluginUtil.cpp', | 140 'src/plugin/PluginUtil.cpp', |
132 'src/plugin/PluginUtil.h', | 141 'src/plugin/PluginUtil.h', |
133 'src/plugin/PluginWbPassThrough.cpp', | 142 'src/plugin/PluginWbPassThrough.cpp', |
134 'src/plugin/PluginWbPassThrough.h', | 143 'src/plugin/PluginWbPassThrough.h', |
135 'src/plugin/ProtocolCF.h', | |
136 'src/plugin/ProtocolCF.inl', | |
137 'src/plugin/ProtocolImpl.h', | |
138 'src/plugin/ProtocolImpl.inl', | |
139 'src/plugin/Resource.h', | 144 'src/plugin/Resource.h', |
140 'src/plugin/SinkPolicy.h', | 145 'src/plugin/passthroughapp/ProtocolCF.h', |
141 'src/plugin/SinkPolicy.inl', | 146 'src/plugin/passthroughapp/ProtocolCF.inl', |
| 147 'src/plugin/passthroughapp/ProtocolImpl.h', |
| 148 'src/plugin/passthroughapp/ProtocolImpl.inl', |
| 149 'src/plugin/passthroughapp/SinkPolicy.h', |
| 150 'src/plugin/passthroughapp/SinkPolicy.inl', |
142 ], | 151 ], |
143 'include_dirs': [ | 152 'include_dirs': [ |
144 '$(WindowsSDK_IncludePath)', | 153 '$(WindowsSDK_IncludePath)', |
145 '$(VCInstallDir)atlmfc/include', | 154 '$(VCInstallDir)atlmfc/include', |
146 '$(WINDDKDIR)/inc/atl71', | 155 '$(WINDDKDIR)/inc/atl71', |
147 ], | 156 ], |
148 # See "Adding Visual Style Support to an Extension, Plug-in, MMC Snap-in or
a DLL | 157 # See "Adding Visual Style Support to an Extension, Plug-in, MMC Snap-in or
a DLL |
149 # That Is Brought into a Process" on the link here: | 158 # That Is Brought into a Process" on the link here: |
150 # http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85
%29.aspx#using_manifests | 159 # http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85
%29.aspx#using_manifests |
151 'defines': ['ISOLATION_AWARE_ENABLED'], | 160 'defines': ['ISOLATION_AWARE_ENABLED'], |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 { | 206 { |
198 'target_name': 'tests', | 207 'target_name': 'tests', |
199 'type': 'executable', | 208 'type': 'executable', |
200 'dependencies': [ | 209 'dependencies': [ |
201 'shared', | 210 'shared', |
202 'libadblockplus/third_party/googletest.gyp:googletest_main', | 211 'libadblockplus/third_party/googletest.gyp:googletest_main', |
203 ], | 212 ], |
204 'sources': [ | 213 'sources': [ |
205 'test/CommunicationTest.cpp', | 214 'test/CommunicationTest.cpp', |
206 'test/DictionaryTest.cpp', | 215 'test/DictionaryTest.cpp', |
207 'test/RegistryTest.cpp', | |
208 'test/UtilTest.cpp', | 216 'test/UtilTest.cpp', |
| 217 'test/UtilGetQueryStringTest.cpp', |
| 218 'test/UtilGetSchemeAndHierarchicalPartTest.cpp', |
209 ], | 219 ], |
210 'defines': ['WINVER=0x0501'], | 220 'defines': ['WINVER=0x0501'], |
211 'link_settings': { | 221 'link_settings': { |
212 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], | 222 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], |
213 }, | 223 }, |
214 'msvs_settings': { | 224 'msvs_settings': { |
215 'VCLinkerTool': { | 225 'VCLinkerTool': { |
216 'SubSystem': '1', # Console | 226 'SubSystem': '1', # Console |
217 'EntryPointSymbol': 'mainCRTStartup', | 227 'EntryPointSymbol': 'mainCRTStartup', |
218 }, | 228 }, |
219 }, | 229 }, |
220 }, | 230 }, |
221 | 231 |
222 { | 232 { |
223 'target_name': 'tests_plugin', | 233 'target_name': 'tests_plugin', |
224 'type': 'executable', | 234 'type': 'executable', |
225 'dependencies': [ | 235 'dependencies': [ |
226 'shared', | 236 'shared', |
227 'libadblockplus/libadblockplus.gyp:libadblockplus', | 237 'libadblockplus/libadblockplus.gyp:libadblockplus', |
228 'libadblockplus/third_party/googletest.gyp:googletest_main', | 238 'libadblockplus/third_party/googletest.gyp:googletest_main', |
229 ], | 239 ], |
230 'sources': [ | 240 'sources': [ |
231 'src/plugin/PluginUserSettings.cpp', | 241 'src/plugin/PluginUserSettings.cpp', |
232 'src/plugin/PluginUserSettings.h', | 242 'src/plugin/PluginUserSettings.h', |
233 'test/plugin/UserSettingsTest.cpp', | 243 'test/plugin/UserSettingsTest.cpp', |
| 244 'src/plugin/PluginUtil.h', |
| 245 'test/plugin/UtilTest.cpp', |
234 # | 246 # |
235 # required only for linking | 247 # required only for linking |
236 # | 248 # |
237 'src/plugin/AdblockPlusClient.cpp', | 249 'src/plugin/AdblockPlusClient.cpp', |
238 'src/plugin/AdblockPlusDomTraverser.cpp', | 250 'src/plugin/AdblockPlusDomTraverser.cpp', |
239 'src/plugin/ATL_Deprecate.cpp', | 251 'src/plugin/ATL_Deprecate.cpp', |
240 'src/plugin/NotificationMessage.cpp', | 252 'src/plugin/NotificationMessage.cpp', |
241 'src/plugin/Plugin.cpp', | 253 'src/plugin/Plugin.cpp', |
242 'src/plugin/PluginClientBase.cpp', | 254 'src/plugin/PluginClientBase.cpp', |
243 'src/plugin/PluginClientFactory.cpp', | 255 'src/plugin/PluginClientFactory.cpp', |
(...skipping 13 matching lines...) Expand all Loading... |
257 ], | 269 ], |
258 'defines': [ | 270 'defines': [ |
259 'WINVER=0x0501', | 271 'WINVER=0x0501', |
260 'PRODUCT_ADBLOCKPLUS' | 272 'PRODUCT_ADBLOCKPLUS' |
261 ], | 273 ], |
262 'link_settings': { | 274 'link_settings': { |
263 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-lComctl32', '-lGdi32
'], | 275 'libraries': ['-ladvapi32', '-lshell32', '-lole32', '-lComctl32', '-lGdi32
'], |
264 }, | 276 }, |
265 'msvs_settings': { | 277 'msvs_settings': { |
266 'VCLinkerTool': { | 278 'VCLinkerTool': { |
267 'SubSystem': '1', # Console | 279 'SubSystem': '1', # Console |
268 'EntryPointSymbol': 'mainCRTStartup', | 280 'EntryPointSymbol': 'mainCRTStartup', |
269 'conditions': [[ | 281 'conditions': [[ |
270 'target_arch=="ia32"', { | 282 'target_arch=="ia32"', { |
271 'AdditionalLibraryDirectories': [ | 283 'AdditionalLibraryDirectories': [ |
272 '$(VCInstallDir)atlmfc/lib', | 284 '$(VCInstallDir)atlmfc/lib', |
273 '$(WindowsSDK_LibraryPath_x86)', | 285 '$(WindowsSDK_LibraryPath_x86)', |
274 '$(WINDDKDIR)/lib/ATL/i386', | 286 '$(WINDDKDIR)/lib/ATL/i386', |
275 ], | 287 ], |
276 }, { | 288 }, { |
277 'AdditionalLibraryDirectories': [ | 289 'AdditionalLibraryDirectories': [ |
(...skipping 17 matching lines...) Expand all Loading... |
295 'Release': { | 307 'Release': { |
296 'msvs_settings': { | 308 'msvs_settings': { |
297 'VCLinkerTool': { | 309 'VCLinkerTool': { |
298 'AdditionalDependencies': ['atls.lib'], | 310 'AdditionalDependencies': ['atls.lib'], |
299 }, | 311 }, |
300 }, | 312 }, |
301 }, | 313 }, |
302 }, | 314 }, |
303 }] | 315 }] |
304 } | 316 } |
LEFT | RIGHT |