Bug 1766646 - (fix-01b3e24a83) fix build failures on Windows - moz.build file updates

This commit is contained in:
Michael Froman 2022-08-21 14:49:00 -05:00 коммит произвёл Connor Sheehan
Родитель 690782d703
Коммит 9e46e9c8b2
2 изменённых файлов: 6 добавлений и 21 удалений

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

@ -22,5 +22,5 @@
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
# don't change CLOBBER for WebIDL changes any more.
Modified build files in third_party/libwebrtc - Bug 1766646 - Vendor libwebrtc from 01b3e24a83
Modified build files in third_party/libwebrtc - Bug 1766646 - (fix-01b3e24a83) fix build failures on Windows

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

@ -9,6 +9,11 @@
COMPILE_FLAGS["OS_INCLUDES"] = []
AllowCompilerWarnings()
CXXFLAGS += [
"-mavx2",
"-mfma"
]
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
DEFINES["RTC_ENABLE_VP9"] = True
DEFINES["WEBRTC_ENABLE_AVX2"] = True
@ -44,11 +49,6 @@ if CONFIG["MOZ_DEBUG"] == "1":
if CONFIG["OS_TARGET"] == "Android":
CXXFLAGS += [
"-mavx2",
"-mfma"
]
DEFINES["ANDROID"] = True
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r20_1"
DEFINES["HAVE_SYS_UIO_H"] = True
@ -66,11 +66,6 @@ if CONFIG["OS_TARGET"] == "Android":
if CONFIG["OS_TARGET"] == "Darwin":
CXXFLAGS += [
"-mavx2",
"-mfma"
]
DEFINES["WEBRTC_MAC"] = True
DEFINES["WEBRTC_POSIX"] = True
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
@ -80,11 +75,6 @@ if CONFIG["OS_TARGET"] == "Darwin":
if CONFIG["OS_TARGET"] == "Linux":
CXXFLAGS += [
"-mavx2",
"-mfma"
]
DEFINES["USE_AURA"] = "1"
DEFINES["USE_GLIB"] = "1"
DEFINES["USE_NSS_CERTS"] = "1"
@ -105,11 +95,6 @@ if CONFIG["OS_TARGET"] == "Linux":
if CONFIG["OS_TARGET"] == "OpenBSD":
CXXFLAGS += [
"-mavx2",
"-mfma"
]
DEFINES["USE_GLIB"] = "1"
DEFINES["USE_X11"] = "1"
DEFINES["WEBRTC_BSD"] = True