зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1506644 - Add webrtc.org build configs for PPC and Arm Linux platforms; r=dminor
--HG-- extra : rebase_source : b9d40305a0bb16700d3863048424d892fde04001
This commit is contained in:
Родитель
f78fcf019c
Коммит
02a48779df
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -164,4 +164,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("array_view_gn")
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -186,6 +186,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -98,12 +98,9 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
|
@ -169,6 +166,15 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -231,12 +237,39 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
|
|
|
@ -98,12 +98,9 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
|
@ -169,6 +166,15 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -231,12 +237,39 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -156,4 +156,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("audio_encoder_g722_config_gn")
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -192,6 +192,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -156,4 +156,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("audio_encoder_ilbc_config_gn")
|
||||
|
|
|
@ -192,6 +192,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -45,7 +45,6 @@ if not CONFIG["MOZ_DEBUG"]:
|
|||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
|
@ -74,6 +73,16 @@ if CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -84,4 +93,20 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
Library("audio_decoder_isac_fix_gn")
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -92,12 +92,9 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
|
@ -159,6 +156,15 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -213,6 +219,35 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
|
|
|
@ -45,7 +45,6 @@ if not CONFIG["MOZ_DEBUG"]:
|
|||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
|
@ -74,6 +73,16 @@ if CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -84,4 +93,20 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
Library("audio_encoder_isac_fix_gn")
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -92,12 +92,9 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
|
@ -159,6 +156,15 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -213,6 +219,35 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||
|
|
|
@ -193,6 +193,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -186,6 +186,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -193,6 +193,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -172,4 +172,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("audio_mixer_api_gn")
|
||||
|
|
|
@ -176,6 +176,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -172,4 +172,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("call_api_gn")
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -164,4 +164,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("refcountedbase_gn")
|
||||
|
|
|
@ -156,4 +156,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("transport_api_gn")
|
||||
|
|
|
@ -194,6 +194,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -188,6 +188,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -193,6 +193,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -206,6 +206,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -192,6 +192,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -192,6 +192,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -195,6 +195,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -193,6 +193,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -196,6 +196,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -192,6 +192,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -196,6 +196,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -162,4 +162,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("common_audio_c_arm_asm_gn")
|
||||
|
|
|
@ -152,12 +152,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
"rt"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -222,6 +216,14 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -302,12 +304,37 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
|
|
|
@ -195,6 +195,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -212,6 +212,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -73,6 +73,18 @@ if CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -150,6 +162,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
|
|
@ -69,6 +69,18 @@ if CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -146,6 +158,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
|
|
@ -95,10 +95,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -193,12 +189,37 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -156,4 +156,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("fir_filter_gn")
|
||||
|
|
|
@ -172,4 +172,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("sinc_resampler_gn")
|
||||
|
|
|
@ -206,6 +206,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -210,6 +210,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -194,6 +194,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -224,6 +224,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -203,6 +203,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -179,4 +179,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("rtc_media_gn")
|
||||
|
|
|
@ -115,17 +115,11 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
|
@ -197,6 +191,18 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -277,12 +283,48 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
|
|
@ -172,4 +172,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("audio_coding_module_typedefs_gn")
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -205,6 +205,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -196,6 +196,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -177,6 +177,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
|
|
|
@ -185,6 +185,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -181,6 +181,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
|
|
|
@ -185,6 +185,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -263,6 +263,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
|
|
|
@ -196,6 +196,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -224,6 +224,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -41,7 +41,6 @@ if not CONFIG["MOZ_DEBUG"]:
|
|||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
|
@ -66,6 +65,12 @@ if CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -76,4 +81,20 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
Library("isac_fix_c_arm_asm_gn")
|
||||
|
|
|
@ -145,14 +145,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
"rt"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -219,6 +211,16 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -311,12 +313,43 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
SOURCES += [
|
||||
|
|
|
@ -177,6 +177,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
|
|
|
@ -49,7 +49,6 @@ if not CONFIG["MOZ_DEBUG"]:
|
|||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
|
@ -78,6 +77,16 @@ if CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -88,4 +97,20 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BSD"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
Library("isac_fix_gn")
|
||||
|
|
|
@ -195,6 +195,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -76,6 +76,18 @@ if CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -153,6 +165,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -231,6 +231,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -176,6 +176,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
|
|
|
@ -186,6 +186,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -106,17 +106,11 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
|
@ -184,6 +178,18 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_CODEC_ISACFX"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -264,12 +270,48 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"m"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
|
|
@ -96,7 +96,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
@ -157,6 +156,10 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_CODEC_ISACFX"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -213,12 +216,24 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
|
|
@ -100,7 +100,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
@ -169,6 +168,10 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_CODEC_ISACFX"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -225,12 +228,24 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
|
|
@ -220,6 +220,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -175,4 +175,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("audio_device_gn")
|
||||
|
|
|
@ -192,6 +192,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -195,6 +195,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -164,4 +164,9 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
Library("aec_dump_gn")
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -184,6 +184,11 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
|
|
|
@ -115,11 +115,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
"rt"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
@ -190,6 +185,20 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -220,11 +229,6 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
|
@ -238,11 +242,6 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
|
@ -250,23 +249,30 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
|
@ -280,11 +286,6 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
|
@ -292,13 +293,6 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
|
|
|
@ -197,7 +197,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
|||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
|
@ -266,6 +265,14 @@ if CONFIG["CPU_ARCH"] == "arm":
|
|||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_NS_FIXED"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "ppc64":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
@ -296,8 +303,6 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
@ -308,26 +313,31 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "NetBSD":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
@ -338,16 +348,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "OpenBSD":
|
|||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче