Bug 1841577 - Don't set WEBRTC_ENABLE_AVX2 on platforms that don't have AVX2 (moz.build refresh). r=mjf,webrtc-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D182846
This commit is contained in:
Mike Hommey 2023-07-06 19:34:44 +00:00
Родитель 0b874867bb
Коммит da503f0969
440 изменённых файлов: 3460 добавлений и 3371 удалений

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("resource_adaptation_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("array_view_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("aec3_config_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -98,7 +96,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -114,7 +111,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -155,6 +151,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -198,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -212,12 +214,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("aec3_factory_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -94,7 +92,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -110,7 +107,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -148,6 +144,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -191,12 +195,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -205,12 +207,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_frame_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_frame_processor_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -178,22 +182,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_mixer_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("echo_control_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_decoder_L16_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_L16_gn")

Просмотреть файл

@ -54,7 +54,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -67,7 +66,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -96,7 +94,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -112,7 +109,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -150,6 +146,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -193,12 +197,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -207,12 +209,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_codecs_api_gn")

Просмотреть файл

@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -66,7 +65,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -99,7 +97,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -115,7 +112,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -156,6 +152,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -199,12 +203,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -213,12 +215,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("builtin_audio_decoder_factory_gn")

Просмотреть файл

@ -53,7 +53,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -66,7 +65,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -99,7 +97,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -115,7 +112,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -156,6 +152,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -199,12 +203,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -213,12 +215,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("builtin_audio_encoder_factory_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_decoder_g711_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_g711_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_decoder_g722_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -178,22 +182,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_g722_config_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_g722_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -97,7 +95,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -113,7 +110,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -154,6 +150,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -197,12 +201,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -211,12 +213,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_decoder_ilbc_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_ilbc_config_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -97,7 +95,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -113,7 +110,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -154,6 +150,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -197,12 +201,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -211,12 +213,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_ilbc_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -94,7 +92,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -110,7 +107,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -148,6 +144,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -191,12 +195,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -205,12 +207,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_decoder_multiopus_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -178,22 +182,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_decoder_opus_config_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -98,7 +96,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -114,7 +111,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -155,6 +151,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -198,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -212,12 +214,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_decoder_opus_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -94,7 +92,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -110,7 +107,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -148,6 +144,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -191,12 +195,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -205,12 +207,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_multiopus_gn")

Просмотреть файл

@ -56,7 +56,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -94,7 +92,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -110,7 +107,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -144,6 +140,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -187,12 +191,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -201,12 +203,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_opus_config_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -98,7 +96,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -114,7 +111,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -155,6 +151,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -198,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -212,12 +214,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_encoder_opus_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("audio_options_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("bitrate_allocation_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("call_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -146,6 +142,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -185,22 +189,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("callfactory_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("frame_decryptor_interface_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("frame_encryptor_interface_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -182,12 +186,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -196,12 +198,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("options_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("fec_controller_api_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("field_trials_registry_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("field_trials_view_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -146,6 +142,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -185,22 +189,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("frame_transformer_interface_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("function_view_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("jingle_logging_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("jingle_peerconnection_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("make_ref_counted_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("media_stream_interface_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("metronome_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -97,7 +95,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -113,7 +110,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -154,6 +150,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -197,12 +201,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -211,12 +213,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("default_neteq_controller_factory_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -97,7 +95,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -113,7 +110,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -154,6 +150,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -197,12 +201,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -211,12 +213,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("neteq_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -146,6 +142,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -185,22 +189,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("neteq_controller_api_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("tick_timer_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("network_state_predictor_api_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("priority_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("refcountedbase_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtc_error_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -94,7 +92,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -110,7 +107,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -148,6 +144,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -191,12 +195,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -205,12 +207,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtc_event_log_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtp_headers_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtp_packet_info_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -94,7 +92,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -110,7 +107,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -144,6 +140,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -187,12 +191,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -201,12 +203,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtp_parameters_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtp_sender_interface_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtp_sender_setparameters_callback_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtp_transceiver_direction_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("scoped_refptr_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("sequence_checker_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("simulated_network_api_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("pending_task_safety_flag_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("task_queue_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -182,12 +186,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -196,12 +198,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("bitrate_settings_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -178,22 +182,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("datagram_transport_interface_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("field_trial_based_config_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -98,7 +96,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -114,7 +111,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -155,6 +151,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -198,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -212,12 +214,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("goog_cc_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("network_control_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("dependency_descriptor_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -178,22 +182,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtp_source_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("stun_types_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -182,12 +186,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -196,12 +198,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("transport_api_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("data_rate_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("data_size_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("frequency_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("time_delta_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("timestamp_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -98,7 +96,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -114,7 +111,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -155,6 +151,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -198,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -212,12 +214,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("builtin_video_bitrate_allocator_factory_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -97,7 +95,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -113,7 +110,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -154,6 +150,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -197,12 +201,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -211,12 +213,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("encoded_frame_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("encoded_image_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -65,7 +64,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -98,7 +96,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -114,7 +111,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -155,6 +151,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -198,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -212,12 +214,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("frame_buffer_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -178,22 +182,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("recordable_encoded_frame_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("render_resolution_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("resolution_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_adaptation_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_bitrate_allocation_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -178,22 +182,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_bitrate_allocator_factory_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_bitrate_allocator_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_codec_constants_gn")

Просмотреть файл

@ -62,7 +62,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -75,7 +74,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -104,7 +102,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -120,7 +117,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -158,6 +154,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -201,12 +205,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -215,12 +217,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_frame_gn")

Просмотреть файл

@ -58,7 +58,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -71,7 +70,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -100,7 +98,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -116,7 +113,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -154,6 +150,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -197,12 +201,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -211,12 +213,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_frame_i010_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -147,6 +143,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -190,12 +194,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -204,12 +206,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_frame_metadata_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -56,7 +55,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -85,7 +83,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -101,7 +98,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -131,6 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -170,22 +174,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_frame_type_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_layers_allocation_gn")

Просмотреть файл

@ -54,7 +54,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -67,7 +66,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -96,7 +94,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -112,7 +109,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -150,6 +146,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -193,12 +197,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -207,12 +209,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_rtp_headers_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -139,6 +135,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -178,22 +182,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("video_stream_encoder_gn")

Просмотреть файл

@ -47,7 +47,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -60,7 +59,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -89,7 +87,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -105,7 +102,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -135,6 +131,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -174,22 +178,18 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("bitstream_parser_api_gn")

Просмотреть файл

@ -52,7 +52,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -66,7 +65,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -99,7 +97,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -115,7 +112,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -156,6 +152,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -199,12 +203,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -213,12 +215,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("rtc_software_fallback_wrappers_gn")

Просмотреть файл

@ -51,7 +51,6 @@ if CONFIG["OS_TARGET"] == "Android":
DEFINES["HAVE_SYS_UIO_H"] = True
DEFINES["WEBRTC_ANDROID"] = True
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_LINUX"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_GNU_SOURCE"] = True
@ -64,7 +63,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -93,7 +91,6 @@ if CONFIG["OS_TARGET"] == "OpenBSD":
DEFINES["USE_OZONE"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_LARGEFILE64_SOURCE"] = True
@ -109,7 +106,6 @@ if CONFIG["OS_TARGET"] == "WINNT":
DEFINES["PSAPI_VERSION"] = "2"
DEFINES["UNICODE"] = True
DEFINES["USE_AURA"] = "1"
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["WEBRTC_WIN"] = True
DEFINES["WIN32"] = True
DEFINES["WIN32_LEAN_AND_MEAN"] = True
@ -143,6 +139,14 @@ if CONFIG["CPU_ARCH"] == "arm":
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
if CONFIG["CPU_ARCH"] == "x86":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["CPU_ARCH"] == "x86_64":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
DEFINES["_DEBUG"] = True
@ -186,12 +190,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
@ -200,12 +202,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
"-msse2"
]
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
DEFINES["WEBRTC_ENABLE_AVX2"] = True
DEFINES["_GNU_SOURCE"] = True
Library("scalability_mode_gn")

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше