Add WebRTC related defines to the build config

This commit is contained in:
Aleksei Kuzmin 2017-08-13 00:02:30 +03:00 committed by Cheng Zhao
parent 68cbfd9f40
commit fe431a9e58

View file

@ -126,11 +126,17 @@
'USE_NSS', # deprecated after Chrome 45.
],
}],
['OS in ["linux", "mac"]', {
'defines': [
'WEBRTC_POSIX',
],
}],
['OS=="linux"', {
'defines': [
'_LARGEFILE_SOURCE',
'_LARGEFILE64_SOURCE',
'_FILE_OFFSET_BITS=64',
'WEBRTC_LINUX',
],
'cflags_cc': [
'-D__STRICT_ANSI__',