-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Mac deps and reduce CI time with new log4cxx (#1745)
- Loading branch information
Showing
43 changed files
with
2,815 additions
and
1,859 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
#include <assert.h> | ||
|
||
#include <boost/bind.hpp> | ||
#include <boost/bind/bind.hpp> | ||
#include <utility> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,59 @@ | ||
{ | ||
'variables' : { | ||
'no_debug': '0', | ||
'common_sources': [ 'addon.cc', 'PromiseDurationDistribution.cc', 'IOThreadPool.cc', 'AsyncPromiseWorker.cc', 'ThreadPool.cc', 'MediaStream.cc', 'WebRtcConnection.cc', 'OneToManyProcessor.cc', 'ExternalInput.cc', 'ExternalOutput.cc', 'SyntheticInput.cc', 'ConnectionDescription.cc'], | ||
'common_include_dirs' : ["<!(node -e \"require('nan')\")", '$(ERIZO_HOME)/src/erizo', '$(ERIZO_HOME)/../build/libdeps/build/include', '$(ERIZO_HOME)/src/third_party/webrtc/src','$(ERIZO_HOME)/src/erizo/handlers'] | ||
}, | ||
'targets': [ | ||
{ | ||
'target_name': 'addon', | ||
'sources': ['<@(common_sources)'], | ||
'include_dirs' : ['<@(common_include_dirs)'], | ||
'include_dirs' : ['<@(common_include_dirs)', '$(ERIZO_HOME)/build/release/libdeps/log4cxx/include'], | ||
'libraries': ['-L$(ERIZO_HOME)/build/release/erizo -lerizo -Wl,-rpath,<(module_root_dir)/../erizo/build/release/erizo'], | ||
'conditions': [ | ||
[ 'OS=="mac"', { | ||
'xcode_settings': { | ||
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fno-exceptions | ||
'GCC_ENABLE_CPP_RTTI': 'YES', # -fno-rtti | ||
'MACOSX_DEPLOYMENT_TARGET' : '10.15', #from MAC OS 10.7 | ||
'OTHER_CFLAGS': ['-Werror -Qunused-arguments -g -O3 -stdlib=libc++ -std=c++14 -DBOOST_THREAD_PROVIDES_FUTURE -DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION -DBOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY @$(ERIZO_HOME)/conanbuildinfo.args',] | ||
'OTHER_CFLAGS': ['-Werror -Qunused-arguments -g -O3 -stdlib=libc++ -std=c++17 -DBOOST_THREAD_PROVIDES_FUTURE -DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION -DBOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY @$(ERIZO_HOME)/conanbuildinfo.args',] | ||
}, | ||
}, { # OS!="mac" | ||
'cflags!' : ['-fno-exceptions'], | ||
'cflags' : ['-D__STDC_CONSTANT_MACROS'], | ||
'cflags_cc' : ['-Werror', '-Wall', '-O3', '-g' , '-std=c++14', '-fexceptions', '-DBOOST_THREAD_PROVIDES_FUTURE', '-DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION', '-DBOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY', '@$(ERIZO_HOME)/conanbuildinfo.args'], | ||
'cflags_cc' : ['-Werror', '-Wall', '-O3', '-g' , '-std=c++17', '-fexceptions', '-DBOOST_THREAD_PROVIDES_FUTURE', '-DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION', '-DBOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY', '@$(ERIZO_HOME)/conanbuildinfo.args'], | ||
'cflags_cc!' : ['-fno-exceptions'], | ||
'cflags_cc!' : ['-fno-rtti'] | ||
}], | ||
] | ||
}, | ||
{ | ||
'target_name': 'addonDebug', | ||
'sources': ['<@(common_sources)'], | ||
'include_dirs' : ['<@(common_include_dirs)'], | ||
'libraries': ['-L$(ERIZO_HOME)/build/debug/erizo -lerizo -Wl,-rpath,<(module_root_dir)/../erizo/build/debug/erizo'], | ||
'conditions': [ | ||
[ 'OS=="mac"', { | ||
'xcode_settings': { | ||
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fno-exceptions | ||
'GCC_ENABLE_CPP_RTTI': 'YES', # -fno-rtti | ||
'MACOSX_DEPLOYMENT_TARGET' : '10.15', #from MAC OS 10.7 | ||
'OTHER_CFLAGS': ['-Werror -Qunused-arguments -g -stdlib=libc++ -std=c++14 -DBOOST_THREAD_PROVIDES_FUTURE -DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION -DBOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY @$(ERIZO_HOME)/conanbuildinfo.args'] | ||
}, | ||
}, { # OS!="mac" | ||
'cflags!' : ['-fno-exceptions'], | ||
'cflags' : ['-D__STDC_CONSTANT_MACROS'], | ||
'cflags_cc' : ['-Werror', '-Wall', '-g' , '-std=c++14', '-fexceptions', '-DBOOST_THREAD_PROVIDES_FUTURE', '-DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION', '-DBOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY', '@$(ERIZO_HOME)/conanbuildinfo.args'], | ||
'cflags_cc!' : ['-fno-exceptions'], | ||
'cflags_cc!' : ['-fno-rtti'] | ||
}], | ||
] | ||
} | ||
] | ||
], | ||
'conditions': [ | ||
['no_debug!=1', { | ||
'targets': [ | ||
{ | ||
'target_name': 'addonDebug', | ||
'sources': ['<@(common_sources)'], | ||
'include_dirs' : ['<@(common_include_dirs)', '$(ERIZO_HOME)/build/debug/libdeps/log4cxx/include'], | ||
'libraries': ['-L$(ERIZO_HOME)/build/debug/erizo -lerizo -Wl,-rpath,<(module_root_dir)/../erizo/build/debug/erizo'], | ||
'conditions': [ | ||
[ 'OS=="mac"', { | ||
'xcode_settings': { | ||
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fno-exceptions | ||
'GCC_ENABLE_CPP_RTTI': 'YES', # -fno-rtti | ||
'MACOSX_DEPLOYMENT_TARGET' : '10.15', #from MAC OS 10.7 | ||
'OTHER_CFLAGS': ['-Werror -Qunused-arguments -g -stdlib=libc++ -std=c++17 -DBOOST_THREAD_PROVIDES_FUTURE -DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION -DBOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY @$(ERIZO_HOME)/conanbuildinfo.args'] | ||
}, | ||
}, { # OS!="mac" | ||
'cflags!' : ['-fno-exceptions'], | ||
'cflags' : ['-D__STDC_CONSTANT_MACROS'], | ||
'cflags_cc' : ['-Werror', '-Wall', '-g' , '-std=c++14', '-fexceptions', '-DBOOST_THREAD_PROVIDES_FUTURE', '-DBOOST_THREAD_PROVIDES_FUTURE_CONTINUATION', '-DBOOST_THREAD_PROVIDES_FUTURE_WHEN_ALL_WHEN_ANY', '@$(ERIZO_HOME)/conanbuildinfo.args'], | ||
'cflags_cc!' : ['-fno-exceptions'], | ||
'cflags_cc!' : ['-fno-rtti'] | ||
}], | ||
] | ||
} | ||
], | ||
}], | ||
], | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
/* global unescape */ | ||
|
||
const Base64 = (() => { | ||
let base64Str; | ||
let base64Count; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
/* global unescape */ | ||
|
||
const ErizoMap = () => { | ||
const that = {}; | ||
let values = {}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.