forked from brave-experiments/ad-block
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbinding.gyp
42 lines (42 loc) · 1.09 KB
/
binding.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
{
"targets": [{
"target_name": "abp-filter-parser-cpp",
"sources": [
"addon.cpp",
"ABPFilterParserWrap.cpp",
"ABPFilterParserWrap.h",
"ABPFilterParser.cpp",
"ABPFilterParser.h",
"cosmeticFilter.cpp",
"cosmeticFilter.h",
"filter.cpp",
"filter.h",
"./node_modules/bloom-filter-cpp/BloomFilter.cpp",
"./node_modules/bloom-filter-cpp/BloomFilter.h",
"./node_modules/bloom-filter-cpp/hashFn.cpp",
"./node_modules/bloom-filter-cpp/hashFn.h",
"./node_modules/hashset-cpp/HashSet.cpp",
"./node_modules/hashset-cpp/HashSet.h"
],
"include_dirs": [
".",
'./node_modules/bloom-filter-cpp',
'./node_modules/hashset-cpp'
],
"dependencies": [
],
"conditions": [
['OS=="win"', {
}, {
'cflags_cc': [ '-fexceptions' ]
}
]
],
"xcode_settings": {
"OTHER_CFLAGS": [ "-ObjC" ],
"OTHER_CPLUSPLUSFLAGS" : ["-std=c++11","-stdlib=libc++", "-v"],
"MACOSX_DEPLOYMENT_TARGET": "10.9",
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
},
}]
}