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

Side by Side Diff: adblockplus.gyp

Issue 6216090891845632: Issue #404 - Create common library shared between plugin/engine and installer (Closed)
Patch Set: Rename to IeVersion*.*; fix URL in copyright notice Created Feb. 27, 2015, 1:50 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
« no previous file with comments | « no previous file | common/common.gypi » ('j') | common/common.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
38 'src/shared/Communication.cpp', 44 'src/shared/Communication.cpp',
39 'src/shared/Dictionary.cpp', 45 'src/shared/Dictionary.cpp',
40 'src/shared/Utils.cpp', 46 'src/shared/Utils.cpp',
41 'src/shared/Registry.h',
42 'src/shared/Registry.cpp',
43 'src/shared/IE_version.h',
44 'src/shared/IE_version.cpp',
45 ] 47 ]
46 }, 48 },
47 49
48 { 50 {
49 'target_name': 'AdblockPlusEngine', 51 'target_name': 'AdblockPlusEngine',
50 'type': 'executable', 52 'type': 'executable',
51 'dependencies': [ 53 'dependencies': [
52 'shared', 54 'shared',
53 'libadblockplus/libadblockplus.gyp:libadblockplus', 55 'libadblockplus/libadblockplus.gyp:libadblockplus',
54 ], 56 ],
55 'sources': [ 57 'sources': [
56 'src/engine/Main.cpp', 58 'src/engine/Main.cpp',
57 'src/engine/Debug.cpp', 59 'src/engine/Debug.cpp',
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 { 201 {
200 'target_name': 'tests', 202 'target_name': 'tests',
201 'type': 'executable', 203 'type': 'executable',
202 'dependencies': [ 204 'dependencies': [
203 'shared', 205 'shared',
204 'libadblockplus/third_party/googletest.gyp:googletest_main', 206 'libadblockplus/third_party/googletest.gyp:googletest_main',
205 ], 207 ],
206 'sources': [ 208 'sources': [
207 'test/CommunicationTest.cpp', 209 'test/CommunicationTest.cpp',
208 'test/DictionaryTest.cpp', 210 'test/DictionaryTest.cpp',
209 'test/RegistryTest.cpp',
210 'test/UtilTest.cpp', 211 'test/UtilTest.cpp',
211 ], 212 ],
212 'defines': ['WINVER=0x0501'], 213 'defines': ['WINVER=0x0501'],
213 'link_settings': { 214 'link_settings': {
214 'libraries': ['-ladvapi32', '-lshell32', '-lole32'], 215 'libraries': ['-ladvapi32', '-lshell32', '-lole32'],
215 }, 216 },
216 'msvs_settings': { 217 'msvs_settings': {
217 'VCLinkerTool': { 218 'VCLinkerTool': {
218 'SubSystem': '1', # Console 219 'SubSystem': '1', # Console
219 'EntryPointSymbol': 'mainCRTStartup', 220 'EntryPointSymbol': 'mainCRTStartup',
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 'Release': { 298 'Release': {
298 'msvs_settings': { 299 'msvs_settings': {
299 'VCLinkerTool': { 300 'VCLinkerTool': {
300 'AdditionalDependencies': ['atls.lib'], 301 'AdditionalDependencies': ['atls.lib'],
301 }, 302 },
302 }, 303 },
303 }, 304 },
304 }, 305 },
305 }] 306 }]
306 } 307 }
OLDNEW
« no previous file with comments | « no previous file | common/common.gypi » ('j') | common/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld