mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 13:03:18 +00:00
55 lines
1.4 KiB
Python
55 lines
1.4 KiB
Python
# Test
|
|
|
|
{
|
|
'variables': {
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'node-opus',
|
|
'dependencies': [
|
|
'deps/binding.gyp:libopus'
|
|
],
|
|
'cflags': [
|
|
'-pthread',
|
|
'-fno-exceptions',
|
|
'-fno-strict-aliasing',
|
|
'-Wall',
|
|
'-Wno-unused-parameter',
|
|
'-Wno-missing-field-initializers',
|
|
'-Wextra',
|
|
'-pipe',
|
|
'-fno-ident',
|
|
'-fdata-sections',
|
|
'-ffunction-sections',
|
|
'-fPIC'
|
|
],
|
|
'defines': [
|
|
'LARGEFILE_SOURCE',
|
|
'_FILE_OFFSET_BITS=64',
|
|
'WEBRTC_TARGET_PC',
|
|
'WEBRTC_LINUX',
|
|
'WEBRTC_THREAD_RR',
|
|
'EXPAT_RELATIVE_PATH',
|
|
'GTEST_RELATIVE_PATH',
|
|
'JSONCPP_RELATIVE_PATH',
|
|
'WEBRTC_RELATIVE_PATH',
|
|
'POSIX',
|
|
'__STDC_FORMAT_MACROS',
|
|
'DYNAMIC_ANNOTATIONS_ENABLED=0'
|
|
],
|
|
'include_dirs': [
|
|
"<!(node -e \"require('nan')\")"
|
|
],
|
|
'sources': [
|
|
'src/node-opus.cc',
|
|
],
|
|
'link_settings': {
|
|
'ldflags': [
|
|
],
|
|
'libraries': [
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|