-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathabpshell.gyp
58 lines (58 loc) · 1.33 KB
/
abpshell.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
'conditions': [[
# We don't want to use curl on Windows and Android, skip the check there
'OS=="win" or OS=="android"',
{
'variables': {
'have_curl': 0
}
},
{
'variables': {
'have_curl': '<!(python3 check_curl.py)'
}
}
]],
'targets': [{
'target_name': 'abpshell',
'type': 'executable',
'dependencies': [
'libadblockplus.gyp:libadblockplus'
],
'sources': [
'shell/src/Command.cpp',
'shell/src/Command.h',
'shell/src/FiltersCommand.cpp',
'shell/src/FiltersCommand.h',
'shell/src/GcCommand.cpp',
'shell/src/GcCommand.h',
'shell/src/HelpCommand.cpp',
'shell/src/HelpCommand.h',
'shell/src/Main.cpp',
'shell/src/MatchesCommand.cpp',
'shell/src/MatchesCommand.h',
'shell/src/SubscriptionsCommand.cpp',
'shell/src/SubscriptionsCommand.h',
'shell/src/WebRequestCurl.cpp',
'shell/src/WebRequestCurl.h',
],
'conditions': [
['have_curl==1',
{
'link_settings': {
'libraries': ['-lcurl']
},
'defines': ['HAVE_CURL']
}
],
],
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': '1', # Console
}
},
'xcode_settings': {
'OTHER_LDFLAGS': ['-stdlib=libstdc++'],
},
}]
}