Debian Codegraph @

binding.gyp

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 {
2 "targets": [{
3 "target_name": "leveldown",
4 "conditions": [
5 ["OS == 'win'", {
6 "defines": [
7 "_HAS_EXCEPTIONS=0"
8 ],
9 "msvs_settings": {
10 "VCCLCompilerTool": {
11 "RuntimeTypeInfo": "false",
12 "EnableFunctionLevelLinking": "true",
13 "ExceptionHandling": "2",
14 "DisableSpecificWarnings": [ "4355", "4530" ,"4267", "4244", "4506" ]
15 }
16 }
17 }],
18 ["OS == 'linux'", {
19 "cflags": [],
20 "cflags!": [ "-fno-tree-vrp"]
21 }],
22 ["OS == 'mac'", {
23 "cflags+": ["-fvisibility=hidden"],
24 "xcode_settings": {
25 "GCC_SYMBOLS_PRIVATE_EXTERN": "YES" # -fvisibility=hidden
26 }
27 }],
28 ["OS == 'android'", {
29 "cflags": [ "-fPIC" ],
30 "ldflags": [ "-fPIC" ],
31 "cflags!": [
32 "-fno-tree-vrp",
33 "-mfloat-abi=hard",
34 "-fPIE"
35 ],
36 "ldflags!": [ "-fPIE" ]
37 }],
38 ["target_arch == 'arm'", {
39 "cflags": [ "-mfloat-abi=hard" ]
40 }]
41 ],
42 "dependencies": [
43 "<(module_root_dir)/deps/leveldb/leveldb.gyp:leveldb"
44 ],
45 "include_dirs" : [
46 "<!(node -e \"require('napi-macros')\")"
47 ],
48 "sources": [
49 "binding.cc"
50 ]
51 }]
52 }