-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbinding.gyp
executable file
·36 lines (36 loc) · 1.18 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
{
"targets": [
{
"target_name": "android-os",
"include_dirs": [
"<!(sh -c \"echo \$PWD/include\")",
"<!(node -p \"require('node-addon-api').include_dir\")",
],
"sources": [
"src/internal/properties.cpp",
"src/os/system.cpp",
"src/os/properties.cpp",
"src/os/environment.cpp",
"src/android-os.cpp",
],
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
},
{
"target_name": "android-util",
"include_dirs": [
"<!(sh -c \"echo \$PWD/include\")",
"<!(node -p \"require('node-addon-api').include_dir\")",
],
"cflags_cc!": [ "-Wno-exit-time-destructors" ],
# "libraries": ["-llog", "-lOpenSLES"],
"libraries": ["-llog"],
"sources": [
"src/util/log.cpp",
"src/util/sleep.cpp",
# "src/util/audioplayer.cpp",
"src/android-util.cpp",
],
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
},
]
}