зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1738845 - Add webrtc configs for arm and ppc64 linux. r=mjf
Adding arm alone breaks ppc64el. Differential Revision: https://phabricator.services.mozilla.com/D134738
This commit is contained in:
Родитель
1bec54f814
Коммит
0146508375
|
@ -655,10 +655,12 @@ def main():
|
||||||
target_cpus = ["x64"]
|
target_cpus = ["x64"]
|
||||||
if target_os in ("android", "linux", "mac", "win"):
|
if target_os in ("android", "linux", "mac", "win"):
|
||||||
target_cpus.append("arm64")
|
target_cpus.append("arm64")
|
||||||
if target_os == "android":
|
if target_os in ("android", "linux"):
|
||||||
target_cpus.append("arm")
|
target_cpus.append("arm")
|
||||||
if target_os in ("android", "linux", "win"):
|
if target_os in ("android", "linux", "win"):
|
||||||
target_cpus.append("x86")
|
target_cpus.append("x86")
|
||||||
|
if target_os == "linux":
|
||||||
|
target_cpus.append("ppc64")
|
||||||
for target_cpu in target_cpus:
|
for target_cpu in target_cpus:
|
||||||
vars = {
|
vars = {
|
||||||
"host_cpu": "x64",
|
"host_cpu": "x64",
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("resource_adaptation_api_gn")
|
Library("resource_adaptation_api_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -157,10 +151,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("array_view_gn")
|
Library("array_view_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("aec3_config_gn")
|
Library("aec3_config_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -177,6 +171,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -187,10 +188,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("aec3_factory_gn")
|
Library("aec3_factory_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -170,6 +164,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -180,10 +181,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_frame_api_gn")
|
Library("audio_frame_api_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -161,10 +155,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_mixer_api_gn")
|
Library("audio_mixer_api_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -157,10 +151,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("echo_control_gn")
|
Library("echo_control_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_decoder_L16_gn")
|
Library("audio_decoder_L16_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_L16_gn")
|
Library("audio_encoder_L16_gn")
|
||||||
|
|
|
@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -143,11 +142,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -172,6 +166,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -182,10 +183,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_codecs_api_gn")
|
Library("audio_codecs_api_gn")
|
||||||
|
|
|
@ -80,17 +80,13 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["USE_UDEV"] = True
|
DEFINES["USE_UDEV"] = True
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"m",
|
|
||||||
"rt"
|
"rt"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -160,9 +156,13 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
|
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 += [
|
OS_LIBS += [
|
||||||
"android_support",
|
"m"
|
||||||
"unwind"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
@ -194,6 +194,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -212,10 +219,42 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"m"
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
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"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"m"
|
||||||
|
]
|
||||||
|
|
||||||
Library("builtin_audio_decoder_factory_gn")
|
Library("builtin_audio_decoder_factory_gn")
|
||||||
|
|
|
@ -80,17 +80,13 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["USE_UDEV"] = True
|
DEFINES["USE_UDEV"] = True
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"m",
|
|
||||||
"rt"
|
"rt"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -160,9 +156,13 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
|
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 += [
|
OS_LIBS += [
|
||||||
"android_support",
|
"m"
|
||||||
"unwind"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
@ -194,6 +194,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -212,10 +219,42 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"m"
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
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"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"m"
|
||||||
|
]
|
||||||
|
|
||||||
Library("builtin_audio_encoder_factory_gn")
|
Library("builtin_audio_encoder_factory_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_decoder_g711_gn")
|
Library("audio_decoder_g711_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_g711_gn")
|
Library("audio_encoder_g711_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_decoder_g722_gn")
|
Library("audio_decoder_g722_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_g722_config_gn")
|
Library("audio_encoder_g722_config_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_g722_gn")
|
Library("audio_encoder_g722_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -176,6 +170,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -186,10 +187,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_decoder_ilbc_gn")
|
Library("audio_decoder_ilbc_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_ilbc_config_gn")
|
Library("audio_encoder_ilbc_config_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -176,6 +170,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -186,10 +187,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_ilbc_gn")
|
Library("audio_encoder_ilbc_gn")
|
||||||
|
|
|
@ -14,12 +14,7 @@ CXXFLAGS += [
|
||||||
]
|
]
|
||||||
|
|
||||||
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
|
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
|
||||||
DEFINES["ANDROID"] = True
|
|
||||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r20_1"
|
|
||||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
|
||||||
DEFINES["RTC_ENABLE_VP9"] = True
|
DEFINES["RTC_ENABLE_VP9"] = True
|
||||||
DEFINES["WEBRTC_ANDROID"] = True
|
|
||||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
|
||||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||||
|
@ -44,12 +39,6 @@ LOCAL_INCLUDES += [
|
||||||
"/tools/profiler/public"
|
"/tools/profiler/public"
|
||||||
]
|
]
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"log",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
"/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix.cc"
|
"/third_party/libwebrtc/api/audio_codecs/isac/audio_decoder_isac_fix.cc"
|
||||||
]
|
]
|
||||||
|
@ -65,4 +54,37 @@ if CONFIG["MOZ_DEBUG"] == "1":
|
||||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
|
||||||
|
if CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
DEFINES["ANDROID"] = True
|
||||||
|
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r20_1"
|
||||||
|
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||||
|
DEFINES["WEBRTC_ANDROID"] = True
|
||||||
|
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"log",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["USE_AURA"] = "1"
|
||||||
|
DEFINES["USE_GLIB"] = "1"
|
||||||
|
DEFINES["USE_NSS_CERTS"] = "1"
|
||||||
|
DEFINES["USE_OZONE"] = "1"
|
||||||
|
DEFINES["USE_UDEV"] = True
|
||||||
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"rt"
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
Library("audio_decoder_isac_fix_gn")
|
Library("audio_decoder_isac_fix_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -172,10 +171,20 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_decoder_isac_float_gn")
|
Library("audio_decoder_isac_float_gn")
|
||||||
|
|
|
@ -74,17 +74,13 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["USE_UDEV"] = True
|
DEFINES["USE_UDEV"] = True
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"m",
|
|
||||||
"rt"
|
"rt"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -150,9 +146,13 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
|
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 += [
|
OS_LIBS += [
|
||||||
"android_support",
|
"m"
|
||||||
"unwind"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
@ -184,6 +184,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
@ -198,4 +205,38 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"m"
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
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"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"m"
|
||||||
|
]
|
||||||
|
|
||||||
Library("audio_decoder_isac_gn")
|
Library("audio_decoder_isac_gn")
|
||||||
|
|
|
@ -14,12 +14,7 @@ CXXFLAGS += [
|
||||||
]
|
]
|
||||||
|
|
||||||
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
|
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
|
||||||
DEFINES["ANDROID"] = True
|
|
||||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r20_1"
|
|
||||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
|
||||||
DEFINES["RTC_ENABLE_VP9"] = True
|
DEFINES["RTC_ENABLE_VP9"] = True
|
||||||
DEFINES["WEBRTC_ANDROID"] = True
|
|
||||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
|
||||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
|
||||||
|
@ -44,12 +39,6 @@ LOCAL_INCLUDES += [
|
||||||
"/tools/profiler/public"
|
"/tools/profiler/public"
|
||||||
]
|
]
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"log",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
"/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix.cc"
|
"/third_party/libwebrtc/api/audio_codecs/isac/audio_encoder_isac_fix.cc"
|
||||||
]
|
]
|
||||||
|
@ -65,4 +54,37 @@ if CONFIG["MOZ_DEBUG"] == "1":
|
||||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
|
||||||
|
if CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
DEFINES["ANDROID"] = True
|
||||||
|
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r20_1"
|
||||||
|
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||||
|
DEFINES["WEBRTC_ANDROID"] = True
|
||||||
|
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"log",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["USE_AURA"] = "1"
|
||||||
|
DEFINES["USE_GLIB"] = "1"
|
||||||
|
DEFINES["USE_NSS_CERTS"] = "1"
|
||||||
|
DEFINES["USE_OZONE"] = "1"
|
||||||
|
DEFINES["USE_UDEV"] = True
|
||||||
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"rt"
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
Library("audio_encoder_isac_fix_gn")
|
Library("audio_encoder_isac_fix_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -172,10 +171,20 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_isac_float_gn")
|
Library("audio_encoder_isac_float_gn")
|
||||||
|
|
|
@ -74,17 +74,13 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["USE_UDEV"] = True
|
DEFINES["USE_UDEV"] = True
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"m",
|
|
||||||
"rt"
|
"rt"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -150,9 +146,13 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "1"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "0"
|
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 += [
|
OS_LIBS += [
|
||||||
"android_support",
|
"m"
|
||||||
"unwind"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
@ -184,6 +184,13 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
@ -198,4 +205,38 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Android":
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"m"
|
||||||
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
|
||||||
|
DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
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"
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"m"
|
||||||
|
]
|
||||||
|
|
||||||
Library("audio_encoder_isac_gn")
|
Library("audio_encoder_isac_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -170,6 +164,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -180,10 +181,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_decoder_multiopus_gn")
|
Library("audio_decoder_multiopus_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_decoder_opus_config_gn")
|
Library("audio_decoder_opus_config_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -177,6 +171,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -187,10 +188,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_decoder_opus_gn")
|
Library("audio_decoder_opus_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -170,6 +164,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -180,10 +181,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_multiopus_gn")
|
Library("audio_encoder_multiopus_gn")
|
||||||
|
|
|
@ -82,7 +82,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -145,11 +144,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -174,6 +168,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -184,10 +185,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_opus_config_gn")
|
Library("audio_encoder_opus_config_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -177,6 +171,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -187,10 +188,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_encoder_opus_gn")
|
Library("audio_encoder_opus_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_options_api_gn")
|
Library("audio_options_api_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -157,10 +151,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("bitrate_allocation_gn")
|
Library("bitrate_allocation_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("call_api_gn")
|
Library("call_api_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("callfactory_api_gn")
|
Library("callfactory_api_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -157,10 +151,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("frame_decryptor_interface_gn")
|
Library("frame_decryptor_interface_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -157,10 +151,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("frame_encryptor_interface_gn")
|
Library("frame_encryptor_interface_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -178,6 +172,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -188,10 +189,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("options_gn")
|
Library("options_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("fec_controller_api_gn")
|
Library("fec_controller_api_gn")
|
||||||
|
|
|
@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -170,10 +164,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("frame_transformer_interface_gn")
|
Library("frame_transformer_interface_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -157,10 +151,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("function_view_gn")
|
Library("function_view_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("jingle_logging_api_gn")
|
Library("jingle_logging_api_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("media_stream_interface_gn")
|
Library("media_stream_interface_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -176,6 +170,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -186,10 +187,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("default_neteq_controller_factory_gn")
|
Library("default_neteq_controller_factory_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -147,11 +146,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -176,6 +170,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -186,10 +187,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("neteq_api_gn")
|
Library("neteq_api_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -139,11 +138,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -168,10 +162,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("neteq_controller_api_gn")
|
Library("neteq_controller_api_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("tick_timer_gn")
|
Library("tick_timer_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("network_state_predictor_api_gn")
|
Library("network_state_predictor_api_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("numerics_gn")
|
Library("numerics_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("priority_gn")
|
Library("priority_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -161,10 +155,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("refcountedbase_gn")
|
Library("refcountedbase_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("rtc_error_gn")
|
Library("rtc_error_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -170,6 +164,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -180,10 +181,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("rtc_event_log_gn")
|
Library("rtc_event_log_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("rtp_headers_gn")
|
Library("rtp_headers_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("rtp_packet_info_gn")
|
Library("rtp_packet_info_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -137,11 +136,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -166,6 +160,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -176,10 +177,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("rtp_parameters_gn")
|
Library("rtp_parameters_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("rtp_transceiver_direction_gn")
|
Library("rtp_transceiver_direction_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("scoped_refptr_gn")
|
Library("scoped_refptr_gn")
|
||||||
|
|
|
@ -74,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -141,11 +140,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -170,10 +164,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("simulated_network_api_gn")
|
Library("simulated_network_api_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("task_queue_gn")
|
Library("task_queue_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -161,6 +155,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -171,10 +172,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("bitrate_settings_gn")
|
Library("bitrate_settings_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("field_trial_based_config_gn")
|
Library("field_trial_based_config_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -178,6 +172,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -188,10 +189,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("goog_cc_gn")
|
Library("goog_cc_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("network_control_gn")
|
Library("network_control_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("dependency_descriptor_gn")
|
Library("dependency_descriptor_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -161,10 +155,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("rtp_source_gn")
|
Library("rtp_source_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("webrtc_key_value_config_gn")
|
Library("webrtc_key_value_config_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -161,6 +155,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -171,10 +172,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("transport_api_gn")
|
Library("transport_api_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("data_rate_gn")
|
Library("data_rate_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("data_size_gn")
|
Library("data_size_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("frequency_gn")
|
Library("frequency_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("time_delta_gn")
|
Library("time_delta_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("timestamp_gn")
|
Library("timestamp_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -178,6 +172,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -188,10 +189,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("builtin_video_bitrate_allocator_factory_gn")
|
Library("builtin_video_bitrate_allocator_factory_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -178,6 +172,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -188,10 +189,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("encoded_frame_gn")
|
Library("encoded_frame_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("encoded_image_gn")
|
Library("encoded_image_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -161,10 +155,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("recordable_encoded_frame_gn")
|
Library("recordable_encoded_frame_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_adaptation_gn")
|
Library("video_adaptation_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_bitrate_allocation_gn")
|
Library("video_bitrate_allocation_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -161,10 +155,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_bitrate_allocator_factory_gn")
|
Library("video_bitrate_allocator_factory_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -136,11 +135,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -165,6 +159,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -175,10 +176,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_bitrate_allocator_gn")
|
Library("video_bitrate_allocator_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_codec_constants_gn")
|
Library("video_codec_constants_gn")
|
||||||
|
|
|
@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -142,11 +141,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -171,6 +165,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -181,10 +182,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_frame_gn")
|
Library("video_frame_gn")
|
||||||
|
|
|
@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -180,6 +174,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -190,10 +191,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_frame_i010_gn")
|
Library("video_frame_i010_gn")
|
||||||
|
|
|
@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -180,6 +174,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -190,10 +191,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_frame_i420_gn")
|
Library("video_frame_i420_gn")
|
||||||
|
|
|
@ -77,7 +77,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -140,11 +139,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -169,6 +163,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -179,10 +180,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_frame_metadata_gn")
|
Library("video_frame_metadata_gn")
|
||||||
|
|
|
@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -151,11 +150,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -180,6 +174,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -190,10 +191,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_frame_nv12_gn")
|
Library("video_frame_nv12_gn")
|
||||||
|
|
|
@ -69,7 +69,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -124,11 +123,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -153,10 +147,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_frame_type_gn")
|
Library("video_frame_type_gn")
|
||||||
|
|
|
@ -80,7 +80,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -143,11 +142,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -172,6 +166,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -182,10 +183,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_rtp_headers_gn")
|
Library("video_rtp_headers_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -178,6 +172,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -188,10 +189,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_stream_encoder_create_gn")
|
Library("video_stream_encoder_create_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -132,11 +131,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -161,10 +155,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_stream_encoder_gn")
|
Library("video_stream_encoder_gn")
|
||||||
|
|
|
@ -73,7 +73,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -128,11 +127,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -157,10 +151,33 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
OS_LIBS += [
|
OS_LIBS += [
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("bitstream_parser_api_gn")
|
Library("bitstream_parser_api_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -178,6 +172,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -188,10 +189,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("builtin_video_decoder_factory_gn")
|
Library("builtin_video_decoder_factory_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -178,6 +172,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -188,10 +189,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("builtin_video_encoder_factory_gn")
|
Library("builtin_video_encoder_factory_gn")
|
||||||
|
|
|
@ -79,7 +79,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -150,11 +149,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -179,6 +173,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -189,10 +190,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("rtc_software_fallback_wrappers_gn")
|
Library("rtc_software_fallback_wrappers_gn")
|
||||||
|
|
|
@ -85,7 +85,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -148,11 +147,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -177,6 +171,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -187,10 +188,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("video_codecs_api_gn")
|
Library("video_codecs_api_gn")
|
||||||
|
|
|
@ -78,7 +78,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -149,11 +148,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -178,6 +172,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -188,10 +189,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("vp8_temporal_layers_factory_gn")
|
Library("vp8_temporal_layers_factory_gn")
|
||||||
|
|
|
@ -91,7 +91,6 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||||
DEFINES["WEBRTC_LINUX"] = True
|
DEFINES["WEBRTC_LINUX"] = True
|
||||||
DEFINES["WEBRTC_POSIX"] = True
|
DEFINES["WEBRTC_POSIX"] = True
|
||||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||||
DEFINES["_GNU_SOURCE"] = True
|
|
||||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||||
|
@ -162,11 +161,6 @@ if CONFIG["CPU_ARCH"] == "arm":
|
||||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||||
|
|
||||||
OS_LIBS += [
|
|
||||||
"android_support",
|
|
||||||
"unwind"
|
|
||||||
]
|
|
||||||
|
|
||||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
DEFINES["_DEBUG"] = True
|
DEFINES["_DEBUG"] = True
|
||||||
|
@ -191,6 +185,13 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
DEFINES["USE_X11"] = "1"
|
DEFINES["USE_X11"] = "1"
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
|
OS_LIBS += [
|
||||||
|
"android_support",
|
||||||
|
"unwind"
|
||||||
|
]
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
|
@ -201,10 +202,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||||
"android_support"
|
"android_support"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
"-msse2"
|
"-msse2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
|
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
|
||||||
|
|
||||||
|
DEFINES["_GNU_SOURCE"] = True
|
||||||
|
|
||||||
Library("audio_gn")
|
Library("audio_gn")
|
||||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче