{
'variables':
{
'uv_library%': 'static_library',
'library%': 'static_library',
'openssl_fips%': '',
'openssl_no_asm%': 1, 'libopenssl': '<(PRODUCT_DIR)/libopenssl.a',
'sctp_debug%': 'false',
'clang%': 0,
'mediasoup_asan%': 'false'
},
'target_defaults':
{
'default_configuration': 'Release',
'configurations':
{
'Release':
{
'cflags': [ '-g', '-Wno-unknown-warning-option', '-fPIC' ]
},
'Debug':
{
'defines': [ 'DEBUG', 'MS_LOG_TRACE', 'MS_LOG_FILE_LINE' ],
'cflags': [ '-g', '-O0', '-Wno-parentheses-equality', '-Wno-unknown-warning-option', '-fPIC' ],
'xcode_settings':
{
'GCC_OPTIMIZATION_LEVEL': '0'
}
}
},
'xcode_settings':
{
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', 'PREBINDING': 'NO', 'OTHER_CFLAGS':
[
'-fstrict-aliasing',
'-g',
'-fPIC'
],
'WARNING_CFLAGS':
[
'-Wall',
'-Wendif-labels',
'-W',
'-Wno-unused-parameter',
'-Wundeclared-selector',
'-Wno-parentheses-equality'
]
},
'conditions':
[
[ 'target_arch == "ia32"', {
'xcode_settings': { 'ARCHS': [ 'i386' ] }
}],
[ 'target_arch == "x64"', {
'xcode_settings': { 'ARCHS': [ 'x86_64' ] }
}],
[ 'target_arch == "arm64"', {
'xcode_settings': { 'ARCHS': [ 'arm64' ] }
}],
[ 'OS in "linux freebsd openbsd solaris"', {
'target_conditions':
[
[ '_type == "static_library"', {
'standalone_static_library': 1
}]
],
'conditions':
[
[ 'target_arch == "ia32"', {
'cflags': [ '-m32' ],
'ldflags': [ '-m32' ]
}],
[ 'target_arch == "x64"', {
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ]
}]
]
}]
]
}
}