Lines 1-7
Link Here
|
1 |
commit 8f47d0fc87c264faae3f47b2023f8a7eb4c36101 |
1 |
commit da3b4d2fa4d2a502149450e93d2ceaee9eb8d8e4 |
2 |
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> |
2 |
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> |
|
|
3 |
Date: Wed Sep 18 20:59:22 2024 +0000 |
3 |
|
4 |
|
4 |
regenerate FreeBSD libwebrtc patch for Firefox 129 |
5 |
regenerate FreeBSD libwebrtc patch for Firefox 131 |
5 |
|
6 |
|
6 |
diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build |
7 |
diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build |
7 |
index 2dbd5881583e..332ca04819ee 100644 |
8 |
index 2dbd5881583e..332ca04819ee 100644 |
Lines 1038-1043
index 746585483f96..33ea9b79d47b 100644
Link Here
|
1038 |
+ DEFINES["USE_X11"] = "1" |
1039 |
+ DEFINES["USE_X11"] = "1" |
1039 |
|
1040 |
|
1040 |
Library("aec3_factory_gn") |
1041 |
Library("aec3_factory_gn") |
|
|
1042 |
diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build |
1043 |
index 9609692094c1..f0da29e5d200 100644 |
1044 |
--- third_party/libwebrtc/api/audio/audio_device_gn/moz.build |
1045 |
+++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build |
1046 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
1047 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
1048 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
1049 |
DEFINES["RTC_ENABLE_VP9"] = True |
1050 |
+DEFINES["USE_GLIB"] = "1" |
1051 |
+DEFINES["USE_OZONE"] = "1" |
1052 |
+DEFINES["WEBRTC_BSD"] = True |
1053 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
1054 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
1055 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
1056 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
1057 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
1058 |
+DEFINES["WEBRTC_POSIX"] = True |
1059 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
1060 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
1061 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
1062 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
1063 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
1064 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
1065 |
|
1066 |
FINAL_LIBRARY = "xul" |
1067 |
|
1068 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
1069 |
if CONFIG["MOZ_DEBUG"] == "1": |
1070 |
|
1071 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
1072 |
- |
1073 |
-if CONFIG["OS_TARGET"] == "Android": |
1074 |
- |
1075 |
- DEFINES["ANDROID"] = True |
1076 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
1077 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
1078 |
- DEFINES["WEBRTC_ANDROID"] = True |
1079 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
1080 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
1081 |
- DEFINES["WEBRTC_LINUX"] = True |
1082 |
- DEFINES["WEBRTC_POSIX"] = True |
1083 |
- DEFINES["_GNU_SOURCE"] = True |
1084 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
1085 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
1086 |
- |
1087 |
- OS_LIBS += [ |
1088 |
- "log" |
1089 |
- ] |
1090 |
- |
1091 |
-if CONFIG["OS_TARGET"] == "Darwin": |
1092 |
- |
1093 |
- DEFINES["WEBRTC_MAC"] = True |
1094 |
- DEFINES["WEBRTC_POSIX"] = True |
1095 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
1096 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
1097 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
1098 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
1099 |
- |
1100 |
-if CONFIG["OS_TARGET"] == "Linux": |
1101 |
- |
1102 |
- DEFINES["USE_AURA"] = "1" |
1103 |
- DEFINES["USE_GLIB"] = "1" |
1104 |
- DEFINES["USE_NSS_CERTS"] = "1" |
1105 |
- DEFINES["USE_OZONE"] = "1" |
1106 |
- DEFINES["USE_UDEV"] = True |
1107 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
1108 |
- DEFINES["WEBRTC_LINUX"] = True |
1109 |
- DEFINES["WEBRTC_POSIX"] = True |
1110 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
1111 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
1112 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
1113 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
1114 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
1115 |
- |
1116 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
1117 |
- |
1118 |
- DEFINES["USE_GLIB"] = "1" |
1119 |
- DEFINES["USE_OZONE"] = "1" |
1120 |
- DEFINES["USE_X11"] = "1" |
1121 |
- DEFINES["WEBRTC_BSD"] = True |
1122 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
1123 |
- DEFINES["WEBRTC_POSIX"] = True |
1124 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
1125 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
1126 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
1127 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
1128 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
1129 |
- |
1130 |
-if CONFIG["OS_TARGET"] == "WINNT": |
1131 |
- |
1132 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
1133 |
- DEFINES["NOMINMAX"] = True |
1134 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
1135 |
- DEFINES["PSAPI_VERSION"] = "2" |
1136 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
1137 |
- DEFINES["UNICODE"] = True |
1138 |
- DEFINES["USE_AURA"] = "1" |
1139 |
- DEFINES["WEBRTC_WIN"] = True |
1140 |
- DEFINES["WIN32"] = True |
1141 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
1142 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
1143 |
- DEFINES["WINVER"] = "0x0A00" |
1144 |
- DEFINES["_ATL_NO_OPENGL"] = True |
1145 |
- DEFINES["_CRT_RAND_S"] = True |
1146 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
1147 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
1148 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
1149 |
- DEFINES["_HAS_NODISCARD"] = True |
1150 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
1151 |
- DEFINES["_SECURE_ATL"] = True |
1152 |
- DEFINES["_UNICODE"] = True |
1153 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
1154 |
- DEFINES["_WINDOWS"] = True |
1155 |
- DEFINES["__STD_C"] = True |
1156 |
+ DEFINES["_DEBUG"] = True |
1157 |
|
1158 |
if CONFIG["TARGET_CPU"] == "aarch64": |
1159 |
|
1160 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1161 |
DEFINES["WEBRTC_HAS_NEON"] = True |
1162 |
|
1163 |
-if CONFIG["TARGET_CPU"] == "arm": |
1164 |
- |
1165 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
1166 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
1167 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
1168 |
- |
1169 |
if CONFIG["TARGET_CPU"] == "mips32": |
1170 |
|
1171 |
DEFINES["MIPS32_LE"] = True |
1172 |
DEFINES["MIPS_FPU_LE"] = True |
1173 |
- DEFINES["_GNU_SOURCE"] = True |
1174 |
- |
1175 |
-if CONFIG["TARGET_CPU"] == "mips64": |
1176 |
- |
1177 |
- DEFINES["_GNU_SOURCE"] = True |
1178 |
|
1179 |
if CONFIG["TARGET_CPU"] == "x86": |
1180 |
|
1181 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
1182 |
|
1183 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
1184 |
|
1185 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1186 |
- |
1187 |
- DEFINES["_DEBUG"] = True |
1188 |
- |
1189 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
1190 |
- |
1191 |
- DEFINES["_DEBUG"] = True |
1192 |
- |
1193 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
1194 |
- |
1195 |
- DEFINES["_DEBUG"] = True |
1196 |
- |
1197 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
1198 |
- |
1199 |
- DEFINES["_DEBUG"] = True |
1200 |
- |
1201 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
1202 |
- |
1203 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
1204 |
- |
1205 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
1206 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1207 |
|
1208 |
DEFINES["USE_X11"] = "1" |
1209 |
|
1210 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
1211 |
- |
1212 |
- OS_LIBS += [ |
1213 |
- "unwind" |
1214 |
- ] |
1215 |
- |
1216 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
1217 |
- |
1218 |
- DEFINES["_GNU_SOURCE"] = True |
1219 |
- |
1220 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
1221 |
- |
1222 |
- DEFINES["_GNU_SOURCE"] = True |
1223 |
- |
1224 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
1225 |
- |
1226 |
- DEFINES["_GNU_SOURCE"] = True |
1227 |
- |
1228 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
1229 |
- |
1230 |
- DEFINES["_GNU_SOURCE"] = True |
1231 |
- |
1232 |
Library("audio_device_gn") |
1041 |
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build |
1233 |
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build |
1042 |
index e2561db08f06..59da7761dd35 100644 |
1234 |
index e2561db08f06..59da7761dd35 100644 |
1043 |
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build |
1235 |
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build |
Lines 1641-1650
index 36d43783a3e7..fd0111ba0ffd 100644
Link Here
|
1641 |
- DEFINES["_GNU_SOURCE"] = True |
1833 |
- DEFINES["_GNU_SOURCE"] = True |
1642 |
- |
1834 |
- |
1643 |
Library("audio_mixer_api_gn") |
1835 |
Library("audio_mixer_api_gn") |
1644 |
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build |
1836 |
diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build |
1645 |
index 06f43e765114..6c06b87bcfe3 100644 |
1837 |
index 7226d2a92a40..c60a400c218b 100644 |
1646 |
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build |
1838 |
--- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build |
1647 |
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build |
1839 |
+++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build |
1648 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
1840 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
1649 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
1841 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
1650 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
1842 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 1667-1673
index 06f43e765114..6c06b87bcfe3 100644
Link Here
|
1667 |
|
1859 |
|
1668 |
FINAL_LIBRARY = "xul" |
1860 |
FINAL_LIBRARY = "xul" |
1669 |
|
1861 |
|
1670 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
1862 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
1671 |
if CONFIG["MOZ_DEBUG"] == "1": |
1863 |
if CONFIG["MOZ_DEBUG"] == "1": |
1672 |
|
1864 |
|
1673 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
1865 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 1764-1769
index 06f43e765114..6c06b87bcfe3 100644
Link Here
|
1764 |
|
1956 |
|
1765 |
-if CONFIG["TARGET_CPU"] == "arm": |
1957 |
-if CONFIG["TARGET_CPU"] == "arm": |
1766 |
- |
1958 |
- |
|
|
1959 |
- CXXFLAGS += [ |
1960 |
- "-mfpu=neon" |
1961 |
- ] |
1962 |
- |
1767 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
1963 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
1768 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
1964 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
1769 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
1965 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 1780-1789
index 06f43e765114..6c06b87bcfe3 100644
Link Here
|
1780 |
|
1976 |
|
1781 |
if CONFIG["TARGET_CPU"] == "x86": |
1977 |
if CONFIG["TARGET_CPU"] == "x86": |
1782 |
|
1978 |
|
1783 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
1979 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
1784 |
|
1980 |
- |
1785 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
1981 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
1786 |
|
1982 |
- |
|
|
1983 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
1984 |
- |
1787 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1985 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1788 |
- |
1986 |
- |
1789 |
- DEFINES["_DEBUG"] = True |
1987 |
- DEFINES["_DEBUG"] = True |
Lines 1805-1820
index 06f43e765114..6c06b87bcfe3 100644
Link Here
|
1805 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2003 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
1806 |
- |
2004 |
- |
1807 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
2005 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
1808 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2006 |
- |
1809 |
|
2007 |
- DEFINES["USE_X11"] = "1" |
1810 |
DEFINES["USE_X11"] = "1" |
2008 |
- |
1811 |
|
|
|
1812 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
2009 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
1813 |
- |
2010 |
- |
1814 |
- OS_LIBS += [ |
2011 |
- OS_LIBS += [ |
1815 |
- "unwind" |
2012 |
- "unwind" |
1816 |
- ] |
2013 |
- ] |
1817 |
- |
2014 |
- |
|
|
2015 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
2016 |
- |
2017 |
CXXFLAGS += [ |
2018 |
"-msse2" |
2019 |
] |
2020 |
|
1818 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
2021 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
1819 |
- |
2022 |
- |
1820 |
- DEFINES["_GNU_SOURCE"] = True |
2023 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 1824-1841
index 06f43e765114..6c06b87bcfe3 100644
Link Here
|
1824 |
- DEFINES["_GNU_SOURCE"] = True |
2027 |
- DEFINES["_GNU_SOURCE"] = True |
1825 |
- |
2028 |
- |
1826 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
2029 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
1827 |
- |
2030 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
2031 |
|
2032 |
- CXXFLAGS += [ |
2033 |
- "-msse2" |
2034 |
- ] |
2035 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
2036 |
|
1828 |
- DEFINES["_GNU_SOURCE"] = True |
2037 |
- DEFINES["_GNU_SOURCE"] = True |
1829 |
- |
2038 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
2039 |
|
1830 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
2040 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
1831 |
- |
2041 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
2042 |
|
1832 |
- DEFINES["_GNU_SOURCE"] = True |
2043 |
- DEFINES["_GNU_SOURCE"] = True |
1833 |
- |
2044 |
+ DEFINES["USE_X11"] = "1" |
1834 |
Library("echo_control_gn") |
2045 |
|
1835 |
diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build |
2046 |
Library("audio_processing_gn") |
1836 |
index 5811f4d9321b..0f11017e2f6c 100644 |
2047 |
diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build |
1837 |
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build |
2048 |
index d7629659d6ba..cb69c23840a0 100644 |
1838 |
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build |
2049 |
--- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build |
|
|
2050 |
+++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build |
1839 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
2051 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
1840 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2052 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
1841 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
2053 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 1858-1864
index 5811f4d9321b..0f11017e2f6c 100644
Link Here
|
1858 |
|
2070 |
|
1859 |
FINAL_LIBRARY = "xul" |
2071 |
FINAL_LIBRARY = "xul" |
1860 |
|
2072 |
|
1861 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
2073 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
1862 |
if CONFIG["MOZ_DEBUG"] == "1": |
2074 |
if CONFIG["MOZ_DEBUG"] == "1": |
1863 |
|
2075 |
|
1864 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
2076 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 1877-1886
index 5811f4d9321b..0f11017e2f6c 100644
Link Here
|
1877 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
2089 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
1878 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
2090 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
1879 |
- |
2091 |
- |
1880 |
- OS_LIBS += [ |
|
|
1881 |
- "log" |
1882 |
- ] |
1883 |
- |
1884 |
-if CONFIG["OS_TARGET"] == "Darwin": |
2092 |
-if CONFIG["OS_TARGET"] == "Darwin": |
1885 |
- |
2093 |
- |
1886 |
- DEFINES["WEBRTC_MAC"] = True |
2094 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 1946-1958
index 5811f4d9321b..0f11017e2f6c 100644
Link Here
|
1946 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
2154 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
1947 |
- DEFINES["_WINDOWS"] = True |
2155 |
- DEFINES["_WINDOWS"] = True |
1948 |
- DEFINES["__STD_C"] = True |
2156 |
- DEFINES["__STD_C"] = True |
1949 |
- |
|
|
1950 |
- OS_LIBS += [ |
1951 |
- "crypt32", |
1952 |
- "iphlpapi", |
1953 |
- "secur32", |
1954 |
- "winmm" |
1955 |
- ] |
1956 |
+ DEFINES["_DEBUG"] = True |
2157 |
+ DEFINES["_DEBUG"] = True |
1957 |
|
2158 |
|
1958 |
if CONFIG["TARGET_CPU"] == "aarch64": |
2159 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 2049-2059
index 5811f4d9321b..0f11017e2f6c 100644
Link Here
|
2049 |
- DEFINES["_GNU_SOURCE"] = True |
2250 |
- DEFINES["_GNU_SOURCE"] = True |
2050 |
+ DEFINES["USE_X11"] = "1" |
2251 |
+ DEFINES["USE_X11"] = "1" |
2051 |
|
2252 |
|
2052 |
Library("audio_decoder_L16_gn") |
2253 |
Library("audio_processing_statistics_gn") |
2053 |
diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build |
2254 |
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build |
2054 |
index f4fb06ef3f09..90113fd85d92 100644 |
2255 |
index 06f43e765114..6c06b87bcfe3 100644 |
2055 |
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build |
2256 |
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build |
2056 |
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build |
2257 |
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build |
|
|
2258 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
2259 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2260 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
2261 |
DEFINES["RTC_ENABLE_VP9"] = True |
2262 |
+DEFINES["USE_GLIB"] = "1" |
2263 |
+DEFINES["USE_OZONE"] = "1" |
2264 |
+DEFINES["WEBRTC_BSD"] = True |
2265 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
2266 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
2267 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
2268 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
2269 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
2270 |
+DEFINES["WEBRTC_POSIX"] = True |
2271 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
2272 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
2273 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
2274 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
2275 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
2276 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
2277 |
|
2278 |
FINAL_LIBRARY = "xul" |
2279 |
|
2280 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
2281 |
if CONFIG["MOZ_DEBUG"] == "1": |
2282 |
|
2283 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
2284 |
- |
2285 |
-if CONFIG["OS_TARGET"] == "Android": |
2286 |
- |
2287 |
- DEFINES["ANDROID"] = True |
2288 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
2289 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
2290 |
- DEFINES["WEBRTC_ANDROID"] = True |
2291 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
2292 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
2293 |
- DEFINES["WEBRTC_LINUX"] = True |
2294 |
- DEFINES["WEBRTC_POSIX"] = True |
2295 |
- DEFINES["_GNU_SOURCE"] = True |
2296 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
2297 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
2298 |
- |
2299 |
- OS_LIBS += [ |
2300 |
- "log" |
2301 |
- ] |
2302 |
- |
2303 |
-if CONFIG["OS_TARGET"] == "Darwin": |
2304 |
- |
2305 |
- DEFINES["WEBRTC_MAC"] = True |
2306 |
- DEFINES["WEBRTC_POSIX"] = True |
2307 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
2308 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
2309 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
2310 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
2311 |
- |
2312 |
-if CONFIG["OS_TARGET"] == "Linux": |
2313 |
- |
2314 |
- DEFINES["USE_AURA"] = "1" |
2315 |
- DEFINES["USE_GLIB"] = "1" |
2316 |
- DEFINES["USE_NSS_CERTS"] = "1" |
2317 |
- DEFINES["USE_OZONE"] = "1" |
2318 |
- DEFINES["USE_UDEV"] = True |
2319 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
2320 |
- DEFINES["WEBRTC_LINUX"] = True |
2321 |
- DEFINES["WEBRTC_POSIX"] = True |
2322 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
2323 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
2324 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
2325 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
2326 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
2327 |
- |
2328 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
2329 |
- |
2330 |
- DEFINES["USE_GLIB"] = "1" |
2331 |
- DEFINES["USE_OZONE"] = "1" |
2332 |
- DEFINES["USE_X11"] = "1" |
2333 |
- DEFINES["WEBRTC_BSD"] = True |
2334 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
2335 |
- DEFINES["WEBRTC_POSIX"] = True |
2336 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
2337 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
2338 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
2339 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
2340 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
2341 |
- |
2342 |
-if CONFIG["OS_TARGET"] == "WINNT": |
2343 |
- |
2344 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2345 |
- DEFINES["NOMINMAX"] = True |
2346 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
2347 |
- DEFINES["PSAPI_VERSION"] = "2" |
2348 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
2349 |
- DEFINES["UNICODE"] = True |
2350 |
- DEFINES["USE_AURA"] = "1" |
2351 |
- DEFINES["WEBRTC_WIN"] = True |
2352 |
- DEFINES["WIN32"] = True |
2353 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
2354 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
2355 |
- DEFINES["WINVER"] = "0x0A00" |
2356 |
- DEFINES["_ATL_NO_OPENGL"] = True |
2357 |
- DEFINES["_CRT_RAND_S"] = True |
2358 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
2359 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
2360 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
2361 |
- DEFINES["_HAS_NODISCARD"] = True |
2362 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
2363 |
- DEFINES["_SECURE_ATL"] = True |
2364 |
- DEFINES["_UNICODE"] = True |
2365 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
2366 |
- DEFINES["_WINDOWS"] = True |
2367 |
- DEFINES["__STD_C"] = True |
2368 |
+ DEFINES["_DEBUG"] = True |
2369 |
|
2370 |
if CONFIG["TARGET_CPU"] == "aarch64": |
2371 |
|
2372 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2373 |
DEFINES["WEBRTC_HAS_NEON"] = True |
2374 |
|
2375 |
-if CONFIG["TARGET_CPU"] == "arm": |
2376 |
- |
2377 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
2378 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
2379 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
2380 |
- |
2381 |
if CONFIG["TARGET_CPU"] == "mips32": |
2382 |
|
2383 |
DEFINES["MIPS32_LE"] = True |
2384 |
DEFINES["MIPS_FPU_LE"] = True |
2385 |
- DEFINES["_GNU_SOURCE"] = True |
2386 |
- |
2387 |
-if CONFIG["TARGET_CPU"] == "mips64": |
2388 |
- |
2389 |
- DEFINES["_GNU_SOURCE"] = True |
2390 |
|
2391 |
if CONFIG["TARGET_CPU"] == "x86": |
2392 |
|
2393 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
2394 |
|
2395 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
2396 |
|
2397 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2398 |
- |
2399 |
- DEFINES["_DEBUG"] = True |
2400 |
- |
2401 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
2402 |
- |
2403 |
- DEFINES["_DEBUG"] = True |
2404 |
- |
2405 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
2406 |
- |
2407 |
- DEFINES["_DEBUG"] = True |
2408 |
- |
2409 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
2410 |
- |
2411 |
- DEFINES["_DEBUG"] = True |
2412 |
- |
2413 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2414 |
- |
2415 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2416 |
- |
2417 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
2418 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2419 |
|
2420 |
DEFINES["USE_X11"] = "1" |
2421 |
|
2422 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
2423 |
- |
2424 |
- OS_LIBS += [ |
2425 |
- "unwind" |
2426 |
- ] |
2427 |
- |
2428 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
2429 |
- |
2430 |
- DEFINES["_GNU_SOURCE"] = True |
2431 |
- |
2432 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
2433 |
- |
2434 |
- DEFINES["_GNU_SOURCE"] = True |
2435 |
- |
2436 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
2437 |
- |
2438 |
- DEFINES["_GNU_SOURCE"] = True |
2439 |
- |
2440 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
2441 |
- |
2442 |
- DEFINES["_GNU_SOURCE"] = True |
2443 |
- |
2444 |
Library("echo_control_gn") |
2445 |
diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build |
2446 |
index 5811f4d9321b..0f11017e2f6c 100644 |
2447 |
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build |
2448 |
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build |
2057 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
2449 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
2058 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2450 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2059 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
2451 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 2267-2277
index f4fb06ef3f09..90113fd85d92 100644
Link Here
|
2267 |
- DEFINES["_GNU_SOURCE"] = True |
2659 |
- DEFINES["_GNU_SOURCE"] = True |
2268 |
+ DEFINES["USE_X11"] = "1" |
2660 |
+ DEFINES["USE_X11"] = "1" |
2269 |
|
2661 |
|
2270 |
Library("audio_encoder_L16_gn") |
2662 |
Library("audio_decoder_L16_gn") |
2271 |
diff --git third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build |
2663 |
diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build |
2272 |
index faed7e9b0f61..84835da8965c 100644 |
2664 |
index f4fb06ef3f09..90113fd85d92 100644 |
2273 |
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build |
2665 |
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build |
2274 |
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build |
2666 |
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build |
2275 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
2667 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
2276 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2668 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2277 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
2669 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 2294-2300
index faed7e9b0f61..84835da8965c 100644
Link Here
|
2294 |
|
2686 |
|
2295 |
FINAL_LIBRARY = "xul" |
2687 |
FINAL_LIBRARY = "xul" |
2296 |
|
2688 |
|
2297 |
@@ -46,185 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: |
2689 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
2298 |
if CONFIG["MOZ_DEBUG"] == "1": |
2690 |
if CONFIG["MOZ_DEBUG"] == "1": |
2299 |
|
2691 |
|
2300 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
2692 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 2485-2496
index faed7e9b0f61..84835da8965c 100644
Link Here
|
2485 |
- DEFINES["_GNU_SOURCE"] = True |
2877 |
- DEFINES["_GNU_SOURCE"] = True |
2486 |
+ DEFINES["USE_X11"] = "1" |
2878 |
+ DEFINES["USE_X11"] = "1" |
2487 |
|
2879 |
|
2488 |
Library("audio_codecs_api_gn") |
2880 |
Library("audio_encoder_L16_gn") |
2489 |
diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build |
2881 |
diff --git third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build |
2490 |
index 5de9c2960769..a0d91297b550 100644 |
2882 |
index faed7e9b0f61..84835da8965c 100644 |
2491 |
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build |
2883 |
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build |
2492 |
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build |
2884 |
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build |
2493 |
@@ -12,13 +12,23 @@ AllowCompilerWarnings() |
2885 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
2494 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2886 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2495 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
2887 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
2496 |
DEFINES["RTC_ENABLE_VP9"] = True |
2888 |
DEFINES["RTC_ENABLE_VP9"] = True |
Lines 2504-2511
index 5de9c2960769..a0d91297b550 100644
Link Here
|
2504 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
2896 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
2505 |
+DEFINES["WEBRTC_POSIX"] = True |
2897 |
+DEFINES["WEBRTC_POSIX"] = True |
2506 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
2898 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
2507 |
DEFINES["WEBRTC_USE_BUILTIN_ILBC"] = "1" |
|
|
2508 |
DEFINES["WEBRTC_USE_BUILTIN_OPUS"] = "1" |
2509 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
2899 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
2510 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
2900 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
2511 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
2901 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
Lines 2514-2520
index 5de9c2960769..a0d91297b550 100644
Link Here
|
2514 |
|
2904 |
|
2515 |
FINAL_LIBRARY = "xul" |
2905 |
FINAL_LIBRARY = "xul" |
2516 |
|
2906 |
|
2517 |
@@ -45,189 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: |
2907 |
@@ -46,185 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: |
2518 |
if CONFIG["MOZ_DEBUG"] == "1": |
2908 |
if CONFIG["MOZ_DEBUG"] == "1": |
2519 |
|
2909 |
|
2520 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
2910 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 2562-2571
index 5de9c2960769..a0d91297b550 100644
Link Here
|
2562 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
2952 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
2563 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
2953 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
2564 |
- |
2954 |
- |
2565 |
- OS_LIBS += [ |
|
|
2566 |
- "rt" |
2567 |
- ] |
2568 |
- |
2569 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
2955 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
2570 |
- |
2956 |
- |
2571 |
- DEFINES["USE_GLIB"] = "1" |
2957 |
- DEFINES["USE_GLIB"] = "1" |
Lines 2709-2719
index 5de9c2960769..a0d91297b550 100644
Link Here
|
2709 |
- DEFINES["_GNU_SOURCE"] = True |
3095 |
- DEFINES["_GNU_SOURCE"] = True |
2710 |
+ DEFINES["USE_X11"] = "1" |
3096 |
+ DEFINES["USE_X11"] = "1" |
2711 |
|
3097 |
|
2712 |
Library("builtin_audio_decoder_factory_gn") |
3098 |
Library("audio_codecs_api_gn") |
2713 |
diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build |
3099 |
diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build |
2714 |
index 5ff7dfd0ffd4..334acbe7d342 100644 |
3100 |
index 5de9c2960769..a0d91297b550 100644 |
2715 |
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build |
3101 |
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build |
2716 |
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build |
3102 |
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build |
2717 |
@@ -12,13 +12,23 @@ AllowCompilerWarnings() |
3103 |
@@ -12,13 +12,23 @@ AllowCompilerWarnings() |
2718 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
3104 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2719 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
3105 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 2933-2944
index 5ff7dfd0ffd4..334acbe7d342 100644
Link Here
|
2933 |
- DEFINES["_GNU_SOURCE"] = True |
3319 |
- DEFINES["_GNU_SOURCE"] = True |
2934 |
+ DEFINES["USE_X11"] = "1" |
3320 |
+ DEFINES["USE_X11"] = "1" |
2935 |
|
3321 |
|
2936 |
Library("builtin_audio_encoder_factory_gn") |
3322 |
Library("builtin_audio_decoder_factory_gn") |
2937 |
diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build |
3323 |
diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build |
2938 |
index e1c8fa6a08bc..7799b83b91bb 100644 |
3324 |
index 5ff7dfd0ffd4..334acbe7d342 100644 |
2939 |
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build |
3325 |
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build |
2940 |
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build |
3326 |
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build |
2941 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
3327 |
@@ -12,13 +12,23 @@ AllowCompilerWarnings() |
2942 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
3328 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
2943 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
3329 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
2944 |
DEFINES["RTC_ENABLE_VP9"] = True |
3330 |
DEFINES["RTC_ENABLE_VP9"] = True |
Lines 2952-2957
index e1c8fa6a08bc..7799b83b91bb 100644
Link Here
|
2952 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
3338 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
2953 |
+DEFINES["WEBRTC_POSIX"] = True |
3339 |
+DEFINES["WEBRTC_POSIX"] = True |
2954 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
3340 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
|
|
3341 |
DEFINES["WEBRTC_USE_BUILTIN_ILBC"] = "1" |
3342 |
DEFINES["WEBRTC_USE_BUILTIN_OPUS"] = "1" |
2955 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
3343 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
2956 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
3344 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
2957 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
3345 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
Lines 2960-2966
index e1c8fa6a08bc..7799b83b91bb 100644
Link Here
|
2960 |
|
3348 |
|
2961 |
FINAL_LIBRARY = "xul" |
3349 |
FINAL_LIBRARY = "xul" |
2962 |
|
3350 |
|
2963 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
3351 |
@@ -45,189 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: |
2964 |
if CONFIG["MOZ_DEBUG"] == "1": |
3352 |
if CONFIG["MOZ_DEBUG"] == "1": |
2965 |
|
3353 |
|
2966 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
3354 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 3008-3013
index e1c8fa6a08bc..7799b83b91bb 100644
Link Here
|
3008 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
3396 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
3009 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
3397 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
3010 |
- |
3398 |
- |
|
|
3399 |
- OS_LIBS += [ |
3400 |
- "rt" |
3401 |
- ] |
3402 |
- |
3011 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
3403 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
3012 |
- |
3404 |
- |
3013 |
- DEFINES["USE_GLIB"] = "1" |
3405 |
- DEFINES["USE_GLIB"] = "1" |
Lines 3151-3161
index e1c8fa6a08bc..7799b83b91bb 100644
Link Here
|
3151 |
- DEFINES["_GNU_SOURCE"] = True |
3543 |
- DEFINES["_GNU_SOURCE"] = True |
3152 |
+ DEFINES["USE_X11"] = "1" |
3544 |
+ DEFINES["USE_X11"] = "1" |
3153 |
|
3545 |
|
3154 |
Library("audio_decoder_g711_gn") |
3546 |
Library("builtin_audio_encoder_factory_gn") |
3155 |
diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build |
3547 |
diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build |
3156 |
index 39513d15b310..aff5480ad0b3 100644 |
3548 |
index e1c8fa6a08bc..7799b83b91bb 100644 |
3157 |
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build |
3549 |
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build |
3158 |
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build |
3550 |
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build |
|
|
3551 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
3552 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
3553 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
3554 |
DEFINES["RTC_ENABLE_VP9"] = True |
3555 |
+DEFINES["USE_GLIB"] = "1" |
3556 |
+DEFINES["USE_OZONE"] = "1" |
3557 |
+DEFINES["WEBRTC_BSD"] = True |
3558 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
3559 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
3560 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
3561 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
3562 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
3563 |
+DEFINES["WEBRTC_POSIX"] = True |
3564 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
3565 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
3566 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
3567 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
3568 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
3569 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
3570 |
|
3571 |
FINAL_LIBRARY = "xul" |
3572 |
|
3573 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
3574 |
if CONFIG["MOZ_DEBUG"] == "1": |
3575 |
|
3576 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
3577 |
- |
3578 |
-if CONFIG["OS_TARGET"] == "Android": |
3579 |
- |
3580 |
- DEFINES["ANDROID"] = True |
3581 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
3582 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
3583 |
- DEFINES["WEBRTC_ANDROID"] = True |
3584 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
3585 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
3586 |
- DEFINES["WEBRTC_LINUX"] = True |
3587 |
- DEFINES["WEBRTC_POSIX"] = True |
3588 |
- DEFINES["_GNU_SOURCE"] = True |
3589 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
3590 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
3591 |
- |
3592 |
- OS_LIBS += [ |
3593 |
- "log" |
3594 |
- ] |
3595 |
- |
3596 |
-if CONFIG["OS_TARGET"] == "Darwin": |
3597 |
- |
3598 |
- DEFINES["WEBRTC_MAC"] = True |
3599 |
- DEFINES["WEBRTC_POSIX"] = True |
3600 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
3601 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
3602 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
3603 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
3604 |
- |
3605 |
-if CONFIG["OS_TARGET"] == "Linux": |
3606 |
- |
3607 |
- DEFINES["USE_AURA"] = "1" |
3608 |
- DEFINES["USE_GLIB"] = "1" |
3609 |
- DEFINES["USE_NSS_CERTS"] = "1" |
3610 |
- DEFINES["USE_OZONE"] = "1" |
3611 |
- DEFINES["USE_UDEV"] = True |
3612 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
3613 |
- DEFINES["WEBRTC_LINUX"] = True |
3614 |
- DEFINES["WEBRTC_POSIX"] = True |
3615 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
3616 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
3617 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
3618 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
3619 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
3620 |
- |
3621 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
3622 |
- |
3623 |
- DEFINES["USE_GLIB"] = "1" |
3624 |
- DEFINES["USE_OZONE"] = "1" |
3625 |
- DEFINES["USE_X11"] = "1" |
3626 |
- DEFINES["WEBRTC_BSD"] = True |
3627 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
3628 |
- DEFINES["WEBRTC_POSIX"] = True |
3629 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
3630 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
3631 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
3632 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
3633 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
3634 |
- |
3635 |
-if CONFIG["OS_TARGET"] == "WINNT": |
3636 |
- |
3637 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3638 |
- DEFINES["NOMINMAX"] = True |
3639 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
3640 |
- DEFINES["PSAPI_VERSION"] = "2" |
3641 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
3642 |
- DEFINES["UNICODE"] = True |
3643 |
- DEFINES["USE_AURA"] = "1" |
3644 |
- DEFINES["WEBRTC_WIN"] = True |
3645 |
- DEFINES["WIN32"] = True |
3646 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
3647 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
3648 |
- DEFINES["WINVER"] = "0x0A00" |
3649 |
- DEFINES["_ATL_NO_OPENGL"] = True |
3650 |
- DEFINES["_CRT_RAND_S"] = True |
3651 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
3652 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
3653 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
3654 |
- DEFINES["_HAS_NODISCARD"] = True |
3655 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
3656 |
- DEFINES["_SECURE_ATL"] = True |
3657 |
- DEFINES["_UNICODE"] = True |
3658 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
3659 |
- DEFINES["_WINDOWS"] = True |
3660 |
- DEFINES["__STD_C"] = True |
3661 |
- |
3662 |
- OS_LIBS += [ |
3663 |
- "crypt32", |
3664 |
- "iphlpapi", |
3665 |
- "secur32", |
3666 |
- "winmm" |
3667 |
- ] |
3668 |
+ DEFINES["_DEBUG"] = True |
3669 |
|
3670 |
if CONFIG["TARGET_CPU"] == "aarch64": |
3671 |
|
3672 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
3673 |
DEFINES["WEBRTC_HAS_NEON"] = True |
3674 |
|
3675 |
-if CONFIG["TARGET_CPU"] == "arm": |
3676 |
- |
3677 |
- CXXFLAGS += [ |
3678 |
- "-mfpu=neon" |
3679 |
- ] |
3680 |
- |
3681 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
3682 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
3683 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
3684 |
- |
3685 |
if CONFIG["TARGET_CPU"] == "mips32": |
3686 |
|
3687 |
DEFINES["MIPS32_LE"] = True |
3688 |
DEFINES["MIPS_FPU_LE"] = True |
3689 |
- DEFINES["_GNU_SOURCE"] = True |
3690 |
- |
3691 |
-if CONFIG["TARGET_CPU"] == "mips64": |
3692 |
- |
3693 |
- DEFINES["_GNU_SOURCE"] = True |
3694 |
|
3695 |
if CONFIG["TARGET_CPU"] == "x86": |
3696 |
|
3697 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
3698 |
- |
3699 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
3700 |
- |
3701 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
3702 |
- |
3703 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
3704 |
- |
3705 |
- DEFINES["_DEBUG"] = True |
3706 |
- |
3707 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
3708 |
- |
3709 |
- DEFINES["_DEBUG"] = True |
3710 |
- |
3711 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
3712 |
- |
3713 |
- DEFINES["_DEBUG"] = True |
3714 |
- |
3715 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
3716 |
- |
3717 |
- DEFINES["_DEBUG"] = True |
3718 |
- |
3719 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3720 |
- |
3721 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3722 |
- |
3723 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
3724 |
- |
3725 |
- DEFINES["USE_X11"] = "1" |
3726 |
- |
3727 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
3728 |
- |
3729 |
- OS_LIBS += [ |
3730 |
- "unwind" |
3731 |
- ] |
3732 |
- |
3733 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
3734 |
- |
3735 |
CXXFLAGS += [ |
3736 |
"-msse2" |
3737 |
] |
3738 |
|
3739 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
3740 |
- |
3741 |
- DEFINES["_GNU_SOURCE"] = True |
3742 |
- |
3743 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
3744 |
- |
3745 |
- DEFINES["_GNU_SOURCE"] = True |
3746 |
- |
3747 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
3748 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
3749 |
|
3750 |
- CXXFLAGS += [ |
3751 |
- "-msse2" |
3752 |
- ] |
3753 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
3754 |
|
3755 |
- DEFINES["_GNU_SOURCE"] = True |
3756 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
3757 |
|
3758 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
3759 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3760 |
|
3761 |
- DEFINES["_GNU_SOURCE"] = True |
3762 |
+ DEFINES["USE_X11"] = "1" |
3763 |
|
3764 |
Library("audio_decoder_g711_gn") |
3765 |
diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build |
3766 |
index 39513d15b310..aff5480ad0b3 100644 |
3767 |
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build |
3768 |
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build |
3159 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
3769 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
3160 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
3770 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
3161 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
3771 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 8105-8111
index a6ac64bf50c6..541f2359270f 100644
Link Here
|
8105 |
- |
8715 |
- |
8106 |
Library("field_trials_view_gn") |
8716 |
Library("field_trials_view_gn") |
8107 |
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build |
8717 |
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build |
8108 |
index 2ed19fd691d7..5a66e1d8aace 100644 |
8718 |
index b79f531f5def..36790a9abbbb 100644 |
8109 |
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build |
8719 |
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build |
8110 |
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build |
8720 |
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build |
8111 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
8721 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
Lines 8130-8136
index 2ed19fd691d7..5a66e1d8aace 100644
Link Here
|
8130 |
|
8740 |
|
8131 |
FINAL_LIBRARY = "xul" |
8741 |
FINAL_LIBRARY = "xul" |
8132 |
|
8742 |
|
8133 |
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
8743 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
8134 |
if CONFIG["MOZ_DEBUG"] == "1": |
8744 |
if CONFIG["MOZ_DEBUG"] == "1": |
8135 |
|
8745 |
|
8136 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
8746 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 8234-8239
index 2ed19fd691d7..5a66e1d8aace 100644
Link Here
|
8234 |
|
8844 |
|
8235 |
-if CONFIG["TARGET_CPU"] == "arm": |
8845 |
-if CONFIG["TARGET_CPU"] == "arm": |
8236 |
- |
8846 |
- |
|
|
8847 |
- CXXFLAGS += [ |
8848 |
- "-mfpu=neon" |
8849 |
- ] |
8850 |
- |
8237 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
8851 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
8238 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
8852 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
8239 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
8853 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 8250-8259
index 2ed19fd691d7..5a66e1d8aace 100644
Link Here
|
8250 |
|
8864 |
|
8251 |
if CONFIG["TARGET_CPU"] == "x86": |
8865 |
if CONFIG["TARGET_CPU"] == "x86": |
8252 |
|
8866 |
|
8253 |
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
8867 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
8254 |
|
8868 |
- |
8255 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
8869 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
8256 |
|
8870 |
- |
|
|
8871 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
8872 |
- |
8257 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8873 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8258 |
- |
8874 |
- |
8259 |
- DEFINES["_DEBUG"] = True |
8875 |
- DEFINES["_DEBUG"] = True |
Lines 8275-8290
index 2ed19fd691d7..5a66e1d8aace 100644
Link Here
|
8275 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8891 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8276 |
- |
8892 |
- |
8277 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
8893 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
8278 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8894 |
- |
8279 |
|
8895 |
- DEFINES["USE_X11"] = "1" |
8280 |
DEFINES["USE_X11"] = "1" |
8896 |
- |
8281 |
|
|
|
8282 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
8897 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
8283 |
- |
8898 |
- |
8284 |
- OS_LIBS += [ |
8899 |
- OS_LIBS += [ |
8285 |
- "unwind" |
8900 |
- "unwind" |
8286 |
- ] |
8901 |
- ] |
8287 |
- |
8902 |
- |
|
|
8903 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
8904 |
- |
8905 |
CXXFLAGS += [ |
8906 |
"-msse2" |
8907 |
] |
8908 |
|
8288 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
8909 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
8289 |
- |
8910 |
- |
8290 |
- DEFINES["_GNU_SOURCE"] = True |
8911 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 8294-8306
index 2ed19fd691d7..5a66e1d8aace 100644
Link Here
|
8294 |
- DEFINES["_GNU_SOURCE"] = True |
8915 |
- DEFINES["_GNU_SOURCE"] = True |
8295 |
- |
8916 |
- |
8296 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
8917 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
8297 |
- |
8918 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
8919 |
|
8920 |
- CXXFLAGS += [ |
8921 |
- "-msse2" |
8922 |
- ] |
8923 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
8924 |
|
8298 |
- DEFINES["_GNU_SOURCE"] = True |
8925 |
- DEFINES["_GNU_SOURCE"] = True |
8299 |
- |
8926 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
8927 |
|
8300 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
8928 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
8301 |
- |
8929 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
8930 |
|
8302 |
- DEFINES["_GNU_SOURCE"] = True |
8931 |
- DEFINES["_GNU_SOURCE"] = True |
8303 |
- |
8932 |
+ DEFINES["USE_X11"] = "1" |
|
|
8933 |
|
8304 |
Library("frame_transformer_interface_gn") |
8934 |
Library("frame_transformer_interface_gn") |
8305 |
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build |
8935 |
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build |
8306 |
index feea8c2c0ba6..7c48aab74157 100644 |
8936 |
index feea8c2c0ba6..7c48aab74157 100644 |
Lines 14295-14304
index 0885f16a0655..ef5775ccf647 100644
Link Here
|
14295 |
- DEFINES["_GNU_SOURCE"] = True |
14925 |
- DEFINES["_GNU_SOURCE"] = True |
14296 |
- |
14926 |
- |
14297 |
Library("bandwidth_estimation_settings_gn") |
14927 |
Library("bandwidth_estimation_settings_gn") |
14298 |
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build |
14928 |
diff --git third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build |
14299 |
index 42410686d0be..82767eaae01a 100644 |
14929 |
index 2f22fa141fe6..d7e6270a1b00 100644 |
14300 |
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build |
14930 |
--- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build |
14301 |
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build |
14931 |
+++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build |
14302 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
14932 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
14303 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
14933 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
14304 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
14934 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 14321-14327
index 42410686d0be..82767eaae01a 100644
Link Here
|
14321 |
|
14951 |
|
14322 |
FINAL_LIBRARY = "xul" |
14952 |
FINAL_LIBRARY = "xul" |
14323 |
|
14953 |
|
14324 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
14954 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
14325 |
if CONFIG["MOZ_DEBUG"] == "1": |
14955 |
if CONFIG["MOZ_DEBUG"] == "1": |
14326 |
|
14956 |
|
14327 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
14957 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 14414-14423
index 42410686d0be..82767eaae01a 100644
Link Here
|
14414 |
|
15044 |
|
14415 |
-if CONFIG["TARGET_CPU"] == "arm": |
15045 |
-if CONFIG["TARGET_CPU"] == "arm": |
14416 |
- |
15046 |
- |
14417 |
- CXXFLAGS += [ |
|
|
14418 |
- "-mfpu=neon" |
14419 |
- ] |
14420 |
- |
14421 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
15047 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
14422 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
15048 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
14423 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
15049 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 14434-14445
index 42410686d0be..82767eaae01a 100644
Link Here
|
14434 |
|
15060 |
|
14435 |
if CONFIG["TARGET_CPU"] == "x86": |
15061 |
if CONFIG["TARGET_CPU"] == "x86": |
14436 |
|
15062 |
|
14437 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15063 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
14438 |
- |
15064 |
|
14439 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
15065 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
14440 |
- |
15066 |
|
14441 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
14442 |
- |
14443 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
15067 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
14444 |
- |
15068 |
- |
14445 |
- DEFINES["_DEBUG"] = True |
15069 |
- DEFINES["_DEBUG"] = True |
Lines 14461-14481
index 42410686d0be..82767eaae01a 100644
Link Here
|
14461 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
15085 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
14462 |
- |
15086 |
- |
14463 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
15087 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
14464 |
- |
15088 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
14465 |
- DEFINES["USE_X11"] = "1" |
15089 |
|
14466 |
- |
15090 |
DEFINES["USE_X11"] = "1" |
|
|
15091 |
|
14467 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
15092 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
14468 |
- |
15093 |
- |
14469 |
- OS_LIBS += [ |
15094 |
- OS_LIBS += [ |
14470 |
- "unwind" |
15095 |
- "unwind" |
14471 |
- ] |
15096 |
- ] |
14472 |
- |
15097 |
- |
14473 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
14474 |
- |
14475 |
CXXFLAGS += [ |
14476 |
"-msse2" |
14477 |
] |
14478 |
|
14479 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
15098 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
14480 |
- |
15099 |
- |
14481 |
- DEFINES["_GNU_SOURCE"] = True |
15100 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 14485-14511
index 42410686d0be..82767eaae01a 100644
Link Here
|
14485 |
- DEFINES["_GNU_SOURCE"] = True |
15104 |
- DEFINES["_GNU_SOURCE"] = True |
14486 |
- |
15105 |
- |
14487 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
15106 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
14488 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15107 |
- |
14489 |
|
|
|
14490 |
- CXXFLAGS += [ |
14491 |
- "-msse2" |
14492 |
- ] |
14493 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
14494 |
|
14495 |
- DEFINES["_GNU_SOURCE"] = True |
15108 |
- DEFINES["_GNU_SOURCE"] = True |
14496 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15109 |
- |
14497 |
|
|
|
14498 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
15110 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
14499 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
15111 |
- |
14500 |
|
|
|
14501 |
- DEFINES["_GNU_SOURCE"] = True |
15112 |
- DEFINES["_GNU_SOURCE"] = True |
14502 |
+ DEFINES["USE_X11"] = "1" |
15113 |
- |
14503 |
|
15114 |
Library("bandwidth_usage_gn") |
14504 |
Library("bitrate_settings_gn") |
15115 |
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build |
14505 |
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build |
15116 |
index 42410686d0be..82767eaae01a 100644 |
14506 |
index e0f8f023787b..b9b426e20a50 100644 |
15117 |
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build |
14507 |
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build |
15118 |
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build |
14508 |
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build |
|
|
14509 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
15119 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
14510 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
15120 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
14511 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
15121 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 14528-14534
index e0f8f023787b..b9b426e20a50 100644
Link Here
|
14528 |
|
15138 |
|
14529 |
FINAL_LIBRARY = "xul" |
15139 |
FINAL_LIBRARY = "xul" |
14530 |
|
15140 |
|
14531 |
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
15141 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
14532 |
if CONFIG["MOZ_DEBUG"] == "1": |
15142 |
if CONFIG["MOZ_DEBUG"] == "1": |
14533 |
|
15143 |
|
14534 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
15144 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 14547-14556
index e0f8f023787b..b9b426e20a50 100644
Link Here
|
14547 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
15157 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
14548 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
15158 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
14549 |
- |
15159 |
- |
14550 |
- OS_LIBS += [ |
|
|
14551 |
- "log" |
14552 |
- ] |
14553 |
- |
14554 |
-if CONFIG["OS_TARGET"] == "Darwin": |
15160 |
-if CONFIG["OS_TARGET"] == "Darwin": |
14555 |
- |
15161 |
- |
14556 |
- DEFINES["WEBRTC_MAC"] = True |
15162 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 14616-14628
index e0f8f023787b..b9b426e20a50 100644
Link Here
|
14616 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
15222 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
14617 |
- DEFINES["_WINDOWS"] = True |
15223 |
- DEFINES["_WINDOWS"] = True |
14618 |
- DEFINES["__STD_C"] = True |
15224 |
- DEFINES["__STD_C"] = True |
14619 |
- |
|
|
14620 |
- OS_LIBS += [ |
14621 |
- "crypt32", |
14622 |
- "iphlpapi", |
14623 |
- "secur32", |
14624 |
- "winmm" |
14625 |
- ] |
14626 |
+ DEFINES["_DEBUG"] = True |
15225 |
+ DEFINES["_DEBUG"] = True |
14627 |
|
15226 |
|
14628 |
if CONFIG["TARGET_CPU"] == "aarch64": |
15227 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 14632-14637
index e0f8f023787b..b9b426e20a50 100644
Link Here
|
14632 |
|
15231 |
|
14633 |
-if CONFIG["TARGET_CPU"] == "arm": |
15232 |
-if CONFIG["TARGET_CPU"] == "arm": |
14634 |
- |
15233 |
- |
|
|
15234 |
- CXXFLAGS += [ |
15235 |
- "-mfpu=neon" |
15236 |
- ] |
15237 |
- |
14635 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
15238 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
14636 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
15239 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
14637 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
15240 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 14648-14657
index e0f8f023787b..b9b426e20a50 100644
Link Here
|
14648 |
|
15251 |
|
14649 |
if CONFIG["TARGET_CPU"] == "x86": |
15252 |
if CONFIG["TARGET_CPU"] == "x86": |
14650 |
|
15253 |
|
14651 |
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
15254 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
14652 |
|
15255 |
- |
14653 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15256 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
14654 |
|
15257 |
- |
|
|
15258 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15259 |
- |
14655 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
15260 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
14656 |
- |
15261 |
- |
14657 |
- DEFINES["_DEBUG"] = True |
15262 |
- DEFINES["_DEBUG"] = True |
Lines 14673-14688
index e0f8f023787b..b9b426e20a50 100644
Link Here
|
14673 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
15278 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
14674 |
- |
15279 |
- |
14675 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
15280 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
14676 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
15281 |
- |
14677 |
|
15282 |
- DEFINES["USE_X11"] = "1" |
14678 |
DEFINES["USE_X11"] = "1" |
15283 |
- |
14679 |
|
|
|
14680 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
15284 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
14681 |
- |
15285 |
- |
14682 |
- OS_LIBS += [ |
15286 |
- OS_LIBS += [ |
14683 |
- "unwind" |
15287 |
- "unwind" |
14684 |
- ] |
15288 |
- ] |
14685 |
- |
15289 |
- |
|
|
15290 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
15291 |
- |
15292 |
CXXFLAGS += [ |
15293 |
"-msse2" |
15294 |
] |
15295 |
|
14686 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
15296 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
14687 |
- |
15297 |
- |
14688 |
- DEFINES["_GNU_SOURCE"] = True |
15298 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 14692-14709
index e0f8f023787b..b9b426e20a50 100644
Link Here
|
14692 |
- DEFINES["_GNU_SOURCE"] = True |
15302 |
- DEFINES["_GNU_SOURCE"] = True |
14693 |
- |
15303 |
- |
14694 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
15304 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
14695 |
- |
15305 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
15306 |
|
15307 |
- CXXFLAGS += [ |
15308 |
- "-msse2" |
15309 |
- ] |
15310 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
15311 |
|
14696 |
- DEFINES["_GNU_SOURCE"] = True |
15312 |
- DEFINES["_GNU_SOURCE"] = True |
14697 |
- |
15313 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
15314 |
|
14698 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
15315 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
14699 |
- |
15316 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
15317 |
|
14700 |
- DEFINES["_GNU_SOURCE"] = True |
15318 |
- DEFINES["_GNU_SOURCE"] = True |
14701 |
- |
15319 |
+ DEFINES["USE_X11"] = "1" |
14702 |
Library("datagram_transport_interface_gn") |
15320 |
|
14703 |
diff --git third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build |
15321 |
Library("bitrate_settings_gn") |
14704 |
index 0b2e41f78c7b..665be1aad89b 100644 |
15322 |
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build |
14705 |
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build |
15323 |
index e0f8f023787b..b9b426e20a50 100644 |
14706 |
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build |
15324 |
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build |
|
|
15325 |
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build |
14707 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
15326 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
14708 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
15327 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
14709 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
15328 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 14726-14732
index 0b2e41f78c7b..665be1aad89b 100644
Link Here
|
14726 |
|
15345 |
|
14727 |
FINAL_LIBRARY = "xul" |
15346 |
FINAL_LIBRARY = "xul" |
14728 |
|
15347 |
|
14729 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
15348 |
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
14730 |
if CONFIG["MOZ_DEBUG"] == "1": |
15349 |
if CONFIG["MOZ_DEBUG"] == "1": |
14731 |
|
15350 |
|
14732 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
15351 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 14830-14839
index 0b2e41f78c7b..665be1aad89b 100644
Link Here
|
14830 |
|
15449 |
|
14831 |
-if CONFIG["TARGET_CPU"] == "arm": |
15450 |
-if CONFIG["TARGET_CPU"] == "arm": |
14832 |
- |
15451 |
- |
14833 |
- CXXFLAGS += [ |
|
|
14834 |
- "-mfpu=neon" |
14835 |
- ] |
14836 |
- |
14837 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
15452 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
14838 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
15453 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
14839 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
15454 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 14850-14861
index 0b2e41f78c7b..665be1aad89b 100644
Link Here
|
14850 |
|
15465 |
|
14851 |
if CONFIG["TARGET_CPU"] == "x86": |
15466 |
if CONFIG["TARGET_CPU"] == "x86": |
14852 |
|
15467 |
|
14853 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15468 |
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
14854 |
- |
15469 |
|
14855 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
15470 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
14856 |
- |
15471 |
|
14857 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
14858 |
- |
14859 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
15472 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
14860 |
- |
15473 |
- |
14861 |
- DEFINES["_DEBUG"] = True |
15474 |
- DEFINES["_DEBUG"] = True |
Lines 14877-14897
index 0b2e41f78c7b..665be1aad89b 100644
Link Here
|
14877 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
15490 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
14878 |
- |
15491 |
- |
14879 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
15492 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
14880 |
- |
15493 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
14881 |
- DEFINES["USE_X11"] = "1" |
15494 |
|
14882 |
- |
15495 |
DEFINES["USE_X11"] = "1" |
|
|
15496 |
|
14883 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
15497 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
14884 |
- |
15498 |
- |
14885 |
- OS_LIBS += [ |
15499 |
- OS_LIBS += [ |
14886 |
- "unwind" |
15500 |
- "unwind" |
14887 |
- ] |
15501 |
- ] |
14888 |
- |
15502 |
- |
14889 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
14890 |
- |
14891 |
CXXFLAGS += [ |
14892 |
"-msse2" |
14893 |
] |
14894 |
|
14895 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
15503 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
14896 |
- |
15504 |
- |
14897 |
- DEFINES["_GNU_SOURCE"] = True |
15505 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 14901-14927
index 0b2e41f78c7b..665be1aad89b 100644
Link Here
|
14901 |
- DEFINES["_GNU_SOURCE"] = True |
15509 |
- DEFINES["_GNU_SOURCE"] = True |
14902 |
- |
15510 |
- |
14903 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
15511 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
14904 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15512 |
- |
14905 |
|
|
|
14906 |
- CXXFLAGS += [ |
14907 |
- "-msse2" |
14908 |
- ] |
14909 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
14910 |
|
14911 |
- DEFINES["_GNU_SOURCE"] = True |
15513 |
- DEFINES["_GNU_SOURCE"] = True |
14912 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15514 |
- |
14913 |
|
|
|
14914 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
15515 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
14915 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
15516 |
- |
14916 |
|
|
|
14917 |
- DEFINES["_GNU_SOURCE"] = True |
15517 |
- DEFINES["_GNU_SOURCE"] = True |
14918 |
+ DEFINES["USE_X11"] = "1" |
15518 |
- |
14919 |
|
15519 |
Library("datagram_transport_interface_gn") |
14920 |
Library("field_trial_based_config_gn") |
15520 |
diff --git third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build |
14921 |
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build |
15521 |
index 0b2e41f78c7b..665be1aad89b 100644 |
14922 |
index 70efa923b78f..6f3cfe2f16c5 100644 |
15522 |
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build |
14923 |
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build |
15523 |
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build |
14924 |
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build |
|
|
14925 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
15524 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
14926 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
15525 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
14927 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
15526 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 14944-14950
index 70efa923b78f..6f3cfe2f16c5 100644
Link Here
|
14944 |
|
15543 |
|
14945 |
FINAL_LIBRARY = "xul" |
15544 |
FINAL_LIBRARY = "xul" |
14946 |
|
15545 |
|
14947 |
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
15546 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
14948 |
if CONFIG["MOZ_DEBUG"] == "1": |
15547 |
if CONFIG["MOZ_DEBUG"] == "1": |
14949 |
|
15548 |
|
14950 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
15549 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 14964-14970
index 70efa923b78f..6f3cfe2f16c5 100644
Link Here
|
14964 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
15563 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
14965 |
- |
15564 |
- |
14966 |
- OS_LIBS += [ |
15565 |
- OS_LIBS += [ |
14967 |
- "GLESv2", |
|
|
14968 |
- "log" |
15566 |
- "log" |
14969 |
- ] |
15567 |
- ] |
14970 |
- |
15568 |
- |
Lines 14993-15002
index 70efa923b78f..6f3cfe2f16c5 100644
Link Here
|
14993 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
15591 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
14994 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
15592 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
14995 |
- |
15593 |
- |
14996 |
- OS_LIBS += [ |
|
|
14997 |
- "rt" |
14998 |
- ] |
14999 |
- |
15000 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
15594 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
15001 |
- |
15595 |
- |
15002 |
- DEFINES["USE_GLIB"] = "1" |
15596 |
- DEFINES["USE_GLIB"] = "1" |
Lines 15140-15150
index 70efa923b78f..6f3cfe2f16c5 100644
Link Here
|
15140 |
- DEFINES["_GNU_SOURCE"] = True |
15734 |
- DEFINES["_GNU_SOURCE"] = True |
15141 |
+ DEFINES["USE_X11"] = "1" |
15735 |
+ DEFINES["USE_X11"] = "1" |
15142 |
|
15736 |
|
15143 |
Library("goog_cc_gn") |
15737 |
Library("field_trial_based_config_gn") |
15144 |
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build |
15738 |
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build |
15145 |
index abbedfaee9af..08b107c8a46a 100644 |
15739 |
index 70efa923b78f..6f3cfe2f16c5 100644 |
15146 |
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build |
15740 |
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build |
15147 |
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build |
15741 |
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build |
15148 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
15742 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
15149 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
15743 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
15150 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
15744 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 15167-15173
index abbedfaee9af..08b107c8a46a 100644
Link Here
|
15167 |
|
15761 |
|
15168 |
FINAL_LIBRARY = "xul" |
15762 |
FINAL_LIBRARY = "xul" |
15169 |
|
15763 |
|
15170 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
15764 |
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
15171 |
if CONFIG["MOZ_DEBUG"] == "1": |
15765 |
if CONFIG["MOZ_DEBUG"] == "1": |
15172 |
|
15766 |
|
15173 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
15767 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 15187-15192
index abbedfaee9af..08b107c8a46a 100644
Link Here
|
15187 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
15781 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
15188 |
- |
15782 |
- |
15189 |
- OS_LIBS += [ |
15783 |
- OS_LIBS += [ |
|
|
15784 |
- "GLESv2", |
15190 |
- "log" |
15785 |
- "log" |
15191 |
- ] |
15786 |
- ] |
15192 |
- |
15787 |
- |
Lines 15215-15220
index abbedfaee9af..08b107c8a46a 100644
Link Here
|
15215 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
15810 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
15216 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
15811 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
15217 |
- |
15812 |
- |
|
|
15813 |
- OS_LIBS += [ |
15814 |
- "rt" |
15815 |
- ] |
15816 |
- |
15218 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
15817 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
15219 |
- |
15818 |
- |
15220 |
- DEFINES["USE_GLIB"] = "1" |
15819 |
- DEFINES["USE_GLIB"] = "1" |
Lines 15358-15368
index abbedfaee9af..08b107c8a46a 100644
Link Here
|
15358 |
- DEFINES["_GNU_SOURCE"] = True |
15957 |
- DEFINES["_GNU_SOURCE"] = True |
15359 |
+ DEFINES["USE_X11"] = "1" |
15958 |
+ DEFINES["USE_X11"] = "1" |
15360 |
|
15959 |
|
15361 |
Library("network_control_gn") |
15960 |
Library("goog_cc_gn") |
15362 |
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build |
15961 |
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build |
15363 |
index 16ec75fa0170..dc43798be44c 100644 |
15962 |
index abbedfaee9af..08b107c8a46a 100644 |
15364 |
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build |
15963 |
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build |
15365 |
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build |
15964 |
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build |
15366 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
15965 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
15367 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
15966 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
15368 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
15967 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 15385-15391
index 16ec75fa0170..dc43798be44c 100644
Link Here
|
15385 |
|
15984 |
|
15386 |
FINAL_LIBRARY = "xul" |
15985 |
FINAL_LIBRARY = "xul" |
15387 |
|
15986 |
|
15388 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
15987 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
15389 |
if CONFIG["MOZ_DEBUG"] == "1": |
15988 |
if CONFIG["MOZ_DEBUG"] == "1": |
15390 |
|
15989 |
|
15391 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
15990 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 15473-15478
index 16ec75fa0170..dc43798be44c 100644
Link Here
|
15473 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
16072 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
15474 |
- DEFINES["_WINDOWS"] = True |
16073 |
- DEFINES["_WINDOWS"] = True |
15475 |
- DEFINES["__STD_C"] = True |
16074 |
- DEFINES["__STD_C"] = True |
|
|
16075 |
- |
16076 |
- OS_LIBS += [ |
16077 |
- "crypt32", |
16078 |
- "iphlpapi", |
16079 |
- "secur32", |
16080 |
- "winmm" |
16081 |
- ] |
15476 |
+ DEFINES["_DEBUG"] = True |
16082 |
+ DEFINES["_DEBUG"] = True |
15477 |
|
16083 |
|
15478 |
if CONFIG["TARGET_CPU"] == "aarch64": |
16084 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 15569-15579
index 16ec75fa0170..dc43798be44c 100644
Link Here
|
15569 |
- DEFINES["_GNU_SOURCE"] = True |
16175 |
- DEFINES["_GNU_SOURCE"] = True |
15570 |
+ DEFINES["USE_X11"] = "1" |
16176 |
+ DEFINES["USE_X11"] = "1" |
15571 |
|
16177 |
|
15572 |
Library("dependency_descriptor_gn") |
16178 |
Library("network_control_gn") |
15573 |
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build |
16179 |
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build |
15574 |
index 83c88e8037fe..3656e84885cd 100644 |
16180 |
index 16ec75fa0170..dc43798be44c 100644 |
15575 |
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build |
16181 |
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build |
15576 |
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build |
16182 |
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build |
15577 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
16183 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
15578 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
16184 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
15579 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
16185 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 15596-15602
index 83c88e8037fe..3656e84885cd 100644
Link Here
|
15596 |
|
16202 |
|
15597 |
FINAL_LIBRARY = "xul" |
16203 |
FINAL_LIBRARY = "xul" |
15598 |
|
16204 |
|
15599 |
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
16205 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
15600 |
if CONFIG["MOZ_DEBUG"] == "1": |
16206 |
if CONFIG["MOZ_DEBUG"] == "1": |
15601 |
|
16207 |
|
15602 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
16208 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 15684-15696
index 83c88e8037fe..3656e84885cd 100644
Link Here
|
15684 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
16290 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
15685 |
- DEFINES["_WINDOWS"] = True |
16291 |
- DEFINES["_WINDOWS"] = True |
15686 |
- DEFINES["__STD_C"] = True |
16292 |
- DEFINES["__STD_C"] = True |
15687 |
- |
|
|
15688 |
- OS_LIBS += [ |
15689 |
- "crypt32", |
15690 |
- "iphlpapi", |
15691 |
- "secur32", |
15692 |
- "winmm" |
15693 |
- ] |
15694 |
+ DEFINES["_DEBUG"] = True |
16293 |
+ DEFINES["_DEBUG"] = True |
15695 |
|
16294 |
|
15696 |
if CONFIG["TARGET_CPU"] == "aarch64": |
16295 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 15700-15705
index 83c88e8037fe..3656e84885cd 100644
Link Here
|
15700 |
|
16299 |
|
15701 |
-if CONFIG["TARGET_CPU"] == "arm": |
16300 |
-if CONFIG["TARGET_CPU"] == "arm": |
15702 |
- |
16301 |
- |
|
|
16302 |
- CXXFLAGS += [ |
16303 |
- "-mfpu=neon" |
16304 |
- ] |
16305 |
- |
15703 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
16306 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
15704 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
16307 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
15705 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
16308 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 15716-15725
index 83c88e8037fe..3656e84885cd 100644
Link Here
|
15716 |
|
16319 |
|
15717 |
if CONFIG["TARGET_CPU"] == "x86": |
16320 |
if CONFIG["TARGET_CPU"] == "x86": |
15718 |
|
16321 |
|
15719 |
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
16322 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
15720 |
|
16323 |
- |
15721 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
16324 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
15722 |
|
16325 |
- |
|
|
16326 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
16327 |
- |
16328 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
16329 |
- |
16330 |
- DEFINES["_DEBUG"] = True |
16331 |
- |
16332 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
16333 |
- |
16334 |
- DEFINES["_DEBUG"] = True |
16335 |
- |
16336 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
16337 |
- |
16338 |
- DEFINES["_DEBUG"] = True |
16339 |
- |
16340 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
16341 |
- |
16342 |
- DEFINES["_DEBUG"] = True |
16343 |
- |
16344 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
16345 |
- |
16346 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
16347 |
- |
16348 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
16349 |
- |
16350 |
- DEFINES["USE_X11"] = "1" |
16351 |
- |
16352 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
16353 |
- |
16354 |
- OS_LIBS += [ |
16355 |
- "unwind" |
16356 |
- ] |
16357 |
- |
16358 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
16359 |
- |
16360 |
CXXFLAGS += [ |
16361 |
"-msse2" |
16362 |
] |
16363 |
|
16364 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
16365 |
- |
16366 |
- DEFINES["_GNU_SOURCE"] = True |
16367 |
- |
16368 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
16369 |
- |
16370 |
- DEFINES["_GNU_SOURCE"] = True |
16371 |
- |
16372 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
16373 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
16374 |
|
16375 |
- CXXFLAGS += [ |
16376 |
- "-msse2" |
16377 |
- ] |
16378 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
16379 |
|
16380 |
- DEFINES["_GNU_SOURCE"] = True |
16381 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
16382 |
|
16383 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
16384 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
16385 |
|
16386 |
- DEFINES["_GNU_SOURCE"] = True |
16387 |
+ DEFINES["USE_X11"] = "1" |
16388 |
|
16389 |
Library("dependency_descriptor_gn") |
16390 |
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build |
16391 |
index 83c88e8037fe..3656e84885cd 100644 |
16392 |
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build |
16393 |
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build |
16394 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
16395 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
16396 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
16397 |
DEFINES["RTC_ENABLE_VP9"] = True |
16398 |
+DEFINES["USE_GLIB"] = "1" |
16399 |
+DEFINES["USE_OZONE"] = "1" |
16400 |
+DEFINES["WEBRTC_BSD"] = True |
16401 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
16402 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
16403 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
16404 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
16405 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
16406 |
+DEFINES["WEBRTC_POSIX"] = True |
16407 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
16408 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
16409 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
16410 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
16411 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
16412 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
16413 |
|
16414 |
FINAL_LIBRARY = "xul" |
16415 |
|
16416 |
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
16417 |
if CONFIG["MOZ_DEBUG"] == "1": |
16418 |
|
16419 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
16420 |
- |
16421 |
-if CONFIG["OS_TARGET"] == "Android": |
16422 |
- |
16423 |
- DEFINES["ANDROID"] = True |
16424 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
16425 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
16426 |
- DEFINES["WEBRTC_ANDROID"] = True |
16427 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
16428 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
16429 |
- DEFINES["WEBRTC_LINUX"] = True |
16430 |
- DEFINES["WEBRTC_POSIX"] = True |
16431 |
- DEFINES["_GNU_SOURCE"] = True |
16432 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
16433 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
16434 |
- |
16435 |
- OS_LIBS += [ |
16436 |
- "log" |
16437 |
- ] |
16438 |
- |
16439 |
-if CONFIG["OS_TARGET"] == "Darwin": |
16440 |
- |
16441 |
- DEFINES["WEBRTC_MAC"] = True |
16442 |
- DEFINES["WEBRTC_POSIX"] = True |
16443 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
16444 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
16445 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
16446 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
16447 |
- |
16448 |
-if CONFIG["OS_TARGET"] == "Linux": |
16449 |
- |
16450 |
- DEFINES["USE_AURA"] = "1" |
16451 |
- DEFINES["USE_GLIB"] = "1" |
16452 |
- DEFINES["USE_NSS_CERTS"] = "1" |
16453 |
- DEFINES["USE_OZONE"] = "1" |
16454 |
- DEFINES["USE_UDEV"] = True |
16455 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
16456 |
- DEFINES["WEBRTC_LINUX"] = True |
16457 |
- DEFINES["WEBRTC_POSIX"] = True |
16458 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
16459 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
16460 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
16461 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
16462 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
16463 |
- |
16464 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
16465 |
- |
16466 |
- DEFINES["USE_GLIB"] = "1" |
16467 |
- DEFINES["USE_OZONE"] = "1" |
16468 |
- DEFINES["USE_X11"] = "1" |
16469 |
- DEFINES["WEBRTC_BSD"] = True |
16470 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
16471 |
- DEFINES["WEBRTC_POSIX"] = True |
16472 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
16473 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
16474 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
16475 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
16476 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
16477 |
- |
16478 |
-if CONFIG["OS_TARGET"] == "WINNT": |
16479 |
- |
16480 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
16481 |
- DEFINES["NOMINMAX"] = True |
16482 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
16483 |
- DEFINES["PSAPI_VERSION"] = "2" |
16484 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
16485 |
- DEFINES["UNICODE"] = True |
16486 |
- DEFINES["USE_AURA"] = "1" |
16487 |
- DEFINES["WEBRTC_WIN"] = True |
16488 |
- DEFINES["WIN32"] = True |
16489 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
16490 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
16491 |
- DEFINES["WINVER"] = "0x0A00" |
16492 |
- DEFINES["_ATL_NO_OPENGL"] = True |
16493 |
- DEFINES["_CRT_RAND_S"] = True |
16494 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
16495 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
16496 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
16497 |
- DEFINES["_HAS_NODISCARD"] = True |
16498 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
16499 |
- DEFINES["_SECURE_ATL"] = True |
16500 |
- DEFINES["_UNICODE"] = True |
16501 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
16502 |
- DEFINES["_WINDOWS"] = True |
16503 |
- DEFINES["__STD_C"] = True |
16504 |
- |
16505 |
- OS_LIBS += [ |
16506 |
- "crypt32", |
16507 |
- "iphlpapi", |
16508 |
- "secur32", |
16509 |
- "winmm" |
16510 |
- ] |
16511 |
+ DEFINES["_DEBUG"] = True |
16512 |
|
16513 |
if CONFIG["TARGET_CPU"] == "aarch64": |
16514 |
|
16515 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
16516 |
DEFINES["WEBRTC_HAS_NEON"] = True |
16517 |
|
16518 |
-if CONFIG["TARGET_CPU"] == "arm": |
16519 |
- |
16520 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
16521 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
16522 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
16523 |
- |
16524 |
if CONFIG["TARGET_CPU"] == "mips32": |
16525 |
|
16526 |
DEFINES["MIPS32_LE"] = True |
16527 |
DEFINES["MIPS_FPU_LE"] = True |
16528 |
- DEFINES["_GNU_SOURCE"] = True |
16529 |
- |
16530 |
-if CONFIG["TARGET_CPU"] == "mips64": |
16531 |
- |
16532 |
- DEFINES["_GNU_SOURCE"] = True |
16533 |
|
16534 |
if CONFIG["TARGET_CPU"] == "x86": |
16535 |
|
16536 |
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
16537 |
|
16538 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
16539 |
|
15723 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
16540 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
15724 |
- |
16541 |
- |
15725 |
- DEFINES["_DEBUG"] = True |
16542 |
- DEFINES["_DEBUG"] = True |
Lines 21771-21777
index b0c90b8ad2ee..4933d9ebafdb 100644
Link Here
|
21771 |
|
22588 |
|
21772 |
Library("scalability_mode_gn") |
22589 |
Library("scalability_mode_gn") |
21773 |
diff --git third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build |
22590 |
diff --git third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build |
21774 |
index de1ff19cd39c..f5d7824d0dc2 100644 |
22591 |
index f3060e020af9..175782549b6f 100644 |
21775 |
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build |
22592 |
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build |
21776 |
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build |
22593 |
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build |
21777 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
22594 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
Lines 21796-21802
index de1ff19cd39c..f5d7824d0dc2 100644
Link Here
|
21796 |
|
22613 |
|
21797 |
FINAL_LIBRARY = "xul" |
22614 |
FINAL_LIBRARY = "xul" |
21798 |
|
22615 |
|
21799 |
@@ -54,185 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: |
22616 |
@@ -53,185 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: |
21800 |
if CONFIG["MOZ_DEBUG"] == "1": |
22617 |
if CONFIG["MOZ_DEBUG"] == "1": |
21801 |
|
22618 |
|
21802 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
22619 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 45512-45518
index ed716566a46d..b746c1697b38 100644
Link Here
|
45512 |
|
46329 |
|
45513 |
Library("fixed_digital_gn") |
46330 |
Library("fixed_digital_gn") |
45514 |
diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build |
46331 |
diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build |
45515 |
index 3f2132cc91d8..d80bca19c048 100644 |
46332 |
index 41cc41800770..d80bca19c048 100644 |
45516 |
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build |
46333 |
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build |
45517 |
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build |
46334 |
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build |
45518 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
46335 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
Lines 45537-45543
index 3f2132cc91d8..d80bca19c048 100644
Link Here
|
45537 |
|
46354 |
|
45538 |
FINAL_LIBRARY = "xul" |
46355 |
FINAL_LIBRARY = "xul" |
45539 |
|
46356 |
|
45540 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
46357 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
45541 |
if CONFIG["MOZ_DEBUG"] == "1": |
46358 |
if CONFIG["MOZ_DEBUG"] == "1": |
45542 |
|
46359 |
|
45543 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
46360 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 45625-45630
index 3f2132cc91d8..d80bca19c048 100644
Link Here
|
45625 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
46442 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
45626 |
- DEFINES["_WINDOWS"] = True |
46443 |
- DEFINES["_WINDOWS"] = True |
45627 |
- DEFINES["__STD_C"] = True |
46444 |
- DEFINES["__STD_C"] = True |
|
|
46445 |
- |
46446 |
- OS_LIBS += [ |
46447 |
- "crypt32", |
46448 |
- "iphlpapi", |
46449 |
- "secur32", |
46450 |
- "winmm" |
46451 |
- ] |
45628 |
+ DEFINES["_DEBUG"] = True |
46452 |
+ DEFINES["_DEBUG"] = True |
45629 |
|
46453 |
|
45630 |
if CONFIG["TARGET_CPU"] == "aarch64": |
46454 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 49707-49722
index 00e3216b4597..8f4f2eb9cd09 100644
Link Here
|
49707 |
+ DEFINES["USE_X11"] = "1" |
50531 |
+ DEFINES["USE_X11"] = "1" |
49708 |
|
50532 |
|
49709 |
Library("vad_wrapper_gn") |
50533 |
Library("vad_wrapper_gn") |
49710 |
diff --git third_party/libwebrtc/modules/audio_processing/api_gn/moz.build third_party/libwebrtc/modules/audio_processing/api_gn/moz.build |
50534 |
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build |
49711 |
index e0d5597d5605..73327af215a3 100644 |
50535 |
index 9b5e11e947d9..1bd5feb70d36 100644 |
49712 |
--- third_party/libwebrtc/modules/audio_processing/api_gn/moz.build |
50536 |
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build |
49713 |
+++ third_party/libwebrtc/modules/audio_processing/api_gn/moz.build |
50537 |
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build |
49714 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
50538 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
49715 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
50539 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
49716 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
50540 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
49717 |
DEFINES["RTC_ENABLE_VP9"] = True |
50541 |
DEFINES["RTC_ENABLE_VP9"] = True |
49718 |
+DEFINES["USE_GLIB"] = "1" |
50542 |
+DEFINES["USE_GLIB"] = "1" |
49719 |
+DEFINES["USE_OZONE"] = "1" |
50543 |
+DEFINES["USE_OZONE"] = "1" |
|
|
50544 |
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" |
49720 |
+DEFINES["WEBRTC_BSD"] = True |
50545 |
+DEFINES["WEBRTC_BSD"] = True |
49721 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
50546 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
49722 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
50547 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
Lines 49733-49739
index e0d5597d5605..73327af215a3 100644
Link Here
|
49733 |
|
50558 |
|
49734 |
FINAL_LIBRARY = "xul" |
50559 |
FINAL_LIBRARY = "xul" |
49735 |
|
50560 |
|
49736 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
50561 |
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
49737 |
if CONFIG["MOZ_DEBUG"] == "1": |
50562 |
if CONFIG["MOZ_DEBUG"] == "1": |
49738 |
|
50563 |
|
49739 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
50564 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 49781-49786
index e0d5597d5605..73327af215a3 100644
Link Here
|
49781 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
50606 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
49782 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
50607 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
49783 |
- |
50608 |
- |
|
|
50609 |
- OS_LIBS += [ |
50610 |
- "rt" |
50611 |
- ] |
50612 |
- |
49784 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
50613 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
49785 |
- |
50614 |
- |
49786 |
- DEFINES["USE_GLIB"] = "1" |
50615 |
- DEFINES["USE_GLIB"] = "1" |
Lines 49924-49934
index e0d5597d5605..73327af215a3 100644
Link Here
|
49924 |
- DEFINES["_GNU_SOURCE"] = True |
50753 |
- DEFINES["_GNU_SOURCE"] = True |
49925 |
+ DEFINES["USE_X11"] = "1" |
50754 |
+ DEFINES["USE_X11"] = "1" |
49926 |
|
50755 |
|
49927 |
Library("api_gn") |
50756 |
Library("apm_logging_gn") |
49928 |
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build |
50757 |
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build |
49929 |
index 9b5e11e947d9..1bd5feb70d36 100644 |
50758 |
index 986ecc61c766..3d9e6a75e276 100644 |
49930 |
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build |
50759 |
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build |
49931 |
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build |
50760 |
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build |
49932 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
50761 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
49933 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
50762 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
49934 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
50763 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 49952-49958
index 9b5e11e947d9..1bd5feb70d36 100644
Link Here
|
49952 |
|
50781 |
|
49953 |
FINAL_LIBRARY = "xul" |
50782 |
FINAL_LIBRARY = "xul" |
49954 |
|
50783 |
|
49955 |
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
50784 |
@@ -46,189 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: |
49956 |
if CONFIG["MOZ_DEBUG"] == "1": |
50785 |
if CONFIG["MOZ_DEBUG"] == "1": |
49957 |
|
50786 |
|
49958 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
50787 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 50147-50164
index 9b5e11e947d9..1bd5feb70d36 100644
Link Here
|
50147 |
- DEFINES["_GNU_SOURCE"] = True |
50976 |
- DEFINES["_GNU_SOURCE"] = True |
50148 |
+ DEFINES["USE_X11"] = "1" |
50977 |
+ DEFINES["USE_X11"] = "1" |
50149 |
|
50978 |
|
50150 |
Library("apm_logging_gn") |
50979 |
Library("audio_buffer_gn") |
50151 |
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build |
50980 |
diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build |
50152 |
index 986ecc61c766..3d9e6a75e276 100644 |
50981 |
index 894361b57458..c605bd008d4e 100644 |
50153 |
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build |
50982 |
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build |
50154 |
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build |
50983 |
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build |
50155 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
50984 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
50156 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
50985 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
50157 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
50986 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
50158 |
DEFINES["RTC_ENABLE_VP9"] = True |
50987 |
DEFINES["RTC_ENABLE_VP9"] = True |
50159 |
+DEFINES["USE_GLIB"] = "1" |
50988 |
+DEFINES["USE_GLIB"] = "1" |
50160 |
+DEFINES["USE_OZONE"] = "1" |
50989 |
+DEFINES["USE_OZONE"] = "1" |
50161 |
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" |
|
|
50162 |
+DEFINES["WEBRTC_BSD"] = True |
50990 |
+DEFINES["WEBRTC_BSD"] = True |
50163 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
50991 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
50164 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
50992 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
Lines 50175-50181
index 986ecc61c766..3d9e6a75e276 100644
Link Here
|
50175 |
|
51003 |
|
50176 |
FINAL_LIBRARY = "xul" |
51004 |
FINAL_LIBRARY = "xul" |
50177 |
|
51005 |
|
50178 |
@@ -46,189 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: |
51006 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
50179 |
if CONFIG["MOZ_DEBUG"] == "1": |
51007 |
if CONFIG["MOZ_DEBUG"] == "1": |
50180 |
|
51008 |
|
50181 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
51009 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 50223-50232
index 986ecc61c766..3d9e6a75e276 100644
Link Here
|
50223 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
51051 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
50224 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
51052 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
50225 |
- |
51053 |
- |
50226 |
- OS_LIBS += [ |
|
|
50227 |
- "rt" |
50228 |
- ] |
50229 |
- |
50230 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
51054 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
50231 |
- |
51055 |
- |
50232 |
- DEFINES["USE_GLIB"] = "1" |
51056 |
- DEFINES["USE_GLIB"] = "1" |
Lines 50370-50380
index 986ecc61c766..3d9e6a75e276 100644
Link Here
|
50370 |
- DEFINES["_GNU_SOURCE"] = True |
51194 |
- DEFINES["_GNU_SOURCE"] = True |
50371 |
+ DEFINES["USE_X11"] = "1" |
51195 |
+ DEFINES["USE_X11"] = "1" |
50372 |
|
51196 |
|
50373 |
Library("audio_buffer_gn") |
51197 |
Library("audio_frame_proxies_gn") |
50374 |
diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build |
51198 |
diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build |
50375 |
index 894361b57458..c605bd008d4e 100644 |
51199 |
index 9f4a7293e302..e9b1dc9e853e 100644 |
50376 |
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build |
51200 |
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build |
50377 |
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build |
51201 |
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build |
50378 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
51202 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
50379 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
51203 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
50380 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
51204 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 50397-50403
index 894361b57458..c605bd008d4e 100644
Link Here
|
50397 |
|
51221 |
|
50398 |
FINAL_LIBRARY = "xul" |
51222 |
FINAL_LIBRARY = "xul" |
50399 |
|
51223 |
|
50400 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
51224 |
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
50401 |
if CONFIG["MOZ_DEBUG"] == "1": |
51225 |
if CONFIG["MOZ_DEBUG"] == "1": |
50402 |
|
51226 |
|
50403 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
51227 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 50501-50510
index 894361b57458..c605bd008d4e 100644
Link Here
|
50501 |
|
51325 |
|
50502 |
-if CONFIG["TARGET_CPU"] == "arm": |
51326 |
-if CONFIG["TARGET_CPU"] == "arm": |
50503 |
- |
51327 |
- |
50504 |
- CXXFLAGS += [ |
|
|
50505 |
- "-mfpu=neon" |
50506 |
- ] |
50507 |
- |
50508 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
51328 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
50509 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
51329 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
50510 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
51330 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 50521-50734
index 894361b57458..c605bd008d4e 100644
Link Here
|
50521 |
|
51341 |
|
50522 |
if CONFIG["TARGET_CPU"] == "x86": |
51342 |
if CONFIG["TARGET_CPU"] == "x86": |
50523 |
|
51343 |
|
50524 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
51344 |
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
50525 |
- |
|
|
50526 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
50527 |
- |
50528 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
50529 |
- |
50530 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
50531 |
- |
50532 |
- DEFINES["_DEBUG"] = True |
50533 |
- |
50534 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
50535 |
- |
50536 |
- DEFINES["_DEBUG"] = True |
50537 |
- |
50538 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
50539 |
- |
50540 |
- DEFINES["_DEBUG"] = True |
50541 |
- |
50542 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
50543 |
- |
50544 |
- DEFINES["_DEBUG"] = True |
50545 |
- |
50546 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
50547 |
- |
50548 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
50549 |
- |
50550 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
50551 |
- |
50552 |
- DEFINES["USE_X11"] = "1" |
50553 |
- |
50554 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
50555 |
- |
50556 |
- OS_LIBS += [ |
50557 |
- "unwind" |
50558 |
- ] |
50559 |
- |
50560 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
50561 |
- |
50562 |
CXXFLAGS += [ |
50563 |
"-msse2" |
50564 |
] |
50565 |
|
50566 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
50567 |
- |
50568 |
- DEFINES["_GNU_SOURCE"] = True |
50569 |
- |
50570 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
50571 |
- |
50572 |
- DEFINES["_GNU_SOURCE"] = True |
50573 |
- |
50574 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
50575 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
50576 |
|
50577 |
- CXXFLAGS += [ |
50578 |
- "-msse2" |
50579 |
- ] |
50580 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
50581 |
|
50582 |
- DEFINES["_GNU_SOURCE"] = True |
50583 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
50584 |
|
50585 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
50586 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
50587 |
|
50588 |
- DEFINES["_GNU_SOURCE"] = True |
50589 |
+ DEFINES["USE_X11"] = "1" |
50590 |
|
50591 |
Library("audio_frame_proxies_gn") |
50592 |
diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build |
50593 |
index 7a283f1e109a..e9b1dc9e853e 100644 |
50594 |
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build |
50595 |
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build |
50596 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
50597 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
50598 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
50599 |
DEFINES["RTC_ENABLE_VP9"] = True |
50600 |
+DEFINES["USE_GLIB"] = "1" |
50601 |
+DEFINES["USE_OZONE"] = "1" |
50602 |
+DEFINES["WEBRTC_BSD"] = True |
50603 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
50604 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
50605 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
50606 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
50607 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
50608 |
+DEFINES["WEBRTC_POSIX"] = True |
50609 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
50610 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
50611 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
50612 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
50613 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
50614 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
50615 |
|
50616 |
FINAL_LIBRARY = "xul" |
50617 |
|
50618 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
50619 |
if CONFIG["MOZ_DEBUG"] == "1": |
50620 |
|
50621 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
50622 |
- |
50623 |
-if CONFIG["OS_TARGET"] == "Android": |
50624 |
- |
50625 |
- DEFINES["ANDROID"] = True |
50626 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
50627 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
50628 |
- DEFINES["WEBRTC_ANDROID"] = True |
50629 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
50630 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
50631 |
- DEFINES["WEBRTC_LINUX"] = True |
50632 |
- DEFINES["WEBRTC_POSIX"] = True |
50633 |
- DEFINES["_GNU_SOURCE"] = True |
50634 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
50635 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
50636 |
- |
50637 |
- OS_LIBS += [ |
50638 |
- "log" |
50639 |
- ] |
50640 |
- |
50641 |
-if CONFIG["OS_TARGET"] == "Darwin": |
50642 |
- |
50643 |
- DEFINES["WEBRTC_MAC"] = True |
50644 |
- DEFINES["WEBRTC_POSIX"] = True |
50645 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
50646 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
50647 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
50648 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
50649 |
- |
50650 |
-if CONFIG["OS_TARGET"] == "Linux": |
50651 |
- |
50652 |
- DEFINES["USE_AURA"] = "1" |
50653 |
- DEFINES["USE_GLIB"] = "1" |
50654 |
- DEFINES["USE_NSS_CERTS"] = "1" |
50655 |
- DEFINES["USE_OZONE"] = "1" |
50656 |
- DEFINES["USE_UDEV"] = True |
50657 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
50658 |
- DEFINES["WEBRTC_LINUX"] = True |
50659 |
- DEFINES["WEBRTC_POSIX"] = True |
50660 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
50661 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
50662 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
50663 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
50664 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
50665 |
- |
50666 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
50667 |
- |
50668 |
- DEFINES["USE_GLIB"] = "1" |
50669 |
- DEFINES["USE_OZONE"] = "1" |
50670 |
- DEFINES["USE_X11"] = "1" |
50671 |
- DEFINES["WEBRTC_BSD"] = True |
50672 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
50673 |
- DEFINES["WEBRTC_POSIX"] = True |
50674 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
50675 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
50676 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
50677 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
50678 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
50679 |
- |
50680 |
-if CONFIG["OS_TARGET"] == "WINNT": |
50681 |
- |
50682 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
50683 |
- DEFINES["NOMINMAX"] = True |
50684 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
50685 |
- DEFINES["PSAPI_VERSION"] = "2" |
50686 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
50687 |
- DEFINES["UNICODE"] = True |
50688 |
- DEFINES["USE_AURA"] = "1" |
50689 |
- DEFINES["WEBRTC_WIN"] = True |
50690 |
- DEFINES["WIN32"] = True |
50691 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
50692 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
50693 |
- DEFINES["WINVER"] = "0x0A00" |
50694 |
- DEFINES["_ATL_NO_OPENGL"] = True |
50695 |
- DEFINES["_CRT_RAND_S"] = True |
50696 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
50697 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
50698 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
50699 |
- DEFINES["_HAS_NODISCARD"] = True |
50700 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
50701 |
- DEFINES["_SECURE_ATL"] = True |
50702 |
- DEFINES["_UNICODE"] = True |
50703 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
50704 |
- DEFINES["_WINDOWS"] = True |
50705 |
- DEFINES["__STD_C"] = True |
50706 |
+ DEFINES["_DEBUG"] = True |
50707 |
|
50708 |
if CONFIG["TARGET_CPU"] == "aarch64": |
50709 |
|
50710 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
50711 |
DEFINES["WEBRTC_HAS_NEON"] = True |
50712 |
|
50713 |
-if CONFIG["TARGET_CPU"] == "arm": |
50714 |
- |
50715 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
50716 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
50717 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
50718 |
- |
50719 |
if CONFIG["TARGET_CPU"] == "mips32": |
50720 |
|
50721 |
DEFINES["MIPS32_LE"] = True |
50722 |
DEFINES["MIPS_FPU_LE"] = True |
50723 |
- DEFINES["_GNU_SOURCE"] = True |
50724 |
- |
50725 |
-if CONFIG["TARGET_CPU"] == "mips64": |
50726 |
- |
50727 |
- DEFINES["_GNU_SOURCE"] = True |
50728 |
|
50729 |
if CONFIG["TARGET_CPU"] == "x86": |
50730 |
|
50731 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
50732 |
|
51345 |
|
50733 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
51346 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
50734 |
|
51347 |
|
Lines 51003-51012
index 4acaa7f014eb..66c1eab00fc1 100644
Link Here
|
51003 |
+ DEFINES["USE_X11"] = "1" |
51616 |
+ DEFINES["USE_X11"] = "1" |
51004 |
|
51617 |
|
51005 |
Library("audio_processing_gn") |
51618 |
Library("audio_processing_gn") |
51006 |
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build |
51619 |
diff --git third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build |
51007 |
index 4f36694047af..1fac698b31d9 100644 |
51620 |
index ba0901058580..d8273687ada4 100644 |
51008 |
--- third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build |
51621 |
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build |
51009 |
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build |
51622 |
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build |
51010 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
51623 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
51011 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
51624 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
51012 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
51625 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 51029-51035
index 4f36694047af..1fac698b31d9 100644
Link Here
|
51029 |
|
51642 |
|
51030 |
FINAL_LIBRARY = "xul" |
51643 |
FINAL_LIBRARY = "xul" |
51031 |
|
51644 |
|
51032 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
51645 |
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
51033 |
if CONFIG["MOZ_DEBUG"] == "1": |
51646 |
if CONFIG["MOZ_DEBUG"] == "1": |
51034 |
|
51647 |
|
51035 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
51648 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 51048-51053
index 4f36694047af..1fac698b31d9 100644
Link Here
|
51048 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
51661 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
51049 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
51662 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
51050 |
- |
51663 |
- |
|
|
51664 |
- OS_LIBS += [ |
51665 |
- "log" |
51666 |
- ] |
51667 |
- |
51051 |
-if CONFIG["OS_TARGET"] == "Darwin": |
51668 |
-if CONFIG["OS_TARGET"] == "Darwin": |
51052 |
- |
51669 |
- |
51053 |
- DEFINES["WEBRTC_MAC"] = True |
51670 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 51073-51078
index 4f36694047af..1fac698b31d9 100644
Link Here
|
51073 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
51690 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
51074 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
51691 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
51075 |
- |
51692 |
- |
|
|
51693 |
- OS_LIBS += [ |
51694 |
- "rt" |
51695 |
- ] |
51696 |
- |
51076 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
51697 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
51077 |
- |
51698 |
- |
51078 |
- DEFINES["USE_GLIB"] = "1" |
51699 |
- DEFINES["USE_GLIB"] = "1" |
Lines 51113-51118
index 4f36694047af..1fac698b31d9 100644
Link Here
|
51113 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
51734 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
51114 |
- DEFINES["_WINDOWS"] = True |
51735 |
- DEFINES["_WINDOWS"] = True |
51115 |
- DEFINES["__STD_C"] = True |
51736 |
- DEFINES["__STD_C"] = True |
|
|
51737 |
- |
51738 |
- OS_LIBS += [ |
51739 |
- "crypt32", |
51740 |
- "iphlpapi", |
51741 |
- "secur32", |
51742 |
- "winmm" |
51743 |
- ] |
51116 |
+ DEFINES["_DEBUG"] = True |
51744 |
+ DEFINES["_DEBUG"] = True |
51117 |
|
51745 |
|
51118 |
if CONFIG["TARGET_CPU"] == "aarch64": |
51746 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 51209-51225
index 4f36694047af..1fac698b31d9 100644
Link Here
|
51209 |
- DEFINES["_GNU_SOURCE"] = True |
51837 |
- DEFINES["_GNU_SOURCE"] = True |
51210 |
+ DEFINES["USE_X11"] = "1" |
51838 |
+ DEFINES["USE_X11"] = "1" |
51211 |
|
51839 |
|
51212 |
Library("audio_processing_statistics_gn") |
51840 |
Library("capture_levels_adjuster_gn") |
51213 |
diff --git third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build |
51841 |
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build |
51214 |
index ba0901058580..d8273687ada4 100644 |
51842 |
index 2fd9b99a64df..62d3f34fa3be 100644 |
51215 |
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build |
51843 |
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build |
51216 |
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build |
51844 |
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build |
51217 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
51845 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
51218 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
51846 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
51219 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
51847 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
51220 |
DEFINES["RTC_ENABLE_VP9"] = True |
51848 |
DEFINES["RTC_ENABLE_VP9"] = True |
51221 |
+DEFINES["USE_GLIB"] = "1" |
51849 |
+DEFINES["USE_GLIB"] = "1" |
51222 |
+DEFINES["USE_OZONE"] = "1" |
51850 |
+DEFINES["USE_OZONE"] = "1" |
|
|
51851 |
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" |
51223 |
+DEFINES["WEBRTC_BSD"] = True |
51852 |
+DEFINES["WEBRTC_BSD"] = True |
51224 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
51853 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
51225 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
51854 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
Lines 51431-51441
index ba0901058580..d8273687ada4 100644
Link Here
|
51431 |
- DEFINES["_GNU_SOURCE"] = True |
52060 |
- DEFINES["_GNU_SOURCE"] = True |
51432 |
+ DEFINES["USE_X11"] = "1" |
52061 |
+ DEFINES["USE_X11"] = "1" |
51433 |
|
52062 |
|
51434 |
Library("capture_levels_adjuster_gn") |
52063 |
Library("gain_controller2_gn") |
51435 |
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build |
52064 |
diff --git third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build |
51436 |
index 2fd9b99a64df..62d3f34fa3be 100644 |
52065 |
index 09d5dc988247..ce4fc0c9b48a 100644 |
51437 |
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build |
52066 |
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build |
51438 |
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build |
52067 |
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build |
|
|
52068 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
52069 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52070 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
52071 |
DEFINES["RTC_ENABLE_VP9"] = True |
52072 |
+DEFINES["USE_GLIB"] = "1" |
52073 |
+DEFINES["USE_OZONE"] = "1" |
52074 |
+DEFINES["WEBRTC_BSD"] = True |
52075 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
52076 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
52077 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
52078 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
52079 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
52080 |
+DEFINES["WEBRTC_POSIX"] = True |
52081 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
52082 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
52083 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
52084 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
52085 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
52086 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
52087 |
|
52088 |
FINAL_LIBRARY = "xul" |
52089 |
|
52090 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
52091 |
if CONFIG["MOZ_DEBUG"] == "1": |
52092 |
|
52093 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
52094 |
- |
52095 |
-if CONFIG["OS_TARGET"] == "Android": |
52096 |
- |
52097 |
- DEFINES["ANDROID"] = True |
52098 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
52099 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
52100 |
- DEFINES["WEBRTC_ANDROID"] = True |
52101 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
52102 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
52103 |
- DEFINES["WEBRTC_LINUX"] = True |
52104 |
- DEFINES["WEBRTC_POSIX"] = True |
52105 |
- DEFINES["_GNU_SOURCE"] = True |
52106 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52107 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52108 |
- |
52109 |
- OS_LIBS += [ |
52110 |
- "log" |
52111 |
- ] |
52112 |
- |
52113 |
-if CONFIG["OS_TARGET"] == "Darwin": |
52114 |
- |
52115 |
- DEFINES["WEBRTC_MAC"] = True |
52116 |
- DEFINES["WEBRTC_POSIX"] = True |
52117 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
52118 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
52119 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52120 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52121 |
- |
52122 |
-if CONFIG["OS_TARGET"] == "Linux": |
52123 |
- |
52124 |
- DEFINES["USE_AURA"] = "1" |
52125 |
- DEFINES["USE_GLIB"] = "1" |
52126 |
- DEFINES["USE_NSS_CERTS"] = "1" |
52127 |
- DEFINES["USE_OZONE"] = "1" |
52128 |
- DEFINES["USE_UDEV"] = True |
52129 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
52130 |
- DEFINES["WEBRTC_LINUX"] = True |
52131 |
- DEFINES["WEBRTC_POSIX"] = True |
52132 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
52133 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
52134 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
52135 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52136 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52137 |
- |
52138 |
- OS_LIBS += [ |
52139 |
- "rt" |
52140 |
- ] |
52141 |
- |
52142 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
52143 |
- |
52144 |
- DEFINES["USE_GLIB"] = "1" |
52145 |
- DEFINES["USE_OZONE"] = "1" |
52146 |
- DEFINES["USE_X11"] = "1" |
52147 |
- DEFINES["WEBRTC_BSD"] = True |
52148 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
52149 |
- DEFINES["WEBRTC_POSIX"] = True |
52150 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
52151 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
52152 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
52153 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52154 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52155 |
- |
52156 |
-if CONFIG["OS_TARGET"] == "WINNT": |
52157 |
- |
52158 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
52159 |
- DEFINES["NOMINMAX"] = True |
52160 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
52161 |
- DEFINES["PSAPI_VERSION"] = "2" |
52162 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
52163 |
- DEFINES["UNICODE"] = True |
52164 |
- DEFINES["USE_AURA"] = "1" |
52165 |
- DEFINES["WEBRTC_WIN"] = True |
52166 |
- DEFINES["WIN32"] = True |
52167 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
52168 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
52169 |
- DEFINES["WINVER"] = "0x0A00" |
52170 |
- DEFINES["_ATL_NO_OPENGL"] = True |
52171 |
- DEFINES["_CRT_RAND_S"] = True |
52172 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
52173 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
52174 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
52175 |
- DEFINES["_HAS_NODISCARD"] = True |
52176 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
52177 |
- DEFINES["_SECURE_ATL"] = True |
52178 |
- DEFINES["_UNICODE"] = True |
52179 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
52180 |
- DEFINES["_WINDOWS"] = True |
52181 |
- DEFINES["__STD_C"] = True |
52182 |
- |
52183 |
- OS_LIBS += [ |
52184 |
- "crypt32", |
52185 |
- "iphlpapi", |
52186 |
- "secur32", |
52187 |
- "winmm" |
52188 |
- ] |
52189 |
+ DEFINES["_DEBUG"] = True |
52190 |
|
52191 |
if CONFIG["TARGET_CPU"] == "aarch64": |
52192 |
|
52193 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
52194 |
DEFINES["WEBRTC_HAS_NEON"] = True |
52195 |
|
52196 |
-if CONFIG["TARGET_CPU"] == "arm": |
52197 |
- |
52198 |
- CXXFLAGS += [ |
52199 |
- "-mfpu=neon" |
52200 |
- ] |
52201 |
- |
52202 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
52203 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
52204 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
52205 |
- |
52206 |
if CONFIG["TARGET_CPU"] == "mips32": |
52207 |
|
52208 |
DEFINES["MIPS32_LE"] = True |
52209 |
DEFINES["MIPS_FPU_LE"] = True |
52210 |
- DEFINES["_GNU_SOURCE"] = True |
52211 |
- |
52212 |
-if CONFIG["TARGET_CPU"] == "mips64": |
52213 |
- |
52214 |
- DEFINES["_GNU_SOURCE"] = True |
52215 |
|
52216 |
if CONFIG["TARGET_CPU"] == "x86": |
52217 |
|
52218 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
52219 |
- |
52220 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
52221 |
- |
52222 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
52223 |
- |
52224 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
52225 |
- |
52226 |
- DEFINES["_DEBUG"] = True |
52227 |
- |
52228 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
52229 |
- |
52230 |
- DEFINES["_DEBUG"] = True |
52231 |
- |
52232 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
52233 |
- |
52234 |
- DEFINES["_DEBUG"] = True |
52235 |
- |
52236 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
52237 |
- |
52238 |
- DEFINES["_DEBUG"] = True |
52239 |
- |
52240 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
52241 |
- |
52242 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
52243 |
- |
52244 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
52245 |
- |
52246 |
- DEFINES["USE_X11"] = "1" |
52247 |
- |
52248 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
52249 |
- |
52250 |
- OS_LIBS += [ |
52251 |
- "unwind" |
52252 |
- ] |
52253 |
- |
52254 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
52255 |
- |
52256 |
CXXFLAGS += [ |
52257 |
"-msse2" |
52258 |
] |
52259 |
|
52260 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
52261 |
- |
52262 |
- DEFINES["_GNU_SOURCE"] = True |
52263 |
- |
52264 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
52265 |
- |
52266 |
- DEFINES["_GNU_SOURCE"] = True |
52267 |
- |
52268 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
52269 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
52270 |
|
52271 |
- CXXFLAGS += [ |
52272 |
- "-msse2" |
52273 |
- ] |
52274 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
52275 |
|
52276 |
- DEFINES["_GNU_SOURCE"] = True |
52277 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
52278 |
|
52279 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
52280 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
52281 |
|
52282 |
- DEFINES["_GNU_SOURCE"] = True |
52283 |
+ DEFINES["USE_X11"] = "1" |
52284 |
|
52285 |
Library("high_pass_filter_gn") |
52286 |
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build |
52287 |
index 93c673ef1703..87ffa3a5cf65 100644 |
52288 |
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build |
52289 |
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build |
51439 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
52290 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
51440 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52291 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
51441 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
52292 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 51459-51465
index 2fd9b99a64df..62d3f34fa3be 100644
Link Here
|
51459 |
|
52310 |
|
51460 |
FINAL_LIBRARY = "xul" |
52311 |
FINAL_LIBRARY = "xul" |
51461 |
|
52312 |
|
51462 |
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
52313 |
@@ -56,189 +66,32 @@ if not CONFIG["MOZ_DEBUG"]: |
51463 |
if CONFIG["MOZ_DEBUG"] == "1": |
52314 |
if CONFIG["MOZ_DEBUG"] == "1": |
51464 |
|
52315 |
|
51465 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
52316 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 51654-51664
index 2fd9b99a64df..62d3f34fa3be 100644
Link Here
|
51654 |
- DEFINES["_GNU_SOURCE"] = True |
52505 |
- DEFINES["_GNU_SOURCE"] = True |
51655 |
+ DEFINES["USE_X11"] = "1" |
52506 |
+ DEFINES["USE_X11"] = "1" |
51656 |
|
52507 |
|
51657 |
Library("gain_controller2_gn") |
52508 |
Library("ns_gn") |
51658 |
diff --git third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build |
52509 |
diff --git third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build |
51659 |
index 09d5dc988247..ce4fc0c9b48a 100644 |
52510 |
index 0af06a9c3544..8e0e151a81c8 100644 |
51660 |
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build |
52511 |
--- third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build |
51661 |
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build |
52512 |
+++ third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build |
51662 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
52513 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
51663 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52514 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
51664 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
52515 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 51876-51893
index 09d5dc988247..ce4fc0c9b48a 100644
Link Here
|
51876 |
- DEFINES["_GNU_SOURCE"] = True |
52727 |
- DEFINES["_GNU_SOURCE"] = True |
51877 |
+ DEFINES["USE_X11"] = "1" |
52728 |
+ DEFINES["USE_X11"] = "1" |
51878 |
|
52729 |
|
51879 |
Library("high_pass_filter_gn") |
52730 |
Library("optionally_built_submodule_creators_gn") |
51880 |
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build |
52731 |
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build |
51881 |
index 93c673ef1703..87ffa3a5cf65 100644 |
52732 |
index 8b21dc34fd6c..3a7dc84732d1 100644 |
51882 |
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build |
52733 |
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build |
51883 |
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build |
52734 |
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build |
51884 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
52735 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
51885 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52736 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
51886 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
52737 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
51887 |
DEFINES["RTC_ENABLE_VP9"] = True |
52738 |
DEFINES["RTC_ENABLE_VP9"] = True |
51888 |
+DEFINES["USE_GLIB"] = "1" |
52739 |
+DEFINES["USE_GLIB"] = "1" |
51889 |
+DEFINES["USE_OZONE"] = "1" |
52740 |
+DEFINES["USE_OZONE"] = "1" |
51890 |
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" |
|
|
51891 |
+DEFINES["WEBRTC_BSD"] = True |
52741 |
+DEFINES["WEBRTC_BSD"] = True |
51892 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
52742 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
51893 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
52743 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
Lines 51904-51910
index 93c673ef1703..87ffa3a5cf65 100644
Link Here
|
51904 |
|
52754 |
|
51905 |
FINAL_LIBRARY = "xul" |
52755 |
FINAL_LIBRARY = "xul" |
51906 |
|
52756 |
|
51907 |
@@ -56,189 +66,32 @@ if not CONFIG["MOZ_DEBUG"]: |
52757 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
51908 |
if CONFIG["MOZ_DEBUG"] == "1": |
52758 |
if CONFIG["MOZ_DEBUG"] == "1": |
51909 |
|
52759 |
|
51910 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
52760 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 51952-51961
index 93c673ef1703..87ffa3a5cf65 100644
Link Here
|
51952 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52802 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
51953 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52803 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
51954 |
- |
52804 |
- |
51955 |
- OS_LIBS += [ |
|
|
51956 |
- "rt" |
51957 |
- ] |
51958 |
- |
51959 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
52805 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
51960 |
- |
52806 |
- |
51961 |
- DEFINES["USE_GLIB"] = "1" |
52807 |
- DEFINES["USE_GLIB"] = "1" |
Lines 51996-52008
index 93c673ef1703..87ffa3a5cf65 100644
Link Here
|
51996 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
52842 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
51997 |
- DEFINES["_WINDOWS"] = True |
52843 |
- DEFINES["_WINDOWS"] = True |
51998 |
- DEFINES["__STD_C"] = True |
52844 |
- DEFINES["__STD_C"] = True |
51999 |
- |
|
|
52000 |
- OS_LIBS += [ |
52001 |
- "crypt32", |
52002 |
- "iphlpapi", |
52003 |
- "secur32", |
52004 |
- "winmm" |
52005 |
- ] |
52006 |
+ DEFINES["_DEBUG"] = True |
52845 |
+ DEFINES["_DEBUG"] = True |
52007 |
|
52846 |
|
52008 |
if CONFIG["TARGET_CPU"] == "aarch64": |
52847 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 52099-52109
index 93c673ef1703..87ffa3a5cf65 100644
Link Here
|
52099 |
- DEFINES["_GNU_SOURCE"] = True |
52938 |
- DEFINES["_GNU_SOURCE"] = True |
52100 |
+ DEFINES["USE_X11"] = "1" |
52939 |
+ DEFINES["USE_X11"] = "1" |
52101 |
|
52940 |
|
52102 |
Library("ns_gn") |
52941 |
Library("rms_level_gn") |
52103 |
diff --git third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build |
52942 |
diff --git third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build |
52104 |
index 0af06a9c3544..8e0e151a81c8 100644 |
52943 |
index f3ccbefcdb8e..53e064f05b08 100644 |
52105 |
--- third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build |
52944 |
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build |
52106 |
+++ third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build |
52945 |
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build |
52107 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
52946 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
52108 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52947 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52109 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
52948 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 52126-52132
index 0af06a9c3544..8e0e151a81c8 100644
Link Here
|
52126 |
|
52965 |
|
52127 |
FINAL_LIBRARY = "xul" |
52966 |
FINAL_LIBRARY = "xul" |
52128 |
|
52967 |
|
52129 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
52968 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
52130 |
if CONFIG["MOZ_DEBUG"] == "1": |
52969 |
if CONFIG["MOZ_DEBUG"] == "1": |
52131 |
|
52970 |
|
52132 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
52971 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 52145-52154
index 0af06a9c3544..8e0e151a81c8 100644
Link Here
|
52145 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52984 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52146 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52985 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52147 |
- |
52986 |
- |
52148 |
- OS_LIBS += [ |
|
|
52149 |
- "log" |
52150 |
- ] |
52151 |
- |
52152 |
-if CONFIG["OS_TARGET"] == "Darwin": |
52987 |
-if CONFIG["OS_TARGET"] == "Darwin": |
52153 |
- |
52988 |
- |
52154 |
- DEFINES["WEBRTC_MAC"] = True |
52989 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 52174-52183
index 0af06a9c3544..8e0e151a81c8 100644
Link Here
|
52174 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
53009 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52175 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
53010 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52176 |
- |
53011 |
- |
52177 |
- OS_LIBS += [ |
|
|
52178 |
- "rt" |
52179 |
- ] |
52180 |
- |
52181 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
53012 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
52182 |
- |
53013 |
- |
52183 |
- DEFINES["USE_GLIB"] = "1" |
53014 |
- DEFINES["USE_GLIB"] = "1" |
Lines 52218-52230
index 0af06a9c3544..8e0e151a81c8 100644
Link Here
|
52218 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
53049 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
52219 |
- DEFINES["_WINDOWS"] = True |
53050 |
- DEFINES["_WINDOWS"] = True |
52220 |
- DEFINES["__STD_C"] = True |
53051 |
- DEFINES["__STD_C"] = True |
52221 |
- |
|
|
52222 |
- OS_LIBS += [ |
52223 |
- "crypt32", |
52224 |
- "iphlpapi", |
52225 |
- "secur32", |
52226 |
- "winmm" |
52227 |
- ] |
52228 |
+ DEFINES["_DEBUG"] = True |
53052 |
+ DEFINES["_DEBUG"] = True |
52229 |
|
53053 |
|
52230 |
if CONFIG["TARGET_CPU"] == "aarch64": |
53054 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 52234-52243
index 0af06a9c3544..8e0e151a81c8 100644
Link Here
|
52234 |
|
53058 |
|
52235 |
-if CONFIG["TARGET_CPU"] == "arm": |
53059 |
-if CONFIG["TARGET_CPU"] == "arm": |
52236 |
- |
53060 |
- |
52237 |
- CXXFLAGS += [ |
|
|
52238 |
- "-mfpu=neon" |
52239 |
- ] |
52240 |
- |
52241 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
53061 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
52242 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
53062 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
52243 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
53063 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 52254-52265
index 0af06a9c3544..8e0e151a81c8 100644
Link Here
|
52254 |
|
53074 |
|
52255 |
if CONFIG["TARGET_CPU"] == "x86": |
53075 |
if CONFIG["TARGET_CPU"] == "x86": |
52256 |
|
53076 |
|
52257 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
53077 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
52258 |
- |
53078 |
|
52259 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
53079 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
52260 |
- |
53080 |
|
52261 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
52262 |
- |
52263 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
53081 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
52264 |
- |
53082 |
- |
52265 |
- DEFINES["_DEBUG"] = True |
53083 |
- DEFINES["_DEBUG"] = True |
Lines 52281-52301
index 0af06a9c3544..8e0e151a81c8 100644
Link Here
|
52281 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
53099 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
52282 |
- |
53100 |
- |
52283 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
53101 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
52284 |
- |
53102 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
52285 |
- DEFINES["USE_X11"] = "1" |
53103 |
|
52286 |
- |
53104 |
DEFINES["USE_X11"] = "1" |
|
|
53105 |
|
52287 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
53106 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
52288 |
- |
53107 |
- |
52289 |
- OS_LIBS += [ |
53108 |
- OS_LIBS += [ |
52290 |
- "unwind" |
53109 |
- "unwind" |
52291 |
- ] |
53110 |
- ] |
52292 |
- |
53111 |
- |
52293 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
52294 |
- |
52295 |
CXXFLAGS += [ |
52296 |
"-msse2" |
52297 |
] |
52298 |
|
52299 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
53112 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
52300 |
- |
53113 |
- |
52301 |
- DEFINES["_GNU_SOURCE"] = True |
53114 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 52305-52331
index 0af06a9c3544..8e0e151a81c8 100644
Link Here
|
52305 |
- DEFINES["_GNU_SOURCE"] = True |
53118 |
- DEFINES["_GNU_SOURCE"] = True |
52306 |
- |
53119 |
- |
52307 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
53120 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
52308 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
53121 |
- |
52309 |
|
|
|
52310 |
- CXXFLAGS += [ |
52311 |
- "-msse2" |
52312 |
- ] |
52313 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
52314 |
|
52315 |
- DEFINES["_GNU_SOURCE"] = True |
53122 |
- DEFINES["_GNU_SOURCE"] = True |
52316 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
53123 |
- |
52317 |
|
|
|
52318 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
53124 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
52319 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
53125 |
- |
52320 |
|
|
|
52321 |
- DEFINES["_GNU_SOURCE"] = True |
53126 |
- DEFINES["_GNU_SOURCE"] = True |
52322 |
+ DEFINES["USE_X11"] = "1" |
53127 |
- |
52323 |
|
53128 |
Library("transient_suppressor_api_gn") |
52324 |
Library("optionally_built_submodule_creators_gn") |
53129 |
diff --git third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build |
52325 |
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build |
53130 |
index 0ec5dcb6c535..b42e3cf6c30e 100644 |
52326 |
index 8b21dc34fd6c..3a7dc84732d1 100644 |
53131 |
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build |
52327 |
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build |
53132 |
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build |
52328 |
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build |
|
|
52329 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53133 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
52330 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53134 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52331 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
53135 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 52348-52354
index 8b21dc34fd6c..3a7dc84732d1 100644
Link Here
|
52348 |
|
53152 |
|
52349 |
FINAL_LIBRARY = "xul" |
53153 |
FINAL_LIBRARY = "xul" |
52350 |
|
53154 |
|
52351 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
53155 |
@@ -47,189 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
52352 |
if CONFIG["MOZ_DEBUG"] == "1": |
53156 |
if CONFIG["MOZ_DEBUG"] == "1": |
52353 |
|
53157 |
|
52354 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
53158 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 52396-52401
index 8b21dc34fd6c..3a7dc84732d1 100644
Link Here
|
52396 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
53200 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52397 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
53201 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52398 |
- |
53202 |
- |
|
|
53203 |
- OS_LIBS += [ |
53204 |
- "rt" |
53205 |
- ] |
53206 |
- |
52399 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
53207 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
52400 |
- |
53208 |
- |
52401 |
- DEFINES["USE_GLIB"] = "1" |
53209 |
- DEFINES["USE_GLIB"] = "1" |
Lines 52436-52441
index 8b21dc34fd6c..3a7dc84732d1 100644
Link Here
|
52436 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
53244 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
52437 |
- DEFINES["_WINDOWS"] = True |
53245 |
- DEFINES["_WINDOWS"] = True |
52438 |
- DEFINES["__STD_C"] = True |
53246 |
- DEFINES["__STD_C"] = True |
|
|
53247 |
- |
53248 |
- OS_LIBS += [ |
53249 |
- "crypt32", |
53250 |
- "iphlpapi", |
53251 |
- "secur32", |
53252 |
- "winmm" |
53253 |
- ] |
52439 |
+ DEFINES["_DEBUG"] = True |
53254 |
+ DEFINES["_DEBUG"] = True |
52440 |
|
53255 |
|
52441 |
if CONFIG["TARGET_CPU"] == "aarch64": |
53256 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 52532-52542
index 8b21dc34fd6c..3a7dc84732d1 100644
Link Here
|
52532 |
- DEFINES["_GNU_SOURCE"] = True |
53347 |
- DEFINES["_GNU_SOURCE"] = True |
52533 |
+ DEFINES["USE_X11"] = "1" |
53348 |
+ DEFINES["USE_X11"] = "1" |
52534 |
|
53349 |
|
52535 |
Library("rms_level_gn") |
53350 |
Library("transient_suppressor_impl_gn") |
52536 |
diff --git third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build |
53351 |
diff --git third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build |
52537 |
index f3ccbefcdb8e..53e064f05b08 100644 |
53352 |
index 50a6a9d55ce5..418e3f81e786 100644 |
52538 |
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build |
53353 |
--- third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build |
52539 |
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build |
53354 |
+++ third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build |
52540 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53355 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
52541 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53356 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52542 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
53357 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 52559-52565
index f3ccbefcdb8e..53e064f05b08 100644
Link Here
|
52559 |
|
53374 |
|
52560 |
FINAL_LIBRARY = "xul" |
53375 |
FINAL_LIBRARY = "xul" |
52561 |
|
53376 |
|
52562 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
53377 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
52563 |
if CONFIG["MOZ_DEBUG"] == "1": |
53378 |
if CONFIG["MOZ_DEBUG"] == "1": |
52564 |
|
53379 |
|
52565 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
53380 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 52578-52583
index f3ccbefcdb8e..53e064f05b08 100644
Link Here
|
52578 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
53393 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52579 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
53394 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52580 |
- |
53395 |
- |
|
|
53396 |
- OS_LIBS += [ |
53397 |
- "log" |
53398 |
- ] |
53399 |
- |
52581 |
-if CONFIG["OS_TARGET"] == "Darwin": |
53400 |
-if CONFIG["OS_TARGET"] == "Darwin": |
52582 |
- |
53401 |
- |
52583 |
- DEFINES["WEBRTC_MAC"] = True |
53402 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 52652-52657
index f3ccbefcdb8e..53e064f05b08 100644
Link Here
|
52652 |
|
53471 |
|
52653 |
-if CONFIG["TARGET_CPU"] == "arm": |
53472 |
-if CONFIG["TARGET_CPU"] == "arm": |
52654 |
- |
53473 |
- |
|
|
53474 |
- CXXFLAGS += [ |
53475 |
- "-mfpu=neon" |
53476 |
- ] |
53477 |
- |
52655 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
53478 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
52656 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
53479 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
52657 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
53480 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 52668-52677
index f3ccbefcdb8e..53e064f05b08 100644
Link Here
|
52668 |
|
53491 |
|
52669 |
if CONFIG["TARGET_CPU"] == "x86": |
53492 |
if CONFIG["TARGET_CPU"] == "x86": |
52670 |
|
53493 |
|
52671 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
53494 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
52672 |
|
53495 |
- |
52673 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
53496 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
52674 |
|
53497 |
- |
|
|
53498 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
53499 |
- |
52675 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
53500 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
52676 |
- |
53501 |
- |
52677 |
- DEFINES["_DEBUG"] = True |
53502 |
- DEFINES["_DEBUG"] = True |
Lines 52693-52708
index f3ccbefcdb8e..53e064f05b08 100644
Link Here
|
52693 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
53518 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
52694 |
- |
53519 |
- |
52695 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
53520 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
52696 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
53521 |
- |
52697 |
|
53522 |
- DEFINES["USE_X11"] = "1" |
52698 |
DEFINES["USE_X11"] = "1" |
53523 |
- |
52699 |
|
|
|
52700 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
53524 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
52701 |
- |
53525 |
- |
52702 |
- OS_LIBS += [ |
53526 |
- OS_LIBS += [ |
52703 |
- "unwind" |
53527 |
- "unwind" |
52704 |
- ] |
53528 |
- ] |
52705 |
- |
53529 |
- |
|
|
53530 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
53531 |
- |
53532 |
CXXFLAGS += [ |
53533 |
"-msse2" |
53534 |
] |
53535 |
|
52706 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
53536 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
52707 |
- |
53537 |
- |
52708 |
- DEFINES["_GNU_SOURCE"] = True |
53538 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 52712-52729
index f3ccbefcdb8e..53e064f05b08 100644
Link Here
|
52712 |
- DEFINES["_GNU_SOURCE"] = True |
53542 |
- DEFINES["_GNU_SOURCE"] = True |
52713 |
- |
53543 |
- |
52714 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
53544 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
52715 |
- |
53545 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
53546 |
|
53547 |
- CXXFLAGS += [ |
53548 |
- "-msse2" |
53549 |
- ] |
53550 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
53551 |
|
52716 |
- DEFINES["_GNU_SOURCE"] = True |
53552 |
- DEFINES["_GNU_SOURCE"] = True |
52717 |
- |
53553 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
53554 |
|
52718 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
53555 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
52719 |
- |
53556 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
53557 |
|
52720 |
- DEFINES["_GNU_SOURCE"] = True |
53558 |
- DEFINES["_GNU_SOURCE"] = True |
52721 |
- |
53559 |
+ DEFINES["USE_X11"] = "1" |
52722 |
Library("transient_suppressor_api_gn") |
53560 |
|
52723 |
diff --git third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build |
53561 |
Library("voice_probability_delay_unit_gn") |
52724 |
index 0ec5dcb6c535..b42e3cf6c30e 100644 |
53562 |
diff --git third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build |
52725 |
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build |
53563 |
index f1b3493b7a96..93278d71202e 100644 |
52726 |
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build |
53564 |
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build |
|
|
53565 |
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build |
52727 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53566 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
52728 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53567 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52729 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
53568 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 52746-52752
index 0ec5dcb6c535..b42e3cf6c30e 100644
Link Here
|
52746 |
|
53585 |
|
52747 |
FINAL_LIBRARY = "xul" |
53586 |
FINAL_LIBRARY = "xul" |
52748 |
|
53587 |
|
52749 |
@@ -47,189 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
53588 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
52750 |
if CONFIG["MOZ_DEBUG"] == "1": |
53589 |
if CONFIG["MOZ_DEBUG"] == "1": |
52751 |
|
53590 |
|
52752 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
53591 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 52794-52803
index 0ec5dcb6c535..b42e3cf6c30e 100644
Link Here
|
52794 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
53633 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
52795 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
53634 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
52796 |
- |
53635 |
- |
52797 |
- OS_LIBS += [ |
|
|
52798 |
- "rt" |
52799 |
- ] |
52800 |
- |
52801 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
53636 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
52802 |
- |
53637 |
- |
52803 |
- DEFINES["USE_GLIB"] = "1" |
53638 |
- DEFINES["USE_GLIB"] = "1" |
Lines 52838-52850
index 0ec5dcb6c535..b42e3cf6c30e 100644
Link Here
|
52838 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
53673 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
52839 |
- DEFINES["_WINDOWS"] = True |
53674 |
- DEFINES["_WINDOWS"] = True |
52840 |
- DEFINES["__STD_C"] = True |
53675 |
- DEFINES["__STD_C"] = True |
52841 |
- |
|
|
52842 |
- OS_LIBS += [ |
52843 |
- "crypt32", |
52844 |
- "iphlpapi", |
52845 |
- "secur32", |
52846 |
- "winmm" |
52847 |
- ] |
52848 |
+ DEFINES["_DEBUG"] = True |
53676 |
+ DEFINES["_DEBUG"] = True |
52849 |
|
53677 |
|
52850 |
if CONFIG["TARGET_CPU"] == "aarch64": |
53678 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 52941-52951
index 0ec5dcb6c535..b42e3cf6c30e 100644
Link Here
|
52941 |
- DEFINES["_GNU_SOURCE"] = True |
53769 |
- DEFINES["_GNU_SOURCE"] = True |
52942 |
+ DEFINES["USE_X11"] = "1" |
53770 |
+ DEFINES["USE_X11"] = "1" |
52943 |
|
53771 |
|
52944 |
Library("transient_suppressor_impl_gn") |
53772 |
Library("cascaded_biquad_filter_gn") |
52945 |
diff --git third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build |
53773 |
diff --git third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build |
52946 |
index 50a6a9d55ce5..418e3f81e786 100644 |
53774 |
index 12b385e2e905..fc6f3d337810 100644 |
52947 |
--- third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build |
53775 |
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build |
52948 |
+++ third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build |
53776 |
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build |
52949 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53777 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
52950 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53778 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
52951 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
53779 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 52968-52974
index 50a6a9d55ce5..418e3f81e786 100644
Link Here
|
52968 |
|
53796 |
|
52969 |
FINAL_LIBRARY = "xul" |
53797 |
FINAL_LIBRARY = "xul" |
52970 |
|
53798 |
|
52971 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
53799 |
@@ -44,178 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
52972 |
if CONFIG["MOZ_DEBUG"] == "1": |
53800 |
if CONFIG["MOZ_DEBUG"] == "1": |
52973 |
|
53801 |
|
52974 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
53802 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 53152-53162
index 50a6a9d55ce5..418e3f81e786 100644
Link Here
|
53152 |
- DEFINES["_GNU_SOURCE"] = True |
53980 |
- DEFINES["_GNU_SOURCE"] = True |
53153 |
+ DEFINES["USE_X11"] = "1" |
53981 |
+ DEFINES["USE_X11"] = "1" |
53154 |
|
53982 |
|
53155 |
Library("voice_probability_delay_unit_gn") |
53983 |
Library("legacy_delay_estimator_gn") |
53156 |
diff --git third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build |
53984 |
diff --git third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build |
53157 |
index f1b3493b7a96..93278d71202e 100644 |
53985 |
index f1e1bc555af4..7ef8884828c3 100644 |
53158 |
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build |
53986 |
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build |
53159 |
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build |
53987 |
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build |
53160 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53988 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53161 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53989 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53162 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
53990 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 53363-53373
index f1b3493b7a96..93278d71202e 100644
Link Here
|
53363 |
- DEFINES["_GNU_SOURCE"] = True |
54191 |
- DEFINES["_GNU_SOURCE"] = True |
53364 |
+ DEFINES["USE_X11"] = "1" |
54192 |
+ DEFINES["USE_X11"] = "1" |
53365 |
|
54193 |
|
53366 |
Library("cascaded_biquad_filter_gn") |
54194 |
Library("pffft_wrapper_gn") |
53367 |
diff --git third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build |
54195 |
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build |
53368 |
index 12b385e2e905..fc6f3d337810 100644 |
54196 |
index 4794a478e8a0..8cf74ef26590 100644 |
53369 |
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build |
54197 |
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build |
53370 |
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build |
54198 |
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build |
53371 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
54199 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53372 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54200 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53373 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
54201 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 53390-53396
index 12b385e2e905..fc6f3d337810 100644
Link Here
|
53390 |
|
54218 |
|
53391 |
FINAL_LIBRARY = "xul" |
54219 |
FINAL_LIBRARY = "xul" |
53392 |
|
54220 |
|
53393 |
@@ -44,178 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54221 |
@@ -50,189 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: |
53394 |
if CONFIG["MOZ_DEBUG"] == "1": |
54222 |
if CONFIG["MOZ_DEBUG"] == "1": |
53395 |
|
54223 |
|
53396 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
54224 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 53438-53443
index 12b385e2e905..fc6f3d337810 100644
Link Here
|
53438 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54266 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
53439 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54267 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
53440 |
- |
54268 |
- |
|
|
54269 |
- OS_LIBS += [ |
54270 |
- "rt" |
54271 |
- ] |
54272 |
- |
53441 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
54273 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
53442 |
- |
54274 |
- |
53443 |
- DEFINES["USE_GLIB"] = "1" |
54275 |
- DEFINES["USE_GLIB"] = "1" |
Lines 53478-53483
index 12b385e2e905..fc6f3d337810 100644
Link Here
|
53478 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
54310 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
53479 |
- DEFINES["_WINDOWS"] = True |
54311 |
- DEFINES["_WINDOWS"] = True |
53480 |
- DEFINES["__STD_C"] = True |
54312 |
- DEFINES["__STD_C"] = True |
|
|
54313 |
- |
54314 |
- OS_LIBS += [ |
54315 |
- "crypt32", |
54316 |
- "iphlpapi", |
54317 |
- "secur32", |
54318 |
- "winmm" |
54319 |
- ] |
53481 |
+ DEFINES["_DEBUG"] = True |
54320 |
+ DEFINES["_DEBUG"] = True |
53482 |
|
54321 |
|
53483 |
if CONFIG["TARGET_CPU"] == "aarch64": |
54322 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 53574-53584
index 12b385e2e905..fc6f3d337810 100644
Link Here
|
53574 |
- DEFINES["_GNU_SOURCE"] = True |
54413 |
- DEFINES["_GNU_SOURCE"] = True |
53575 |
+ DEFINES["USE_X11"] = "1" |
54414 |
+ DEFINES["USE_X11"] = "1" |
53576 |
|
54415 |
|
53577 |
Library("legacy_delay_estimator_gn") |
54416 |
Library("vad_gn") |
53578 |
diff --git third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build |
54417 |
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
53579 |
index f1e1bc555af4..7ef8884828c3 100644 |
54418 |
index 614d8e5ebc43..b20264e2e6c3 100644 |
53580 |
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build |
54419 |
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
53581 |
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build |
54420 |
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
53582 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
54421 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53583 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54422 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53584 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
54423 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 53601-53607
index f1e1bc555af4..7ef8884828c3 100644
Link Here
|
53601 |
|
54440 |
|
53602 |
FINAL_LIBRARY = "xul" |
54441 |
FINAL_LIBRARY = "xul" |
53603 |
|
54442 |
|
53604 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54443 |
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
53605 |
if CONFIG["MOZ_DEBUG"] == "1": |
54444 |
if CONFIG["MOZ_DEBUG"] == "1": |
53606 |
|
54445 |
|
53607 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
54446 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 53621-53626
index f1e1bc555af4..7ef8884828c3 100644
Link Here
|
53621 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54460 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
53622 |
- |
54461 |
- |
53623 |
- OS_LIBS += [ |
54462 |
- OS_LIBS += [ |
|
|
54463 |
- "GLESv2", |
53624 |
- "log" |
54464 |
- "log" |
53625 |
- ] |
54465 |
- ] |
53626 |
- |
54466 |
- |
Lines 53649-53654
index f1e1bc555af4..7ef8884828c3 100644
Link Here
|
53649 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54489 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
53650 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54490 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
53651 |
- |
54491 |
- |
|
|
54492 |
- OS_LIBS += [ |
54493 |
- "rt" |
54494 |
- ] |
54495 |
- |
53652 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
54496 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
53653 |
- |
54497 |
- |
53654 |
- DEFINES["USE_GLIB"] = "1" |
54498 |
- DEFINES["USE_GLIB"] = "1" |
Lines 53689-53694
index f1e1bc555af4..7ef8884828c3 100644
Link Here
|
53689 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
54533 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
53690 |
- DEFINES["_WINDOWS"] = True |
54534 |
- DEFINES["_WINDOWS"] = True |
53691 |
- DEFINES["__STD_C"] = True |
54535 |
- DEFINES["__STD_C"] = True |
|
|
54536 |
- |
54537 |
- OS_LIBS += [ |
54538 |
- "crypt32", |
54539 |
- "iphlpapi", |
54540 |
- "secur32", |
54541 |
- "winmm" |
54542 |
- ] |
53692 |
+ DEFINES["_DEBUG"] = True |
54543 |
+ DEFINES["_DEBUG"] = True |
53693 |
|
54544 |
|
53694 |
if CONFIG["TARGET_CPU"] == "aarch64": |
54545 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 53785-53795
index f1e1bc555af4..7ef8884828c3 100644
Link Here
|
53785 |
- DEFINES["_GNU_SOURCE"] = True |
54636 |
- DEFINES["_GNU_SOURCE"] = True |
53786 |
+ DEFINES["USE_X11"] = "1" |
54637 |
+ DEFINES["USE_X11"] = "1" |
53787 |
|
54638 |
|
53788 |
Library("pffft_wrapper_gn") |
54639 |
Library("congestion_controller_gn") |
53789 |
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build |
54640 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build |
53790 |
index 4794a478e8a0..8cf74ef26590 100644 |
54641 |
index 2a3d216e40c0..099616509cba 100644 |
53791 |
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build |
54642 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build |
53792 |
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build |
54643 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build |
53793 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
54644 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
53794 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54645 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
53795 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
54646 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 53812-53818
index 4794a478e8a0..8cf74ef26590 100644
Link Here
|
53812 |
|
54663 |
|
53813 |
FINAL_LIBRARY = "xul" |
54664 |
FINAL_LIBRARY = "xul" |
53814 |
|
54665 |
|
53815 |
@@ -50,189 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54666 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
53816 |
if CONFIG["MOZ_DEBUG"] == "1": |
54667 |
if CONFIG["MOZ_DEBUG"] == "1": |
53817 |
|
54668 |
|
53818 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
54669 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 53860-53869
index 4794a478e8a0..8cf74ef26590 100644
Link Here
|
53860 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54711 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
53861 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54712 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
53862 |
- |
54713 |
- |
53863 |
- OS_LIBS += [ |
|
|
53864 |
- "rt" |
53865 |
- ] |
53866 |
- |
53867 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
54714 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
53868 |
- |
54715 |
- |
53869 |
- DEFINES["USE_GLIB"] = "1" |
54716 |
- DEFINES["USE_GLIB"] = "1" |
Lines 54007-54019
index 4794a478e8a0..8cf74ef26590 100644
Link Here
|
54007 |
- DEFINES["_GNU_SOURCE"] = True |
54854 |
- DEFINES["_GNU_SOURCE"] = True |
54008 |
+ DEFINES["USE_X11"] = "1" |
54855 |
+ DEFINES["USE_X11"] = "1" |
54009 |
|
54856 |
|
54010 |
Library("vad_gn") |
54857 |
Library("alr_detector_gn") |
54011 |
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
54858 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build |
54012 |
index 59d06c939618..1fda98e1fc3f 100644 |
54859 |
index 4cb60b5d0dc7..50814029b56f 100644 |
54013 |
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
54860 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build |
54014 |
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
54861 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build |
54015 |
@@ -13,11 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54862 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
54016 |
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0" |
54863 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54017 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
54864 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
54018 |
DEFINES["RTC_ENABLE_VP9"] = True |
54865 |
DEFINES["RTC_ENABLE_VP9"] = True |
54019 |
+DEFINES["USE_GLIB"] = "1" |
54866 |
+DEFINES["USE_GLIB"] = "1" |
Lines 54034-54040
index 59d06c939618..1fda98e1fc3f 100644
Link Here
|
54034 |
|
54881 |
|
54035 |
FINAL_LIBRARY = "xul" |
54882 |
FINAL_LIBRARY = "xul" |
54036 |
|
54883 |
|
54037 |
@@ -45,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54884 |
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54038 |
if CONFIG["MOZ_DEBUG"] == "1": |
54885 |
if CONFIG["MOZ_DEBUG"] == "1": |
54039 |
|
54886 |
|
54040 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
54887 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 54230-54240
index 59d06c939618..1fda98e1fc3f 100644
Link Here
|
54230 |
- DEFINES["_GNU_SOURCE"] = True |
55077 |
- DEFINES["_GNU_SOURCE"] = True |
54231 |
+ DEFINES["USE_X11"] = "1" |
55078 |
+ DEFINES["USE_X11"] = "1" |
54232 |
|
55079 |
|
54233 |
Library("congestion_controller_gn") |
55080 |
Library("delay_based_bwe_gn") |
54234 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build |
55081 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build |
54235 |
index 2a3d216e40c0..099616509cba 100644 |
55082 |
index ad88ce9e6090..6d3e24fb02c2 100644 |
54236 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build |
55083 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build |
54237 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build |
55084 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build |
54238 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
55085 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
54239 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
55086 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54240 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
55087 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 54257-54481
index 2a3d216e40c0..099616509cba 100644
Link Here
|
54257 |
|
55104 |
|
54258 |
FINAL_LIBRARY = "xul" |
55105 |
FINAL_LIBRARY = "xul" |
54259 |
|
55106 |
|
54260 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
55107 |
@@ -48,189 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54261 |
if CONFIG["MOZ_DEBUG"] == "1": |
|
|
54262 |
|
54263 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
54264 |
- |
54265 |
-if CONFIG["OS_TARGET"] == "Android": |
54266 |
- |
54267 |
- DEFINES["ANDROID"] = True |
54268 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
54269 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
54270 |
- DEFINES["WEBRTC_ANDROID"] = True |
54271 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
54272 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
54273 |
- DEFINES["WEBRTC_LINUX"] = True |
54274 |
- DEFINES["WEBRTC_POSIX"] = True |
54275 |
- DEFINES["_GNU_SOURCE"] = True |
54276 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54277 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54278 |
- |
54279 |
- OS_LIBS += [ |
54280 |
- "log" |
54281 |
- ] |
54282 |
- |
54283 |
-if CONFIG["OS_TARGET"] == "Darwin": |
54284 |
- |
54285 |
- DEFINES["WEBRTC_MAC"] = True |
54286 |
- DEFINES["WEBRTC_POSIX"] = True |
54287 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
54288 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
54289 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54290 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54291 |
- |
54292 |
-if CONFIG["OS_TARGET"] == "Linux": |
54293 |
- |
54294 |
- DEFINES["USE_AURA"] = "1" |
54295 |
- DEFINES["USE_GLIB"] = "1" |
54296 |
- DEFINES["USE_NSS_CERTS"] = "1" |
54297 |
- DEFINES["USE_OZONE"] = "1" |
54298 |
- DEFINES["USE_UDEV"] = True |
54299 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
54300 |
- DEFINES["WEBRTC_LINUX"] = True |
54301 |
- DEFINES["WEBRTC_POSIX"] = True |
54302 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
54303 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
54304 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
54305 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54306 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54307 |
- |
54308 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
54309 |
- |
54310 |
- DEFINES["USE_GLIB"] = "1" |
54311 |
- DEFINES["USE_OZONE"] = "1" |
54312 |
- DEFINES["USE_X11"] = "1" |
54313 |
- DEFINES["WEBRTC_BSD"] = True |
54314 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
54315 |
- DEFINES["WEBRTC_POSIX"] = True |
54316 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
54317 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
54318 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
54319 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54320 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54321 |
- |
54322 |
-if CONFIG["OS_TARGET"] == "WINNT": |
54323 |
- |
54324 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
54325 |
- DEFINES["NOMINMAX"] = True |
54326 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
54327 |
- DEFINES["PSAPI_VERSION"] = "2" |
54328 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
54329 |
- DEFINES["UNICODE"] = True |
54330 |
- DEFINES["USE_AURA"] = "1" |
54331 |
- DEFINES["WEBRTC_WIN"] = True |
54332 |
- DEFINES["WIN32"] = True |
54333 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
54334 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
54335 |
- DEFINES["WINVER"] = "0x0A00" |
54336 |
- DEFINES["_ATL_NO_OPENGL"] = True |
54337 |
- DEFINES["_CRT_RAND_S"] = True |
54338 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
54339 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
54340 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
54341 |
- DEFINES["_HAS_NODISCARD"] = True |
54342 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
54343 |
- DEFINES["_SECURE_ATL"] = True |
54344 |
- DEFINES["_UNICODE"] = True |
54345 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
54346 |
- DEFINES["_WINDOWS"] = True |
54347 |
- DEFINES["__STD_C"] = True |
54348 |
- |
54349 |
- OS_LIBS += [ |
54350 |
- "crypt32", |
54351 |
- "iphlpapi", |
54352 |
- "secur32", |
54353 |
- "winmm" |
54354 |
- ] |
54355 |
+ DEFINES["_DEBUG"] = True |
54356 |
|
54357 |
if CONFIG["TARGET_CPU"] == "aarch64": |
54358 |
|
54359 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
54360 |
DEFINES["WEBRTC_HAS_NEON"] = True |
54361 |
|
54362 |
-if CONFIG["TARGET_CPU"] == "arm": |
54363 |
- |
54364 |
- CXXFLAGS += [ |
54365 |
- "-mfpu=neon" |
54366 |
- ] |
54367 |
- |
54368 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
54369 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
54370 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
54371 |
- |
54372 |
if CONFIG["TARGET_CPU"] == "mips32": |
54373 |
|
54374 |
DEFINES["MIPS32_LE"] = True |
54375 |
DEFINES["MIPS_FPU_LE"] = True |
54376 |
- DEFINES["_GNU_SOURCE"] = True |
54377 |
- |
54378 |
-if CONFIG["TARGET_CPU"] == "mips64": |
54379 |
- |
54380 |
- DEFINES["_GNU_SOURCE"] = True |
54381 |
|
54382 |
if CONFIG["TARGET_CPU"] == "x86": |
54383 |
|
54384 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
54385 |
- |
54386 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
54387 |
- |
54388 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
54389 |
- |
54390 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
54391 |
- |
54392 |
- DEFINES["_DEBUG"] = True |
54393 |
- |
54394 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
54395 |
- |
54396 |
- DEFINES["_DEBUG"] = True |
54397 |
- |
54398 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
54399 |
- |
54400 |
- DEFINES["_DEBUG"] = True |
54401 |
- |
54402 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
54403 |
- |
54404 |
- DEFINES["_DEBUG"] = True |
54405 |
- |
54406 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
54407 |
- |
54408 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
54409 |
- |
54410 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
54411 |
- |
54412 |
- DEFINES["USE_X11"] = "1" |
54413 |
- |
54414 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
54415 |
- |
54416 |
- OS_LIBS += [ |
54417 |
- "unwind" |
54418 |
- ] |
54419 |
- |
54420 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
54421 |
- |
54422 |
CXXFLAGS += [ |
54423 |
"-msse2" |
54424 |
] |
54425 |
|
54426 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
54427 |
- |
54428 |
- DEFINES["_GNU_SOURCE"] = True |
54429 |
- |
54430 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
54431 |
- |
54432 |
- DEFINES["_GNU_SOURCE"] = True |
54433 |
- |
54434 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
54435 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
54436 |
|
54437 |
- CXXFLAGS += [ |
54438 |
- "-msse2" |
54439 |
- ] |
54440 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
54441 |
|
54442 |
- DEFINES["_GNU_SOURCE"] = True |
54443 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
54444 |
|
54445 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
54446 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
54447 |
|
54448 |
- DEFINES["_GNU_SOURCE"] = True |
54449 |
+ DEFINES["USE_X11"] = "1" |
54450 |
|
54451 |
Library("alr_detector_gn") |
54452 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build |
54453 |
index b138b59fc656..7e2398647c6a 100644 |
54454 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build |
54455 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build |
54456 |
@@ -13,11 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54457 |
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0" |
54458 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
54459 |
DEFINES["RTC_ENABLE_VP9"] = True |
54460 |
+DEFINES["USE_GLIB"] = "1" |
54461 |
+DEFINES["USE_OZONE"] = "1" |
54462 |
+DEFINES["WEBRTC_BSD"] = True |
54463 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
54464 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
54465 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
54466 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
54467 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
54468 |
+DEFINES["WEBRTC_POSIX"] = True |
54469 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
54470 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
54471 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
54472 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
54473 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
54474 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
54475 |
|
54476 |
FINAL_LIBRARY = "xul" |
54477 |
|
54478 |
@@ -45,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54479 |
if CONFIG["MOZ_DEBUG"] == "1": |
55108 |
if CONFIG["MOZ_DEBUG"] == "1": |
54480 |
|
55109 |
|
54481 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
55110 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 54495-54501
index b138b59fc656..7e2398647c6a 100644
Link Here
|
54495 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
55124 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54496 |
- |
55125 |
- |
54497 |
- OS_LIBS += [ |
55126 |
- OS_LIBS += [ |
54498 |
- "GLESv2", |
|
|
54499 |
- "log" |
55127 |
- "log" |
54500 |
- ] |
55128 |
- ] |
54501 |
- |
55129 |
- |
Lines 54671-54683
index b138b59fc656..7e2398647c6a 100644
Link Here
|
54671 |
- DEFINES["_GNU_SOURCE"] = True |
55299 |
- DEFINES["_GNU_SOURCE"] = True |
54672 |
+ DEFINES["USE_X11"] = "1" |
55300 |
+ DEFINES["USE_X11"] = "1" |
54673 |
|
55301 |
|
54674 |
Library("delay_based_bwe_gn") |
55302 |
Library("estimators_gn") |
54675 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build |
55303 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build |
54676 |
index 47ee346c89e8..2bd76ccbe13d 100644 |
55304 |
index 6b0c2966167e..f5da2b2521ed 100644 |
54677 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build |
55305 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build |
54678 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build |
55306 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build |
54679 |
@@ -13,11 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
55307 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
54680 |
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0" |
55308 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54681 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
55309 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
54682 |
DEFINES["RTC_ENABLE_VP9"] = True |
55310 |
DEFINES["RTC_ENABLE_VP9"] = True |
54683 |
+DEFINES["USE_GLIB"] = "1" |
55311 |
+DEFINES["USE_GLIB"] = "1" |
Lines 54698-54704
index 47ee346c89e8..2bd76ccbe13d 100644
Link Here
|
54698 |
|
55326 |
|
54699 |
FINAL_LIBRARY = "xul" |
55327 |
FINAL_LIBRARY = "xul" |
54700 |
|
55328 |
|
54701 |
@@ -49,189 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: |
55329 |
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54702 |
if CONFIG["MOZ_DEBUG"] == "1": |
55330 |
if CONFIG["MOZ_DEBUG"] == "1": |
54703 |
|
55331 |
|
54704 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
55332 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 54718-54946
index 47ee346c89e8..2bd76ccbe13d 100644
Link Here
|
54718 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
55346 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54719 |
- |
55347 |
- |
54720 |
- OS_LIBS += [ |
55348 |
- OS_LIBS += [ |
54721 |
- "log" |
55349 |
- "GLESv2", |
54722 |
- ] |
|
|
54723 |
- |
54724 |
-if CONFIG["OS_TARGET"] == "Darwin": |
54725 |
- |
54726 |
- DEFINES["WEBRTC_MAC"] = True |
54727 |
- DEFINES["WEBRTC_POSIX"] = True |
54728 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
54729 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
54730 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54731 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54732 |
- |
54733 |
-if CONFIG["OS_TARGET"] == "Linux": |
54734 |
- |
54735 |
- DEFINES["USE_AURA"] = "1" |
54736 |
- DEFINES["USE_GLIB"] = "1" |
54737 |
- DEFINES["USE_NSS_CERTS"] = "1" |
54738 |
- DEFINES["USE_OZONE"] = "1" |
54739 |
- DEFINES["USE_UDEV"] = True |
54740 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
54741 |
- DEFINES["WEBRTC_LINUX"] = True |
54742 |
- DEFINES["WEBRTC_POSIX"] = True |
54743 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
54744 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
54745 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
54746 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54747 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54748 |
- |
54749 |
- OS_LIBS += [ |
54750 |
- "rt" |
54751 |
- ] |
54752 |
- |
54753 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
54754 |
- |
54755 |
- DEFINES["USE_GLIB"] = "1" |
54756 |
- DEFINES["USE_OZONE"] = "1" |
54757 |
- DEFINES["USE_X11"] = "1" |
54758 |
- DEFINES["WEBRTC_BSD"] = True |
54759 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
54760 |
- DEFINES["WEBRTC_POSIX"] = True |
54761 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
54762 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
54763 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
54764 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54765 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54766 |
- |
54767 |
-if CONFIG["OS_TARGET"] == "WINNT": |
54768 |
- |
54769 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
54770 |
- DEFINES["NOMINMAX"] = True |
54771 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
54772 |
- DEFINES["PSAPI_VERSION"] = "2" |
54773 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
54774 |
- DEFINES["UNICODE"] = True |
54775 |
- DEFINES["USE_AURA"] = "1" |
54776 |
- DEFINES["WEBRTC_WIN"] = True |
54777 |
- DEFINES["WIN32"] = True |
54778 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
54779 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
54780 |
- DEFINES["WINVER"] = "0x0A00" |
54781 |
- DEFINES["_ATL_NO_OPENGL"] = True |
54782 |
- DEFINES["_CRT_RAND_S"] = True |
54783 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
54784 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
54785 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
54786 |
- DEFINES["_HAS_NODISCARD"] = True |
54787 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
54788 |
- DEFINES["_SECURE_ATL"] = True |
54789 |
- DEFINES["_UNICODE"] = True |
54790 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
54791 |
- DEFINES["_WINDOWS"] = True |
54792 |
- DEFINES["__STD_C"] = True |
54793 |
- |
54794 |
- OS_LIBS += [ |
54795 |
- "crypt32", |
54796 |
- "iphlpapi", |
54797 |
- "secur32", |
54798 |
- "winmm" |
54799 |
- ] |
54800 |
+ DEFINES["_DEBUG"] = True |
54801 |
|
54802 |
if CONFIG["TARGET_CPU"] == "aarch64": |
54803 |
|
54804 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
54805 |
DEFINES["WEBRTC_HAS_NEON"] = True |
54806 |
|
54807 |
-if CONFIG["TARGET_CPU"] == "arm": |
54808 |
- |
54809 |
- CXXFLAGS += [ |
54810 |
- "-mfpu=neon" |
54811 |
- ] |
54812 |
- |
54813 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
54814 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
54815 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
54816 |
- |
54817 |
if CONFIG["TARGET_CPU"] == "mips32": |
54818 |
|
54819 |
DEFINES["MIPS32_LE"] = True |
54820 |
DEFINES["MIPS_FPU_LE"] = True |
54821 |
- DEFINES["_GNU_SOURCE"] = True |
54822 |
- |
54823 |
-if CONFIG["TARGET_CPU"] == "mips64": |
54824 |
- |
54825 |
- DEFINES["_GNU_SOURCE"] = True |
54826 |
|
54827 |
if CONFIG["TARGET_CPU"] == "x86": |
54828 |
|
54829 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
54830 |
- |
54831 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
54832 |
- |
54833 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
54834 |
- |
54835 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
54836 |
- |
54837 |
- DEFINES["_DEBUG"] = True |
54838 |
- |
54839 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
54840 |
- |
54841 |
- DEFINES["_DEBUG"] = True |
54842 |
- |
54843 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
54844 |
- |
54845 |
- DEFINES["_DEBUG"] = True |
54846 |
- |
54847 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
54848 |
- |
54849 |
- DEFINES["_DEBUG"] = True |
54850 |
- |
54851 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
54852 |
- |
54853 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
54854 |
- |
54855 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
54856 |
- |
54857 |
- DEFINES["USE_X11"] = "1" |
54858 |
- |
54859 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
54860 |
- |
54861 |
- OS_LIBS += [ |
54862 |
- "unwind" |
54863 |
- ] |
54864 |
- |
54865 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
54866 |
- |
54867 |
CXXFLAGS += [ |
54868 |
"-msse2" |
54869 |
] |
54870 |
|
54871 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
54872 |
- |
54873 |
- DEFINES["_GNU_SOURCE"] = True |
54874 |
- |
54875 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
54876 |
- |
54877 |
- DEFINES["_GNU_SOURCE"] = True |
54878 |
- |
54879 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
54880 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
54881 |
|
54882 |
- CXXFLAGS += [ |
54883 |
- "-msse2" |
54884 |
- ] |
54885 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
54886 |
|
54887 |
- DEFINES["_GNU_SOURCE"] = True |
54888 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
54889 |
|
54890 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
54891 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
54892 |
|
54893 |
- DEFINES["_GNU_SOURCE"] = True |
54894 |
+ DEFINES["USE_X11"] = "1" |
54895 |
|
54896 |
Library("estimators_gn") |
54897 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build |
54898 |
index fa641fccfe18..fc883ee32524 100644 |
54899 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build |
54900 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build |
54901 |
@@ -13,11 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
54902 |
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0" |
54903 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
54904 |
DEFINES["RTC_ENABLE_VP9"] = True |
54905 |
+DEFINES["USE_GLIB"] = "1" |
54906 |
+DEFINES["USE_OZONE"] = "1" |
54907 |
+DEFINES["WEBRTC_BSD"] = True |
54908 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
54909 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
54910 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
54911 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
54912 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
54913 |
+DEFINES["WEBRTC_POSIX"] = True |
54914 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
54915 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
54916 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
54917 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
54918 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
54919 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
54920 |
|
54921 |
FINAL_LIBRARY = "xul" |
54922 |
|
54923 |
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
54924 |
if CONFIG["MOZ_DEBUG"] == "1": |
54925 |
|
54926 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
54927 |
- |
54928 |
-if CONFIG["OS_TARGET"] == "Android": |
54929 |
- |
54930 |
- DEFINES["ANDROID"] = True |
54931 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
54932 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
54933 |
- DEFINES["WEBRTC_ANDROID"] = True |
54934 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
54935 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
54936 |
- DEFINES["WEBRTC_LINUX"] = True |
54937 |
- DEFINES["WEBRTC_POSIX"] = True |
54938 |
- DEFINES["_GNU_SOURCE"] = True |
54939 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
54940 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
54941 |
- |
54942 |
- OS_LIBS += [ |
54943 |
- "GLESv2", |
54944 |
- "log" |
55350 |
- "log" |
54945 |
- ] |
55351 |
- ] |
54946 |
- |
55352 |
- |
Lines 55329-55339
index d229d732df78..f1c13c16cc7d 100644
Link Here
|
55329 |
|
55735 |
|
55330 |
Library("link_capacity_estimator_gn") |
55736 |
Library("link_capacity_estimator_gn") |
55331 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build |
55737 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build |
55332 |
index 8065861f7854..efe50771e696 100644 |
55738 |
index bdf6228cc4e1..71a2c7a73bad 100644 |
55333 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build |
55739 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build |
55334 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build |
55740 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build |
55335 |
@@ -13,11 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
55741 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
55336 |
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0" |
55742 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
55337 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
55743 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
55338 |
DEFINES["RTC_ENABLE_VP9"] = True |
55744 |
DEFINES["RTC_ENABLE_VP9"] = True |
55339 |
+DEFINES["USE_GLIB"] = "1" |
55745 |
+DEFINES["USE_GLIB"] = "1" |
Lines 55354-55360
index 8065861f7854..efe50771e696 100644
Link Here
|
55354 |
|
55760 |
|
55355 |
FINAL_LIBRARY = "xul" |
55761 |
FINAL_LIBRARY = "xul" |
55356 |
|
55762 |
|
55357 |
@@ -44,185 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
55763 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
55358 |
if CONFIG["MOZ_DEBUG"] == "1": |
55764 |
if CONFIG["MOZ_DEBUG"] == "1": |
55359 |
|
55765 |
|
55360 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
55766 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 56205-56215
index af00c0132302..35073ee314de 100644
Link Here
|
56205 |
|
56611 |
|
56206 |
Library("pushback_controller_gn") |
56612 |
Library("pushback_controller_gn") |
56207 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build |
56613 |
diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build |
56208 |
index 52323451eb32..bbdcd96a5813 100644 |
56614 |
index 0314d2e9f767..f43abadb7e06 100644 |
56209 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build |
56615 |
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build |
56210 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build |
56616 |
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build |
56211 |
@@ -13,11 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
56617 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
56212 |
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0" |
56618 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
56213 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
56619 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
56214 |
DEFINES["RTC_ENABLE_VP9"] = True |
56620 |
DEFINES["RTC_ENABLE_VP9"] = True |
56215 |
+DEFINES["USE_GLIB"] = "1" |
56621 |
+DEFINES["USE_GLIB"] = "1" |
Lines 56230-56236
index 52323451eb32..bbdcd96a5813 100644
Link Here
|
56230 |
|
56636 |
|
56231 |
FINAL_LIBRARY = "xul" |
56637 |
FINAL_LIBRARY = "xul" |
56232 |
|
56638 |
|
56233 |
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
56639 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
56234 |
if CONFIG["MOZ_DEBUG"] == "1": |
56640 |
if CONFIG["MOZ_DEBUG"] == "1": |
56235 |
|
56641 |
|
56236 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
56642 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 57649-57658
index a4fb8b3162bd..f70faede2fba 100644
Link Here
|
57649 |
Library("desktop_capture_gn") |
58055 |
Library("desktop_capture_gn") |
57650 |
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build |
58056 |
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build |
57651 |
deleted file mode 100644 |
58057 |
deleted file mode 100644 |
57652 |
index 6b5cd9286eb3..000000000000 |
58058 |
index 0a76b27ceb41..000000000000 |
57653 |
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build |
58059 |
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build |
57654 |
+++ /dev/null |
58060 |
+++ /dev/null |
57655 |
@@ -1,77 +0,0 @@ |
58061 |
@@ -1,78 +0,0 @@ |
57656 |
-# This Source Code Form is subject to the terms of the Mozilla Public |
58062 |
-# This Source Code Form is subject to the terms of the Mozilla Public |
57657 |
-# License, v. 2.0. If a copy of the MPL was not distributed with this |
58063 |
-# License, v. 2.0. If a copy of the MPL was not distributed with this |
57658 |
-# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
58064 |
-# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
Lines 57703-57708
index 6b5cd9286eb3..000000000000
Link Here
|
57703 |
- "/third_party/libwebrtc/modules/desktop_capture/mac/desktop_frame_iosurface.mm", |
58109 |
- "/third_party/libwebrtc/modules/desktop_capture/mac/desktop_frame_iosurface.mm", |
57704 |
- "/third_party/libwebrtc/modules/desktop_capture/mac/desktop_frame_provider.mm", |
58110 |
- "/third_party/libwebrtc/modules/desktop_capture/mac/desktop_frame_provider.mm", |
57705 |
- "/third_party/libwebrtc/modules/desktop_capture/mac/screen_capturer_mac.mm", |
58111 |
- "/third_party/libwebrtc/modules/desktop_capture/mac/screen_capturer_mac.mm", |
|
|
58112 |
- "/third_party/libwebrtc/modules/desktop_capture/mac/screen_capturer_sck.mm", |
57706 |
- "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm", |
58113 |
- "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm", |
57707 |
- "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_darwin.mm", |
58114 |
- "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_darwin.mm", |
57708 |
- "/third_party/libwebrtc/modules/desktop_capture/window_capturer_mac.mm", |
58115 |
- "/third_party/libwebrtc/modules/desktop_capture/window_capturer_mac.mm", |
Lines 58979-58990
index 93af22612ea0..d0d2d4a27fe2 100644
Link Here
|
58979 |
|
59386 |
|
58980 |
DEFINES["USE_X11"] = "1" |
59387 |
DEFINES["USE_X11"] = "1" |
58981 |
|
59388 |
|
58982 |
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
59389 |
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build |
58983 |
index eab6f3f9d0fc..473f820cccd1 100644 |
59390 |
index fa0e8cc1c8f2..26732fc4bc22 100644 |
58984 |
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
59391 |
--- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build |
58985 |
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
59392 |
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build |
58986 |
@@ -13,11 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
59393 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
58987 |
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0" |
59394 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
58988 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
59395 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
58989 |
DEFINES["RTC_ENABLE_VP9"] = True |
59396 |
DEFINES["RTC_ENABLE_VP9"] = True |
58990 |
+DEFINES["USE_GLIB"] = "1" |
59397 |
+DEFINES["USE_GLIB"] = "1" |
Lines 59005-59011
index eab6f3f9d0fc..473f820cccd1 100644
Link Here
|
59005 |
|
59412 |
|
59006 |
FINAL_LIBRARY = "xul" |
59413 |
FINAL_LIBRARY = "xul" |
59007 |
|
59414 |
|
59008 |
@@ -55,189 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: |
59415 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
59009 |
if CONFIG["MOZ_DEBUG"] == "1": |
59416 |
if CONFIG["MOZ_DEBUG"] == "1": |
59010 |
|
59417 |
|
59011 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
59418 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 59200-59210
index eab6f3f9d0fc..473f820cccd1 100644
Link Here
|
59200 |
- DEFINES["_GNU_SOURCE"] = True |
59607 |
- DEFINES["_GNU_SOURCE"] = True |
59201 |
+ DEFINES["USE_X11"] = "1" |
59608 |
+ DEFINES["USE_X11"] = "1" |
59202 |
|
59609 |
|
59203 |
Library("remote_bitrate_estimator_gn") |
59610 |
Library("congestion_control_feedback_generator_gn") |
59204 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build |
59611 |
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
59205 |
index 6e1dfd18c099..42e99603f4f1 100644 |
59612 |
index 121be23bf87b..f174efad3e75 100644 |
59206 |
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build |
59613 |
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
59207 |
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build |
59614 |
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
59208 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
59615 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
59209 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
59616 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
59210 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
59617 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 59227-59233
index 6e1dfd18c099..42e99603f4f1 100644
Link Here
|
59227 |
|
59634 |
|
59228 |
FINAL_LIBRARY = "xul" |
59635 |
FINAL_LIBRARY = "xul" |
59229 |
|
59636 |
|
59230 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
59637 |
@@ -52,189 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: |
59231 |
if CONFIG["MOZ_DEBUG"] == "1": |
59638 |
if CONFIG["MOZ_DEBUG"] == "1": |
59232 |
|
59639 |
|
59233 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
59640 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 59246-59251
index 6e1dfd18c099..42e99603f4f1 100644
Link Here
|
59246 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59653 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59247 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59654 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59248 |
- |
59655 |
- |
|
|
59656 |
- OS_LIBS += [ |
59657 |
- "log" |
59658 |
- ] |
59659 |
- |
59249 |
-if CONFIG["OS_TARGET"] == "Darwin": |
59660 |
-if CONFIG["OS_TARGET"] == "Darwin": |
59250 |
- |
59661 |
- |
59251 |
- DEFINES["WEBRTC_MAC"] = True |
59662 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 59271-59276
index 6e1dfd18c099..42e99603f4f1 100644
Link Here
|
59271 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59682 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59272 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59683 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59273 |
- |
59684 |
- |
|
|
59685 |
- OS_LIBS += [ |
59686 |
- "rt" |
59687 |
- ] |
59688 |
- |
59274 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
59689 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
59275 |
- |
59690 |
- |
59276 |
- DEFINES["USE_GLIB"] = "1" |
59691 |
- DEFINES["USE_GLIB"] = "1" |
Lines 59311-59316
index 6e1dfd18c099..42e99603f4f1 100644
Link Here
|
59311 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
59726 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
59312 |
- DEFINES["_WINDOWS"] = True |
59727 |
- DEFINES["_WINDOWS"] = True |
59313 |
- DEFINES["__STD_C"] = True |
59728 |
- DEFINES["__STD_C"] = True |
|
|
59729 |
- |
59730 |
- OS_LIBS += [ |
59731 |
- "crypt32", |
59732 |
- "iphlpapi", |
59733 |
- "secur32", |
59734 |
- "winmm" |
59735 |
- ] |
59314 |
+ DEFINES["_DEBUG"] = True |
59736 |
+ DEFINES["_DEBUG"] = True |
59315 |
|
59737 |
|
59316 |
if CONFIG["TARGET_CPU"] == "aarch64": |
59738 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 59407-59417
index 6e1dfd18c099..42e99603f4f1 100644
Link Here
|
59407 |
- DEFINES["_GNU_SOURCE"] = True |
59829 |
- DEFINES["_GNU_SOURCE"] = True |
59408 |
+ DEFINES["USE_X11"] = "1" |
59830 |
+ DEFINES["USE_X11"] = "1" |
59409 |
|
59831 |
|
59410 |
Library("leb128_gn") |
59832 |
Library("remote_bitrate_estimator_gn") |
59411 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build |
59833 |
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build |
59412 |
index b3425d3e67cf..e794e8940e60 100644 |
59834 |
index 9e1e50f3e0e2..888e4d1d91b8 100644 |
59413 |
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build |
59835 |
--- third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build |
59414 |
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build |
59836 |
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build |
59415 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
59837 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
59416 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
59838 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
59417 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
59839 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 59434-59440
index b3425d3e67cf..e794e8940e60 100644
Link Here
|
59434 |
|
59856 |
|
59435 |
FINAL_LIBRARY = "xul" |
59857 |
FINAL_LIBRARY = "xul" |
59436 |
|
59858 |
|
59437 |
@@ -85,189 +95,32 @@ if not CONFIG["MOZ_DEBUG"]: |
59859 |
@@ -39,122 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
|
|
59860 |
if CONFIG["MOZ_DEBUG"] == "1": |
59861 |
|
59862 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
59863 |
- |
59864 |
-if CONFIG["OS_TARGET"] == "Android": |
59865 |
- |
59866 |
- DEFINES["ANDROID"] = True |
59867 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
59868 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
59869 |
- DEFINES["WEBRTC_ANDROID"] = True |
59870 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
59871 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
59872 |
- DEFINES["WEBRTC_LINUX"] = True |
59873 |
- DEFINES["WEBRTC_POSIX"] = True |
59874 |
- DEFINES["_GNU_SOURCE"] = True |
59875 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59876 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59877 |
- |
59878 |
- OS_LIBS += [ |
59879 |
- "log" |
59880 |
- ] |
59881 |
- |
59882 |
-if CONFIG["OS_TARGET"] == "Darwin": |
59883 |
- |
59884 |
- DEFINES["WEBRTC_MAC"] = True |
59885 |
- DEFINES["WEBRTC_POSIX"] = True |
59886 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
59887 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
59888 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59889 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59890 |
- |
59891 |
-if CONFIG["OS_TARGET"] == "Linux": |
59892 |
- |
59893 |
- DEFINES["USE_AURA"] = "1" |
59894 |
- DEFINES["USE_GLIB"] = "1" |
59895 |
- DEFINES["USE_NSS_CERTS"] = "1" |
59896 |
- DEFINES["USE_OZONE"] = "1" |
59897 |
- DEFINES["USE_UDEV"] = True |
59898 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
59899 |
- DEFINES["WEBRTC_LINUX"] = True |
59900 |
- DEFINES["WEBRTC_POSIX"] = True |
59901 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
59902 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
59903 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
59904 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59905 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59906 |
- |
59907 |
- OS_LIBS += [ |
59908 |
- "rt" |
59909 |
- ] |
59910 |
- |
59911 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
59912 |
- |
59913 |
- DEFINES["USE_GLIB"] = "1" |
59914 |
- DEFINES["USE_OZONE"] = "1" |
59915 |
- DEFINES["USE_X11"] = "1" |
59916 |
- DEFINES["WEBRTC_BSD"] = True |
59917 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
59918 |
- DEFINES["WEBRTC_POSIX"] = True |
59919 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
59920 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
59921 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
59922 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59923 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59924 |
- |
59925 |
-if CONFIG["OS_TARGET"] == "WINNT": |
59926 |
- |
59927 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
59928 |
- DEFINES["NOMINMAX"] = True |
59929 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
59930 |
- DEFINES["PSAPI_VERSION"] = "2" |
59931 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
59932 |
- DEFINES["UNICODE"] = True |
59933 |
- DEFINES["USE_AURA"] = "1" |
59934 |
- DEFINES["WEBRTC_WIN"] = True |
59935 |
- DEFINES["WIN32"] = True |
59936 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
59937 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
59938 |
- DEFINES["WINVER"] = "0x0A00" |
59939 |
- DEFINES["_ATL_NO_OPENGL"] = True |
59940 |
- DEFINES["_CRT_RAND_S"] = True |
59941 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
59942 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
59943 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
59944 |
- DEFINES["_HAS_NODISCARD"] = True |
59945 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
59946 |
- DEFINES["_SECURE_ATL"] = True |
59947 |
- DEFINES["_UNICODE"] = True |
59948 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
59949 |
- DEFINES["_WINDOWS"] = True |
59950 |
- DEFINES["__STD_C"] = True |
59951 |
- |
59952 |
- OS_LIBS += [ |
59953 |
- "crypt32", |
59954 |
- "iphlpapi", |
59955 |
- "secur32", |
59956 |
- "winmm" |
59957 |
- ] |
59958 |
+ DEFINES["_DEBUG"] = True |
59959 |
|
59960 |
if CONFIG["TARGET_CPU"] == "aarch64": |
59961 |
|
59962 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
59963 |
DEFINES["WEBRTC_HAS_NEON"] = True |
59964 |
|
59965 |
-if CONFIG["TARGET_CPU"] == "arm": |
59966 |
- |
59967 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
59968 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
59969 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
59970 |
- |
59971 |
if CONFIG["TARGET_CPU"] == "mips32": |
59972 |
|
59973 |
DEFINES["MIPS32_LE"] = True |
59974 |
DEFINES["MIPS_FPU_LE"] = True |
59975 |
- DEFINES["_GNU_SOURCE"] = True |
59976 |
- |
59977 |
-if CONFIG["TARGET_CPU"] == "mips64": |
59978 |
- |
59979 |
- DEFINES["_GNU_SOURCE"] = True |
59980 |
|
59981 |
if CONFIG["TARGET_CPU"] == "x86": |
59982 |
|
59983 |
@@ -164,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
59984 |
|
59985 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
59986 |
|
59987 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
59988 |
- |
59989 |
- DEFINES["_DEBUG"] = True |
59990 |
- |
59991 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
59992 |
- |
59993 |
- DEFINES["_DEBUG"] = True |
59994 |
- |
59995 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
59996 |
- |
59997 |
- DEFINES["_DEBUG"] = True |
59998 |
- |
59999 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
60000 |
- |
60001 |
- DEFINES["_DEBUG"] = True |
60002 |
- |
60003 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
60004 |
- |
60005 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
60006 |
- |
60007 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
60008 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
60009 |
|
60010 |
DEFINES["USE_X11"] = "1" |
60011 |
|
60012 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
60013 |
- |
60014 |
- OS_LIBS += [ |
60015 |
- "unwind" |
60016 |
- ] |
60017 |
- |
60018 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
60019 |
- |
60020 |
- DEFINES["_GNU_SOURCE"] = True |
60021 |
- |
60022 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
60023 |
- |
60024 |
- DEFINES["_GNU_SOURCE"] = True |
60025 |
- |
60026 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
60027 |
- |
60028 |
- DEFINES["_GNU_SOURCE"] = True |
60029 |
- |
60030 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
60031 |
- |
60032 |
- DEFINES["_GNU_SOURCE"] = True |
60033 |
- |
60034 |
Library("rtp_transport_feedback_generator_gn") |
60035 |
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build |
60036 |
index d9396081112f..bd5d9c4bfc37 100644 |
60037 |
--- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build |
60038 |
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build |
60039 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60040 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60041 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
60042 |
DEFINES["RTC_ENABLE_VP9"] = True |
60043 |
+DEFINES["USE_GLIB"] = "1" |
60044 |
+DEFINES["USE_OZONE"] = "1" |
60045 |
+DEFINES["WEBRTC_BSD"] = True |
60046 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
60047 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
60048 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
60049 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
60050 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
60051 |
+DEFINES["WEBRTC_POSIX"] = True |
60052 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
60053 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
60054 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
60055 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
60056 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
60057 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
60058 |
|
60059 |
FINAL_LIBRARY = "xul" |
60060 |
|
60061 |
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
59438 |
if CONFIG["MOZ_DEBUG"] == "1": |
60062 |
if CONFIG["MOZ_DEBUG"] == "1": |
59439 |
|
60063 |
|
59440 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
60064 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 59629-59641
index b3425d3e67cf..e794e8940e60 100644
Link Here
|
59629 |
- DEFINES["_GNU_SOURCE"] = True |
60253 |
- DEFINES["_GNU_SOURCE"] = True |
59630 |
+ DEFINES["USE_X11"] = "1" |
60254 |
+ DEFINES["USE_X11"] = "1" |
59631 |
|
60255 |
|
59632 |
Library("rtp_rtcp_format_gn") |
60256 |
Library("transport_sequence_number_feedback_generator_gn") |
59633 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
60257 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build |
59634 |
index 31789273913d..67c5cb6da114 100644 |
60258 |
index 6e1dfd18c099..42e99603f4f1 100644 |
59635 |
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
60259 |
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build |
59636 |
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
60260 |
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build |
59637 |
@@ -13,11 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60261 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
59638 |
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0" |
60262 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
59639 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
60263 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
59640 |
DEFINES["RTC_ENABLE_VP9"] = True |
60264 |
DEFINES["RTC_ENABLE_VP9"] = True |
59641 |
+DEFINES["USE_GLIB"] = "1" |
60265 |
+DEFINES["USE_GLIB"] = "1" |
Lines 59656-59662
index 31789273913d..67c5cb6da114 100644
Link Here
|
59656 |
|
60280 |
|
59657 |
FINAL_LIBRARY = "xul" |
60281 |
FINAL_LIBRARY = "xul" |
59658 |
|
60282 |
|
59659 |
@@ -99,190 +109,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60283 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
59660 |
if CONFIG["MOZ_DEBUG"] == "1": |
60284 |
if CONFIG["MOZ_DEBUG"] == "1": |
59661 |
|
60285 |
|
59662 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
60286 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 59675-59685
index 31789273913d..67c5cb6da114 100644
Link Here
|
59675 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60299 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59676 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60300 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59677 |
- |
60301 |
- |
59678 |
- OS_LIBS += [ |
|
|
59679 |
- "GLESv2", |
59680 |
- "log" |
59681 |
- ] |
59682 |
- |
59683 |
-if CONFIG["OS_TARGET"] == "Darwin": |
60302 |
-if CONFIG["OS_TARGET"] == "Darwin": |
59684 |
- |
60303 |
- |
59685 |
- DEFINES["WEBRTC_MAC"] = True |
60304 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 59705-59714
index 31789273913d..67c5cb6da114 100644
Link Here
|
59705 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60324 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59706 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60325 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59707 |
- |
60326 |
- |
59708 |
- OS_LIBS += [ |
|
|
59709 |
- "rt" |
59710 |
- ] |
59711 |
- |
59712 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
60327 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
59713 |
- |
60328 |
- |
59714 |
- DEFINES["USE_GLIB"] = "1" |
60329 |
- DEFINES["USE_GLIB"] = "1" |
Lines 59749-59761
index 31789273913d..67c5cb6da114 100644
Link Here
|
59749 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
60364 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
59750 |
- DEFINES["_WINDOWS"] = True |
60365 |
- DEFINES["_WINDOWS"] = True |
59751 |
- DEFINES["__STD_C"] = True |
60366 |
- DEFINES["__STD_C"] = True |
59752 |
- |
|
|
59753 |
- OS_LIBS += [ |
59754 |
- "crypt32", |
59755 |
- "iphlpapi", |
59756 |
- "secur32", |
59757 |
- "winmm" |
59758 |
- ] |
59759 |
+ DEFINES["_DEBUG"] = True |
60367 |
+ DEFINES["_DEBUG"] = True |
59760 |
|
60368 |
|
59761 |
if CONFIG["TARGET_CPU"] == "aarch64": |
60369 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 59852-59862
index 31789273913d..67c5cb6da114 100644
Link Here
|
59852 |
- DEFINES["_GNU_SOURCE"] = True |
60460 |
- DEFINES["_GNU_SOURCE"] = True |
59853 |
+ DEFINES["USE_X11"] = "1" |
60461 |
+ DEFINES["USE_X11"] = "1" |
59854 |
|
60462 |
|
59855 |
Library("rtp_rtcp_gn") |
60463 |
Library("leb128_gn") |
59856 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build |
60464 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build |
59857 |
index bdee5bedc6db..1e2ecfd55661 100644 |
60465 |
index d3c4652d07e2..82c66ea467fa 100644 |
59858 |
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build |
60466 |
--- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build |
59859 |
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build |
60467 |
+++ third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build |
59860 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60468 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
59861 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60469 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
59862 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
60470 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 59879-59885
index bdee5bedc6db..1e2ecfd55661 100644
Link Here
|
59879 |
|
60487 |
|
59880 |
FINAL_LIBRARY = "xul" |
60488 |
FINAL_LIBRARY = "xul" |
59881 |
|
60489 |
|
59882 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60490 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
59883 |
if CONFIG["MOZ_DEBUG"] == "1": |
60491 |
if CONFIG["MOZ_DEBUG"] == "1": |
59884 |
|
60492 |
|
59885 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
60493 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 59927-59932
index bdee5bedc6db..1e2ecfd55661 100644
Link Here
|
59927 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60535 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
59928 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60536 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
59929 |
- |
60537 |
- |
|
|
60538 |
- OS_LIBS += [ |
60539 |
- "rt" |
60540 |
- ] |
60541 |
- |
59930 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
60542 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
59931 |
- |
60543 |
- |
59932 |
- DEFINES["USE_GLIB"] = "1" |
60544 |
- DEFINES["USE_GLIB"] = "1" |
Lines 60070-60080
index bdee5bedc6db..1e2ecfd55661 100644
Link Here
|
60070 |
- DEFINES["_GNU_SOURCE"] = True |
60682 |
- DEFINES["_GNU_SOURCE"] = True |
60071 |
+ DEFINES["USE_X11"] = "1" |
60683 |
+ DEFINES["USE_X11"] = "1" |
60072 |
|
60684 |
|
60073 |
Library("rtp_video_header_gn") |
60685 |
Library("ntp_time_util_gn") |
60074 |
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build |
60686 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build |
60075 |
index 9afa4154ee37..d211f0d4e0c2 100644 |
60687 |
index ef123804746a..1acac7401f6f 100644 |
60076 |
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build |
60688 |
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build |
60077 |
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build |
60689 |
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build |
60078 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60690 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60079 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60691 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60080 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
60692 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 60097-60103
index 9afa4154ee37..d211f0d4e0c2 100644
Link Here
|
60097 |
|
60709 |
|
60098 |
FINAL_LIBRARY = "xul" |
60710 |
FINAL_LIBRARY = "xul" |
60099 |
|
60711 |
|
60100 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60712 |
@@ -86,189 +96,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60101 |
if CONFIG["MOZ_DEBUG"] == "1": |
60713 |
if CONFIG["MOZ_DEBUG"] == "1": |
60102 |
|
60714 |
|
60103 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
60715 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 60116-60121
index 9afa4154ee37..d211f0d4e0c2 100644
Link Here
|
60116 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60728 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60117 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60729 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60118 |
- |
60730 |
- |
|
|
60731 |
- OS_LIBS += [ |
60732 |
- "log" |
60733 |
- ] |
60734 |
- |
60119 |
-if CONFIG["OS_TARGET"] == "Darwin": |
60735 |
-if CONFIG["OS_TARGET"] == "Darwin": |
60120 |
- |
60736 |
- |
60121 |
- DEFINES["WEBRTC_MAC"] = True |
60737 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 60141-60146
index 9afa4154ee37..d211f0d4e0c2 100644
Link Here
|
60141 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60757 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60142 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60758 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60143 |
- |
60759 |
- |
|
|
60760 |
- OS_LIBS += [ |
60761 |
- "rt" |
60762 |
- ] |
60763 |
- |
60144 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
60764 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
60145 |
- |
60765 |
- |
60146 |
- DEFINES["USE_GLIB"] = "1" |
60766 |
- DEFINES["USE_GLIB"] = "1" |
Lines 60181-60186
index 9afa4154ee37..d211f0d4e0c2 100644
Link Here
|
60181 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
60801 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
60182 |
- DEFINES["_WINDOWS"] = True |
60802 |
- DEFINES["_WINDOWS"] = True |
60183 |
- DEFINES["__STD_C"] = True |
60803 |
- DEFINES["__STD_C"] = True |
|
|
60804 |
- |
60805 |
- OS_LIBS += [ |
60806 |
- "crypt32", |
60807 |
- "iphlpapi", |
60808 |
- "secur32", |
60809 |
- "winmm" |
60810 |
- ] |
60184 |
+ DEFINES["_DEBUG"] = True |
60811 |
+ DEFINES["_DEBUG"] = True |
60185 |
|
60812 |
|
60186 |
if CONFIG["TARGET_CPU"] == "aarch64": |
60813 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 60190-60196
index 9afa4154ee37..d211f0d4e0c2 100644
Link Here
|
60190 |
|
60817 |
|
60191 |
-if CONFIG["TARGET_CPU"] == "arm": |
60818 |
-if CONFIG["TARGET_CPU"] == "arm": |
60192 |
- |
60819 |
- |
60193 |
- CFLAGS += [ |
60820 |
- CXXFLAGS += [ |
60194 |
- "-mfpu=neon" |
60821 |
- "-mfpu=neon" |
60195 |
- ] |
60822 |
- ] |
60196 |
- |
60823 |
- |
Lines 60248-60254
index 9afa4154ee37..d211f0d4e0c2 100644
Link Here
|
60248 |
- |
60875 |
- |
60249 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
60876 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
60250 |
- |
60877 |
- |
60251 |
CFLAGS += [ |
60878 |
CXXFLAGS += [ |
60252 |
"-msse2" |
60879 |
"-msse2" |
60253 |
] |
60880 |
] |
60254 |
|
60881 |
|
Lines 60263-60269
index 9afa4154ee37..d211f0d4e0c2 100644
Link Here
|
60263 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
60890 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
60264 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
60891 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
60265 |
|
60892 |
|
60266 |
- CFLAGS += [ |
60893 |
- CXXFLAGS += [ |
60267 |
- "-msse2" |
60894 |
- "-msse2" |
60268 |
- ] |
60895 |
- ] |
60269 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
60896 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
Lines 60277-60287
index 9afa4154ee37..d211f0d4e0c2 100644
Link Here
|
60277 |
- DEFINES["_GNU_SOURCE"] = True |
60904 |
- DEFINES["_GNU_SOURCE"] = True |
60278 |
+ DEFINES["USE_X11"] = "1" |
60905 |
+ DEFINES["USE_X11"] = "1" |
60279 |
|
60906 |
|
60280 |
Library("fft_gn") |
60907 |
Library("rtp_rtcp_format_gn") |
60281 |
diff --git third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build |
60908 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
60282 |
index 2fa1910cc844..6accc1d41aba 100644 |
60909 |
index 18691e659af3..abd8389b1a2f 100644 |
60283 |
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build |
60910 |
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
60284 |
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build |
60911 |
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
60285 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60912 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60286 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60913 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60287 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
60914 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 60304-60310
index 2fa1910cc844..6accc1d41aba 100644
Link Here
|
60304 |
|
60931 |
|
60305 |
FINAL_LIBRARY = "xul" |
60932 |
FINAL_LIBRARY = "xul" |
60306 |
|
60933 |
|
60307 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60934 |
@@ -97,190 +107,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60308 |
if CONFIG["MOZ_DEBUG"] == "1": |
60935 |
if CONFIG["MOZ_DEBUG"] == "1": |
60309 |
|
60936 |
|
60310 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
60937 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 60323-60328
index 2fa1910cc844..6accc1d41aba 100644
Link Here
|
60323 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60950 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60324 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60951 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60325 |
- |
60952 |
- |
|
|
60953 |
- OS_LIBS += [ |
60954 |
- "GLESv2", |
60955 |
- "log" |
60956 |
- ] |
60957 |
- |
60326 |
-if CONFIG["OS_TARGET"] == "Darwin": |
60958 |
-if CONFIG["OS_TARGET"] == "Darwin": |
60327 |
- |
60959 |
- |
60328 |
- DEFINES["WEBRTC_MAC"] = True |
60960 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 60348-60353
index 2fa1910cc844..6accc1d41aba 100644
Link Here
|
60348 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60980 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60349 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60981 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60350 |
- |
60982 |
- |
|
|
60983 |
- OS_LIBS += [ |
60984 |
- "rt" |
60985 |
- ] |
60986 |
- |
60351 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
60987 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
60352 |
- |
60988 |
- |
60353 |
- DEFINES["USE_GLIB"] = "1" |
60989 |
- DEFINES["USE_GLIB"] = "1" |
Lines 60388-60393
index 2fa1910cc844..6accc1d41aba 100644
Link Here
|
60388 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
61024 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
60389 |
- DEFINES["_WINDOWS"] = True |
61025 |
- DEFINES["_WINDOWS"] = True |
60390 |
- DEFINES["__STD_C"] = True |
61026 |
- DEFINES["__STD_C"] = True |
|
|
61027 |
- |
61028 |
- OS_LIBS += [ |
61029 |
- "crypt32", |
61030 |
- "iphlpapi", |
61031 |
- "secur32", |
61032 |
- "winmm" |
61033 |
- ] |
60391 |
+ DEFINES["_DEBUG"] = True |
61034 |
+ DEFINES["_DEBUG"] = True |
60392 |
|
61035 |
|
60393 |
if CONFIG["TARGET_CPU"] == "aarch64": |
61036 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 60397-60403
index 2fa1910cc844..6accc1d41aba 100644
Link Here
|
60397 |
|
61040 |
|
60398 |
-if CONFIG["TARGET_CPU"] == "arm": |
61041 |
-if CONFIG["TARGET_CPU"] == "arm": |
60399 |
- |
61042 |
- |
60400 |
- CFLAGS += [ |
61043 |
- CXXFLAGS += [ |
60401 |
- "-mfpu=neon" |
61044 |
- "-mfpu=neon" |
60402 |
- ] |
61045 |
- ] |
60403 |
- |
61046 |
- |
Lines 60455-60461
index 2fa1910cc844..6accc1d41aba 100644
Link Here
|
60455 |
- |
61098 |
- |
60456 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61099 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
60457 |
- |
61100 |
- |
60458 |
CFLAGS += [ |
61101 |
CXXFLAGS += [ |
60459 |
"-msse2" |
61102 |
"-msse2" |
60460 |
] |
61103 |
] |
60461 |
|
61104 |
|
Lines 60470-60476
index 2fa1910cc844..6accc1d41aba 100644
Link Here
|
60470 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61113 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
60471 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61114 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
60472 |
|
61115 |
|
60473 |
- CFLAGS += [ |
61116 |
- CXXFLAGS += [ |
60474 |
- "-msse2" |
61117 |
- "-msse2" |
60475 |
- ] |
61118 |
- ] |
60476 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
61119 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
Lines 60484-60494
index 2fa1910cc844..6accc1d41aba 100644
Link Here
|
60484 |
- DEFINES["_GNU_SOURCE"] = True |
61127 |
- DEFINES["_GNU_SOURCE"] = True |
60485 |
+ DEFINES["USE_X11"] = "1" |
61128 |
+ DEFINES["USE_X11"] = "1" |
60486 |
|
61129 |
|
60487 |
Library("g711_3p_gn") |
61130 |
Library("rtp_rtcp_gn") |
60488 |
diff --git third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build |
61131 |
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build |
60489 |
index d1ff3aaad348..f7b9d5799283 100644 |
61132 |
index bdee5bedc6db..1e2ecfd55661 100644 |
60490 |
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build |
61133 |
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build |
60491 |
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build |
61134 |
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build |
60492 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
61135 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60493 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61136 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60494 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
61137 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 60511-60517
index d1ff3aaad348..f7b9d5799283 100644
Link Here
|
60511 |
|
61154 |
|
60512 |
FINAL_LIBRARY = "xul" |
61155 |
FINAL_LIBRARY = "xul" |
60513 |
|
61156 |
|
60514 |
@@ -47,174 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
61157 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60515 |
if CONFIG["MOZ_DEBUG"] == "1": |
61158 |
if CONFIG["MOZ_DEBUG"] == "1": |
60516 |
|
61159 |
|
60517 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
61160 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 60530-60535
index d1ff3aaad348..f7b9d5799283 100644
Link Here
|
60530 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61173 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60531 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61174 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60532 |
- |
61175 |
- |
|
|
61176 |
- OS_LIBS += [ |
61177 |
- "log" |
61178 |
- ] |
61179 |
- |
60533 |
-if CONFIG["OS_TARGET"] == "Darwin": |
61180 |
-if CONFIG["OS_TARGET"] == "Darwin": |
60534 |
- |
61181 |
- |
60535 |
- DEFINES["WEBRTC_MAC"] = True |
61182 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 60595-60600
index d1ff3aaad348..f7b9d5799283 100644
Link Here
|
60595 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
61242 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
60596 |
- DEFINES["_WINDOWS"] = True |
61243 |
- DEFINES["_WINDOWS"] = True |
60597 |
- DEFINES["__STD_C"] = True |
61244 |
- DEFINES["__STD_C"] = True |
|
|
61245 |
- |
61246 |
- OS_LIBS += [ |
61247 |
- "crypt32", |
61248 |
- "iphlpapi", |
61249 |
- "secur32", |
61250 |
- "winmm" |
61251 |
- ] |
60598 |
+ DEFINES["_DEBUG"] = True |
61252 |
+ DEFINES["_DEBUG"] = True |
60599 |
|
61253 |
|
60600 |
if CONFIG["TARGET_CPU"] == "aarch64": |
61254 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 60604-60610
index d1ff3aaad348..f7b9d5799283 100644
Link Here
|
60604 |
|
61258 |
|
60605 |
-if CONFIG["TARGET_CPU"] == "arm": |
61259 |
-if CONFIG["TARGET_CPU"] == "arm": |
60606 |
- |
61260 |
- |
60607 |
- CFLAGS += [ |
61261 |
- CXXFLAGS += [ |
60608 |
- "-mfpu=neon" |
61262 |
- "-mfpu=neon" |
60609 |
- ] |
61263 |
- ] |
60610 |
- |
61264 |
- |
Lines 60662-60668
index d1ff3aaad348..f7b9d5799283 100644
Link Here
|
60662 |
- |
61316 |
- |
60663 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61317 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
60664 |
- |
61318 |
- |
60665 |
CFLAGS += [ |
61319 |
CXXFLAGS += [ |
60666 |
"-msse2" |
61320 |
"-msse2" |
60667 |
] |
61321 |
] |
60668 |
|
61322 |
|
Lines 60677-60683
index d1ff3aaad348..f7b9d5799283 100644
Link Here
|
60677 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61331 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
60678 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61332 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
60679 |
|
61333 |
|
60680 |
- CFLAGS += [ |
61334 |
- CXXFLAGS += [ |
60681 |
- "-msse2" |
61335 |
- "-msse2" |
60682 |
- ] |
61336 |
- ] |
60683 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
61337 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
Lines 60691-60701
index d1ff3aaad348..f7b9d5799283 100644
Link Here
|
60691 |
- DEFINES["_GNU_SOURCE"] = True |
61345 |
- DEFINES["_GNU_SOURCE"] = True |
60692 |
+ DEFINES["USE_X11"] = "1" |
61346 |
+ DEFINES["USE_X11"] = "1" |
60693 |
|
61347 |
|
60694 |
Library("g722_3p_gn") |
61348 |
Library("rtp_video_header_gn") |
60695 |
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build |
61349 |
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build |
60696 |
index 97d828d64fc1..bd10964445c7 100644 |
61350 |
index 9afa4154ee37..d211f0d4e0c2 100644 |
60697 |
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build |
61351 |
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build |
60698 |
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build |
61352 |
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build |
60699 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
61353 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60700 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61354 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60701 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
61355 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 60718-60724
index 97d828d64fc1..bd10964445c7 100644
Link Here
|
60718 |
|
61372 |
|
60719 |
FINAL_LIBRARY = "xul" |
61373 |
FINAL_LIBRARY = "xul" |
60720 |
|
61374 |
|
60721 |
@@ -39,115 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
61375 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60722 |
if CONFIG["MOZ_DEBUG"] == "1": |
61376 |
if CONFIG["MOZ_DEBUG"] == "1": |
60723 |
|
61377 |
|
60724 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
61378 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 60737-60750
index 97d828d64fc1..bd10964445c7 100644
Link Here
|
60737 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61391 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60738 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61392 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60739 |
- |
61393 |
- |
60740 |
- OS_LIBS += [ |
|
|
60741 |
- "log" |
60742 |
- ] |
60743 |
- |
60744 |
- UNIFIED_SOURCES += [ |
60745 |
- "/third_party/libwebrtc/modules/utility/source/helpers_android.cc" |
60746 |
- ] |
60747 |
- |
60748 |
-if CONFIG["OS_TARGET"] == "Darwin": |
61394 |
-if CONFIG["OS_TARGET"] == "Darwin": |
60749 |
- |
61395 |
- |
60750 |
- DEFINES["WEBRTC_MAC"] = True |
61396 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 60819-60824
index 97d828d64fc1..bd10964445c7 100644
Link Here
|
60819 |
|
61465 |
|
60820 |
-if CONFIG["TARGET_CPU"] == "arm": |
61466 |
-if CONFIG["TARGET_CPU"] == "arm": |
60821 |
- |
61467 |
- |
|
|
61468 |
- CFLAGS += [ |
61469 |
- "-mfpu=neon" |
61470 |
- ] |
61471 |
- |
60822 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
61472 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
60823 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
61473 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
60824 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
61474 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 60835-60844
index 97d828d64fc1..bd10964445c7 100644
Link Here
|
60835 |
|
61485 |
|
60836 |
if CONFIG["TARGET_CPU"] == "x86": |
61486 |
if CONFIG["TARGET_CPU"] == "x86": |
60837 |
|
61487 |
|
60838 |
@@ -157,60 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
61488 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
60839 |
|
61489 |
- |
60840 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61490 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
60841 |
|
61491 |
- |
|
|
61492 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61493 |
- |
60842 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
61494 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
60843 |
- |
61495 |
- |
60844 |
- DEFINES["_DEBUG"] = True |
61496 |
- DEFINES["_DEBUG"] = True |
Lines 60860-60874
index 97d828d64fc1..bd10964445c7 100644
Link Here
|
60860 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
61512 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
60861 |
- |
61513 |
- |
60862 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
61514 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
60863 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
60864 |
|
60865 |
DEFINES["USE_X11"] = "1" |
60866 |
|
60867 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
60868 |
- |
61515 |
- |
60869 |
- CXXFLAGS += [ |
61516 |
- DEFINES["USE_X11"] = "1" |
60870 |
- "-mfpu=neon" |
61517 |
- |
60871 |
- ] |
61518 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
60872 |
- |
61519 |
- |
60873 |
- OS_LIBS += [ |
61520 |
- OS_LIBS += [ |
60874 |
- "unwind" |
61521 |
- "unwind" |
Lines 60876-60885
index 97d828d64fc1..bd10964445c7 100644
Link Here
|
60876 |
- |
61523 |
- |
60877 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61524 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
60878 |
- |
61525 |
- |
60879 |
- CXXFLAGS += [ |
61526 |
CFLAGS += [ |
60880 |
- "-msse2" |
61527 |
"-msse2" |
60881 |
- ] |
61528 |
] |
60882 |
- |
61529 |
|
60883 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
61530 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
60884 |
- |
61531 |
- |
60885 |
- DEFINES["_GNU_SOURCE"] = True |
61532 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 60889-60907
index 97d828d64fc1..bd10964445c7 100644
Link Here
|
60889 |
- DEFINES["_GNU_SOURCE"] = True |
61536 |
- DEFINES["_GNU_SOURCE"] = True |
60890 |
- |
61537 |
- |
60891 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61538 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
60892 |
- |
61539 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
61540 |
|
61541 |
- CFLAGS += [ |
61542 |
- "-msse2" |
61543 |
- ] |
61544 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
61545 |
|
60893 |
- DEFINES["_GNU_SOURCE"] = True |
61546 |
- DEFINES["_GNU_SOURCE"] = True |
60894 |
- |
61547 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
61548 |
|
60895 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
61549 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
60896 |
- |
61550 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
61551 |
|
60897 |
- DEFINES["_GNU_SOURCE"] = True |
61552 |
- DEFINES["_GNU_SOURCE"] = True |
60898 |
- |
61553 |
+ DEFINES["USE_X11"] = "1" |
60899 |
Library("utility_gn") |
61554 |
|
60900 |
diff --git third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
61555 |
Library("fft_gn") |
60901 |
index 6af27f618bcd..d418565bbd05 100644 |
61556 |
diff --git third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build |
60902 |
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
61557 |
index 2fa1910cc844..6accc1d41aba 100644 |
60903 |
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
61558 |
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build |
60904 |
@@ -14,11 +14,21 @@ AllowCompilerWarnings() |
61559 |
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build |
|
|
61560 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
60905 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61561 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
60906 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
61562 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
60907 |
DEFINES["RTC_ENABLE_VP9"] = True |
61563 |
DEFINES["RTC_ENABLE_VP9"] = True |
Lines 60923-60940
index 6af27f618bcd..d418565bbd05 100644
Link Here
|
60923 |
|
61579 |
|
60924 |
FINAL_LIBRARY = "xul" |
61580 |
FINAL_LIBRARY = "xul" |
60925 |
|
61581 |
|
60926 |
@@ -33,6 +43,10 @@ LOCAL_INCLUDES += [ |
61582 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
60927 |
] |
|
|
60928 |
|
60929 |
UNIFIED_SOURCES += [ |
60930 |
+ "/third_party/libwebrtc/modules/video_capture/linux/device_info_linux.cc", |
60931 |
+ "/third_party/libwebrtc/modules/video_capture/linux/device_info_v4l2.cc", |
60932 |
+ "/third_party/libwebrtc/modules/video_capture/linux/video_capture_linux.cc", |
60933 |
+ "/third_party/libwebrtc/modules/video_capture/linux/video_capture_v4l2.cc", |
60934 |
"/third_party/libwebrtc/modules/video_capture/video_capture_options.cc" |
60935 |
] |
60936 |
|
60937 |
@@ -45,152 +59,13 @@ if not CONFIG["MOZ_DEBUG"]: |
60938 |
if CONFIG["MOZ_DEBUG"] == "1": |
61583 |
if CONFIG["MOZ_DEBUG"] == "1": |
60939 |
|
61584 |
|
60940 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
61585 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 60953-60962
index 6af27f618bcd..d418565bbd05 100644
Link Here
|
60953 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61598 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60954 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61599 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60955 |
- |
61600 |
- |
60956 |
- OS_LIBS += [ |
|
|
60957 |
- "log" |
60958 |
- ] |
60959 |
- |
60960 |
-if CONFIG["OS_TARGET"] == "Darwin": |
61601 |
-if CONFIG["OS_TARGET"] == "Darwin": |
60961 |
- |
61602 |
- |
60962 |
- DEFINES["WEBRTC_MAC"] = True |
61603 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 60982-60998
index 6af27f618bcd..d418565bbd05 100644
Link Here
|
60982 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61623 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
60983 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61624 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
60984 |
- |
61625 |
- |
60985 |
- OS_LIBS += [ |
|
|
60986 |
- "rt" |
60987 |
- ] |
60988 |
- |
60989 |
- UNIFIED_SOURCES += [ |
60990 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_linux.cc", |
60991 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_v4l2.cc", |
60992 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_linux.cc", |
60993 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_v4l2.cc" |
60994 |
- ] |
60995 |
- |
60996 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
61626 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
60997 |
- |
61627 |
- |
60998 |
- DEFINES["USE_GLIB"] = "1" |
61628 |
- DEFINES["USE_GLIB"] = "1" |
Lines 61007-61019
index 6af27f618bcd..d418565bbd05 100644
Link Here
|
61007 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61637 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61008 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61638 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61009 |
- |
61639 |
- |
61010 |
- UNIFIED_SOURCES += [ |
|
|
61011 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_linux.cc", |
61012 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_v4l2.cc", |
61013 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_linux.cc", |
61014 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_v4l2.cc" |
61015 |
- ] |
61016 |
- |
61017 |
-if CONFIG["OS_TARGET"] == "WINNT": |
61640 |
-if CONFIG["OS_TARGET"] == "WINNT": |
61018 |
- |
61641 |
- |
61019 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
61642 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
Lines 61040-61077
index 6af27f618bcd..d418565bbd05 100644
Link Here
|
61040 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
61663 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
61041 |
- DEFINES["_WINDOWS"] = True |
61664 |
- DEFINES["_WINDOWS"] = True |
61042 |
- DEFINES["__STD_C"] = True |
61665 |
- DEFINES["__STD_C"] = True |
61043 |
- |
|
|
61044 |
- OS_LIBS += [ |
61045 |
- "crypt32", |
61046 |
- "iphlpapi", |
61047 |
- "ole32", |
61048 |
- "oleaut32", |
61049 |
- "secur32", |
61050 |
- "strmiids", |
61051 |
- "user32", |
61052 |
- "winmm" |
61053 |
- ] |
61054 |
- |
61055 |
- SOURCES += [ |
61056 |
- "/third_party/libwebrtc/modules/video_capture/windows/device_info_ds.cc", |
61057 |
- "/third_party/libwebrtc/modules/video_capture/windows/help_functions_ds.cc", |
61058 |
- "/third_party/libwebrtc/modules/video_capture/windows/sink_filter_ds.cc" |
61059 |
- ] |
61060 |
- |
61061 |
- UNIFIED_SOURCES += [ |
61062 |
- "/third_party/libwebrtc/modules/video_capture/windows/video_capture_ds.cc", |
61063 |
- "/third_party/libwebrtc/modules/video_capture/windows/video_capture_factory_windows.cc" |
61064 |
- ] |
61065 |
+ DEFINES["_DEBUG"] = True |
61666 |
+ DEFINES["_DEBUG"] = True |
61066 |
|
61667 |
|
61067 |
if CONFIG["TARGET_CPU"] == "aarch64": |
61668 |
if CONFIG["TARGET_CPU"] == "aarch64": |
61068 |
|
61669 |
|
61069 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
61670 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
61070 |
DEFINES["WEBRTC_HAS_NEON"] = True |
61671 |
DEFINES["WEBRTC_HAS_NEON"] = True |
61071 |
- |
61672 |
|
61072 |
-if CONFIG["TARGET_CPU"] == "arm": |
61673 |
-if CONFIG["TARGET_CPU"] == "arm": |
61073 |
- |
61674 |
- |
61074 |
- CXXFLAGS += [ |
61675 |
- CFLAGS += [ |
61075 |
- "-mfpu=neon" |
61676 |
- "-mfpu=neon" |
61076 |
- ] |
61677 |
- ] |
61077 |
- |
61678 |
- |
Lines 61079-61121
index 6af27f618bcd..d418565bbd05 100644
Link Here
|
61079 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
61680 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
61080 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
61681 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
61081 |
- |
61682 |
- |
61082 |
-if CONFIG["TARGET_CPU"] == "mips32": |
61683 |
if CONFIG["TARGET_CPU"] == "mips32": |
61083 |
- |
|
|
61084 |
- DEFINES["MIPS32_LE"] = True |
61085 |
- DEFINES["MIPS_FPU_LE"] = True |
61086 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
61087 |
- DEFINES["_GNU_SOURCE"] = True |
61088 |
|
61089 |
LOCAL_INCLUDES += [ |
61090 |
"/gfx/angle/checkout/include/", |
61091 |
@@ -209,76 +84,11 @@ if CONFIG["TARGET_CPU"] == "mips32": |
61092 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
61093 |
] |
61094 |
|
61684 |
|
61095 |
-if CONFIG["TARGET_CPU"] == "mips64": |
61685 |
DEFINES["MIPS32_LE"] = True |
61096 |
- |
61686 |
DEFINES["MIPS_FPU_LE"] = True |
61097 |
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
|
|
61098 |
- DEFINES["_GNU_SOURCE"] = True |
61687 |
- DEFINES["_GNU_SOURCE"] = True |
61099 |
- |
61688 |
- |
61100 |
- LOCAL_INCLUDES += [ |
61689 |
-if CONFIG["TARGET_CPU"] == "mips64": |
61101 |
- "/gfx/angle/checkout/include/", |
|
|
61102 |
- "/third_party/drm/drm/", |
61103 |
- "/third_party/drm/drm/include/", |
61104 |
- "/third_party/drm/drm/include/libdrm/", |
61105 |
- "/third_party/gbm/gbm/", |
61106 |
- "/third_party/libepoxy/libepoxy/include/", |
61107 |
- "/third_party/pipewire/" |
61108 |
- ] |
61109 |
- |
61110 |
- UNIFIED_SOURCES += [ |
61111 |
- "/third_party/libwebrtc/modules/video_capture/linux/camera_portal.cc", |
61112 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_pipewire.cc", |
61113 |
- "/third_party/libwebrtc/modules/video_capture/linux/pipewire_session.cc", |
61114 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
61115 |
- ] |
61116 |
- |
61117 |
-if CONFIG["TARGET_CPU"] == "x86": |
61118 |
- |
61690 |
- |
|
|
61691 |
- DEFINES["_GNU_SOURCE"] = True |
61692 |
|
61693 |
if CONFIG["TARGET_CPU"] == "x86": |
61694 |
|
61119 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61695 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61120 |
- |
61696 |
- |
61121 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
61697 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
Lines 61154-61228
index 6af27f618bcd..d418565bbd05 100644
Link Here
|
61154 |
- |
61730 |
- |
61155 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61731 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61156 |
- |
61732 |
- |
61157 |
- CXXFLAGS += [ |
61733 |
CFLAGS += [ |
61158 |
- "-msse2" |
61734 |
"-msse2" |
61159 |
- ] |
|
|
61160 |
- |
61161 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
61162 |
+if CONFIG["TARGET_CPU"] == "mips32": |
61163 |
|
61164 |
+ DEFINES["MIPS32_LE"] = True |
61165 |
+ DEFINES["MIPS_FPU_LE"] = True |
61166 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
61167 |
- DEFINES["_GNU_SOURCE"] = True |
61168 |
|
61169 |
LOCAL_INCLUDES += [ |
61170 |
"/gfx/angle/checkout/include/", |
61171 |
@@ -297,10 +107,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
61172 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
61173 |
] |
61735 |
] |
61174 |
|
61736 |
|
|
|
61737 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
61738 |
- |
61739 |
- DEFINES["_GNU_SOURCE"] = True |
61740 |
- |
61175 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
61741 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
61176 |
+if CONFIG["TARGET_CPU"] == "mips64": |
61742 |
- |
61177 |
|
|
|
61178 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
61179 |
- DEFINES["_GNU_SOURCE"] = True |
61743 |
- DEFINES["_GNU_SOURCE"] = True |
61180 |
|
61744 |
- |
61181 |
LOCAL_INCLUDES += [ |
|
|
61182 |
"/gfx/angle/checkout/include/", |
61183 |
@@ -319,14 +128,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
61184 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
61185 |
] |
61186 |
|
61187 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61745 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61188 |
+if CONFIG["TARGET_CPU"] == "x86": |
|
|
61189 |
|
61190 |
CXXFLAGS += [ |
61191 |
"-msse2" |
61192 |
] |
61193 |
|
61194 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61746 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61195 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
|
|
61196 |
- DEFINES["_GNU_SOURCE"] = True |
61197 |
|
61747 |
|
61198 |
LOCAL_INCLUDES += [ |
61748 |
- CFLAGS += [ |
61199 |
"/gfx/angle/checkout/include/", |
61749 |
- "-msse2" |
61200 |
@@ -345,10 +154,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61750 |
- ] |
61201 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
|
|
61202 |
] |
61203 |
|
61204 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
61205 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
61751 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
61206 |
|
61752 |
|
61207 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
61208 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
61209 |
- DEFINES["_GNU_SOURCE"] = True |
61753 |
- DEFINES["_GNU_SOURCE"] = True |
|
|
61754 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61210 |
|
61755 |
|
61211 |
LOCAL_INCLUDES += [ |
61756 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
61212 |
"/gfx/angle/checkout/include/", |
|
|
61213 |
@@ -367,4 +176,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
61214 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
61215 |
] |
61216 |
|
61217 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
61757 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
61218 |
+ |
61758 |
|
|
|
61759 |
- DEFINES["_GNU_SOURCE"] = True |
61219 |
+ DEFINES["USE_X11"] = "1" |
61760 |
+ DEFINES["USE_X11"] = "1" |
61220 |
+ |
61761 |
|
61221 |
Library("video_capture_internal_impl_gn") |
61762 |
Library("g711_3p_gn") |
61222 |
diff --git third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build |
61763 |
diff --git third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build |
61223 |
index 145e54928644..d53c45076c66 100644 |
61764 |
index d1ff3aaad348..f7b9d5799283 100644 |
61224 |
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build |
61765 |
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build |
61225 |
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build |
61766 |
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build |
61226 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
61767 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
61227 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61768 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61228 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
61769 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 61245-61251
index 145e54928644..d53c45076c66 100644
Link Here
|
61245 |
|
61786 |
|
61246 |
FINAL_LIBRARY = "xul" |
61787 |
FINAL_LIBRARY = "xul" |
61247 |
|
61788 |
|
61248 |
@@ -47,189 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
61789 |
@@ -47,174 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
61249 |
if CONFIG["MOZ_DEBUG"] == "1": |
61790 |
if CONFIG["MOZ_DEBUG"] == "1": |
61250 |
|
61791 |
|
61251 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
61792 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 61264-61273
index 145e54928644..d53c45076c66 100644
Link Here
|
61264 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61805 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61265 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61806 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61266 |
- |
61807 |
- |
61267 |
- OS_LIBS += [ |
|
|
61268 |
- "log" |
61269 |
- ] |
61270 |
- |
61271 |
-if CONFIG["OS_TARGET"] == "Darwin": |
61808 |
-if CONFIG["OS_TARGET"] == "Darwin": |
61272 |
- |
61809 |
- |
61273 |
- DEFINES["WEBRTC_MAC"] = True |
61810 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 61293-61302
index 145e54928644..d53c45076c66 100644
Link Here
|
61293 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61830 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61294 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61831 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61295 |
- |
61832 |
- |
61296 |
- OS_LIBS += [ |
|
|
61297 |
- "rt" |
61298 |
- ] |
61299 |
- |
61300 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
61833 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
61301 |
- |
61834 |
- |
61302 |
- DEFINES["USE_GLIB"] = "1" |
61835 |
- DEFINES["USE_GLIB"] = "1" |
Lines 61337-61349
index 145e54928644..d53c45076c66 100644
Link Here
|
61337 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
61870 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
61338 |
- DEFINES["_WINDOWS"] = True |
61871 |
- DEFINES["_WINDOWS"] = True |
61339 |
- DEFINES["__STD_C"] = True |
61872 |
- DEFINES["__STD_C"] = True |
61340 |
- |
|
|
61341 |
- OS_LIBS += [ |
61342 |
- "crypt32", |
61343 |
- "iphlpapi", |
61344 |
- "secur32", |
61345 |
- "winmm" |
61346 |
- ] |
61347 |
+ DEFINES["_DEBUG"] = True |
61873 |
+ DEFINES["_DEBUG"] = True |
61348 |
|
61874 |
|
61349 |
if CONFIG["TARGET_CPU"] == "aarch64": |
61875 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 61353-61359
index 145e54928644..d53c45076c66 100644
Link Here
|
61353 |
|
61879 |
|
61354 |
-if CONFIG["TARGET_CPU"] == "arm": |
61880 |
-if CONFIG["TARGET_CPU"] == "arm": |
61355 |
- |
61881 |
- |
61356 |
- CXXFLAGS += [ |
61882 |
- CFLAGS += [ |
61357 |
- "-mfpu=neon" |
61883 |
- "-mfpu=neon" |
61358 |
- ] |
61884 |
- ] |
61359 |
- |
61885 |
- |
Lines 61411-61417
index 145e54928644..d53c45076c66 100644
Link Here
|
61411 |
- |
61937 |
- |
61412 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61938 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61413 |
- |
61939 |
- |
61414 |
CXXFLAGS += [ |
61940 |
CFLAGS += [ |
61415 |
"-msse2" |
61941 |
"-msse2" |
61416 |
] |
61942 |
] |
61417 |
|
61943 |
|
Lines 61426-61432
index 145e54928644..d53c45076c66 100644
Link Here
|
61426 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61952 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61427 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61953 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61428 |
|
61954 |
|
61429 |
- CXXFLAGS += [ |
61955 |
- CFLAGS += [ |
61430 |
- "-msse2" |
61956 |
- "-msse2" |
61431 |
- ] |
61957 |
- ] |
61432 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
61958 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
Lines 61440-61450
index 145e54928644..d53c45076c66 100644
Link Here
|
61440 |
- DEFINES["_GNU_SOURCE"] = True |
61966 |
- DEFINES["_GNU_SOURCE"] = True |
61441 |
+ DEFINES["USE_X11"] = "1" |
61967 |
+ DEFINES["USE_X11"] = "1" |
61442 |
|
61968 |
|
61443 |
Library("video_capture_module_gn") |
61969 |
Library("g722_3p_gn") |
61444 |
diff --git third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build |
61970 |
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build |
61445 |
index 065cf604b5d3..e9eebffdbcd2 100644 |
61971 |
index 97d828d64fc1..bd10964445c7 100644 |
61446 |
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build |
61972 |
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build |
61447 |
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build |
61973 |
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build |
61448 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
61974 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
61449 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61975 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61450 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
61976 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 61467-61473
index 065cf604b5d3..e9eebffdbcd2 100644
Link Here
|
61467 |
|
61993 |
|
61468 |
FINAL_LIBRARY = "xul" |
61994 |
FINAL_LIBRARY = "xul" |
61469 |
|
61995 |
|
61470 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
61996 |
@@ -39,115 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
61471 |
if CONFIG["MOZ_DEBUG"] == "1": |
61997 |
if CONFIG["MOZ_DEBUG"] == "1": |
61472 |
|
61998 |
|
61473 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
61999 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 61490-61495
index 065cf604b5d3..e9eebffdbcd2 100644
Link Here
|
61490 |
- "log" |
62016 |
- "log" |
61491 |
- ] |
62017 |
- ] |
61492 |
- |
62018 |
- |
|
|
62019 |
- UNIFIED_SOURCES += [ |
62020 |
- "/third_party/libwebrtc/modules/utility/source/helpers_android.cc" |
62021 |
- ] |
62022 |
- |
61493 |
-if CONFIG["OS_TARGET"] == "Darwin": |
62023 |
-if CONFIG["OS_TARGET"] == "Darwin": |
61494 |
- |
62024 |
- |
61495 |
- DEFINES["WEBRTC_MAC"] = True |
62025 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 61555-61567
index 065cf604b5d3..e9eebffdbcd2 100644
Link Here
|
61555 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
62085 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
61556 |
- DEFINES["_WINDOWS"] = True |
62086 |
- DEFINES["_WINDOWS"] = True |
61557 |
- DEFINES["__STD_C"] = True |
62087 |
- DEFINES["__STD_C"] = True |
61558 |
- |
|
|
61559 |
- OS_LIBS += [ |
61560 |
- "crypt32", |
61561 |
- "iphlpapi", |
61562 |
- "secur32", |
61563 |
- "winmm" |
61564 |
- ] |
61565 |
+ DEFINES["_DEBUG"] = True |
62088 |
+ DEFINES["_DEBUG"] = True |
61566 |
|
62089 |
|
61567 |
if CONFIG["TARGET_CPU"] == "aarch64": |
62090 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 61571-61580
index 065cf604b5d3..e9eebffdbcd2 100644
Link Here
|
61571 |
|
62094 |
|
61572 |
-if CONFIG["TARGET_CPU"] == "arm": |
62095 |
-if CONFIG["TARGET_CPU"] == "arm": |
61573 |
- |
62096 |
- |
61574 |
- CXXFLAGS += [ |
|
|
61575 |
- "-mfpu=neon" |
61576 |
- ] |
61577 |
- |
61578 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
62097 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
61579 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
62098 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
61580 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
62099 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 61591-61602
index 065cf604b5d3..e9eebffdbcd2 100644
Link Here
|
61591 |
|
62110 |
|
61592 |
if CONFIG["TARGET_CPU"] == "x86": |
62111 |
if CONFIG["TARGET_CPU"] == "x86": |
61593 |
|
62112 |
|
61594 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62113 |
@@ -157,60 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
61595 |
- |
62114 |
|
61596 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
62115 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
61597 |
- |
62116 |
|
61598 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
61599 |
- |
61600 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
62117 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
61601 |
- |
62118 |
- |
61602 |
- DEFINES["_DEBUG"] = True |
62119 |
- DEFINES["_DEBUG"] = True |
Lines 61618-61638
index 065cf604b5d3..e9eebffdbcd2 100644
Link Here
|
61618 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
62135 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
61619 |
- |
62136 |
- |
61620 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
62137 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
61621 |
- |
62138 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
61622 |
- DEFINES["USE_X11"] = "1" |
62139 |
|
61623 |
- |
62140 |
DEFINES["USE_X11"] = "1" |
|
|
62141 |
|
61624 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
62142 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
61625 |
- |
62143 |
- |
|
|
62144 |
- CXXFLAGS += [ |
62145 |
- "-mfpu=neon" |
62146 |
- ] |
62147 |
- |
61626 |
- OS_LIBS += [ |
62148 |
- OS_LIBS += [ |
61627 |
- "unwind" |
62149 |
- "unwind" |
61628 |
- ] |
62150 |
- ] |
61629 |
- |
62151 |
- |
61630 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
62152 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61631 |
- |
62153 |
- |
61632 |
CXXFLAGS += [ |
62154 |
- CXXFLAGS += [ |
61633 |
"-msse2" |
62155 |
- "-msse2" |
61634 |
] |
62156 |
- ] |
61635 |
|
62157 |
- |
61636 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
62158 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
61637 |
- |
62159 |
- |
61638 |
- DEFINES["_GNU_SOURCE"] = True |
62160 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 61642-61669
index 065cf604b5d3..e9eebffdbcd2 100644
Link Here
|
61642 |
- DEFINES["_GNU_SOURCE"] = True |
62164 |
- DEFINES["_GNU_SOURCE"] = True |
61643 |
- |
62165 |
- |
61644 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
62166 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61645 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62167 |
- |
61646 |
|
|
|
61647 |
- CXXFLAGS += [ |
61648 |
- "-msse2" |
61649 |
- ] |
61650 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
61651 |
|
61652 |
- DEFINES["_GNU_SOURCE"] = True |
62168 |
- DEFINES["_GNU_SOURCE"] = True |
61653 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62169 |
- |
61654 |
|
|
|
61655 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
62170 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
61656 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
62171 |
- |
61657 |
|
|
|
61658 |
- DEFINES["_GNU_SOURCE"] = True |
62172 |
- DEFINES["_GNU_SOURCE"] = True |
61659 |
+ DEFINES["USE_X11"] = "1" |
62173 |
- |
61660 |
|
62174 |
Library("utility_gn") |
61661 |
Library("chain_diff_calculator_gn") |
62175 |
diff --git third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
61662 |
diff --git third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build |
62176 |
index 6af27f618bcd..d418565bbd05 100644 |
61663 |
index 53a7fc384c3d..bd7362a67f30 100644 |
62177 |
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
61664 |
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build |
62178 |
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
61665 |
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build |
62179 |
@@ -14,11 +14,21 @@ AllowCompilerWarnings() |
61666 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
|
|
61667 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62180 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61668 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
62181 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
61669 |
DEFINES["RTC_ENABLE_VP9"] = True |
62182 |
DEFINES["RTC_ENABLE_VP9"] = True |
Lines 61685-61691
index 53a7fc384c3d..bd7362a67f30 100644
Link Here
|
61685 |
|
62198 |
|
61686 |
FINAL_LIBRARY = "xul" |
62199 |
FINAL_LIBRARY = "xul" |
61687 |
|
62200 |
|
61688 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
62201 |
@@ -33,6 +43,10 @@ LOCAL_INCLUDES += [ |
|
|
62202 |
] |
62203 |
|
62204 |
UNIFIED_SOURCES += [ |
62205 |
+ "/third_party/libwebrtc/modules/video_capture/linux/device_info_linux.cc", |
62206 |
+ "/third_party/libwebrtc/modules/video_capture/linux/device_info_v4l2.cc", |
62207 |
+ "/third_party/libwebrtc/modules/video_capture/linux/video_capture_linux.cc", |
62208 |
+ "/third_party/libwebrtc/modules/video_capture/linux/video_capture_v4l2.cc", |
62209 |
"/third_party/libwebrtc/modules/video_capture/video_capture_options.cc" |
62210 |
] |
62211 |
|
62212 |
@@ -45,152 +59,13 @@ if not CONFIG["MOZ_DEBUG"]: |
61689 |
if CONFIG["MOZ_DEBUG"] == "1": |
62213 |
if CONFIG["MOZ_DEBUG"] == "1": |
61690 |
|
62214 |
|
61691 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
62215 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 61733-61738
index 53a7fc384c3d..bd7362a67f30 100644
Link Here
|
61733 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
62257 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61734 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
62258 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61735 |
- |
62259 |
- |
|
|
62260 |
- OS_LIBS += [ |
62261 |
- "rt" |
62262 |
- ] |
62263 |
- |
62264 |
- UNIFIED_SOURCES += [ |
62265 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_linux.cc", |
62266 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_v4l2.cc", |
62267 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_linux.cc", |
62268 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_v4l2.cc" |
62269 |
- ] |
62270 |
- |
61736 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
62271 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
61737 |
- |
62272 |
- |
61738 |
- DEFINES["USE_GLIB"] = "1" |
62273 |
- DEFINES["USE_GLIB"] = "1" |
Lines 61747-61752
index 53a7fc384c3d..bd7362a67f30 100644
Link Here
|
61747 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
62282 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61748 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
62283 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61749 |
- |
62284 |
- |
|
|
62285 |
- UNIFIED_SOURCES += [ |
62286 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_linux.cc", |
62287 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_v4l2.cc", |
62288 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_linux.cc", |
62289 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_v4l2.cc" |
62290 |
- ] |
62291 |
- |
61750 |
-if CONFIG["OS_TARGET"] == "WINNT": |
62292 |
-if CONFIG["OS_TARGET"] == "WINNT": |
61751 |
- |
62293 |
- |
61752 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
62294 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
Lines 61773-61807
index 53a7fc384c3d..bd7362a67f30 100644
Link Here
|
61773 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
62315 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
61774 |
- DEFINES["_WINDOWS"] = True |
62316 |
- DEFINES["_WINDOWS"] = True |
61775 |
- DEFINES["__STD_C"] = True |
62317 |
- DEFINES["__STD_C"] = True |
|
|
62318 |
- |
62319 |
- OS_LIBS += [ |
62320 |
- "crypt32", |
62321 |
- "iphlpapi", |
62322 |
- "ole32", |
62323 |
- "oleaut32", |
62324 |
- "secur32", |
62325 |
- "strmiids", |
62326 |
- "user32", |
62327 |
- "winmm" |
62328 |
- ] |
62329 |
- |
62330 |
- SOURCES += [ |
62331 |
- "/third_party/libwebrtc/modules/video_capture/windows/device_info_ds.cc", |
62332 |
- "/third_party/libwebrtc/modules/video_capture/windows/help_functions_ds.cc", |
62333 |
- "/third_party/libwebrtc/modules/video_capture/windows/sink_filter_ds.cc" |
62334 |
- ] |
62335 |
- |
62336 |
- UNIFIED_SOURCES += [ |
62337 |
- "/third_party/libwebrtc/modules/video_capture/windows/video_capture_ds.cc", |
62338 |
- "/third_party/libwebrtc/modules/video_capture/windows/video_capture_factory_windows.cc" |
62339 |
- ] |
61776 |
+ DEFINES["_DEBUG"] = True |
62340 |
+ DEFINES["_DEBUG"] = True |
61777 |
|
62341 |
|
61778 |
if CONFIG["TARGET_CPU"] == "aarch64": |
62342 |
if CONFIG["TARGET_CPU"] == "aarch64": |
61779 |
|
62343 |
|
61780 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
62344 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
61781 |
DEFINES["WEBRTC_HAS_NEON"] = True |
62345 |
DEFINES["WEBRTC_HAS_NEON"] = True |
61782 |
|
62346 |
- |
61783 |
-if CONFIG["TARGET_CPU"] == "arm": |
62347 |
-if CONFIG["TARGET_CPU"] == "arm": |
61784 |
- |
62348 |
- |
|
|
62349 |
- CXXFLAGS += [ |
62350 |
- "-mfpu=neon" |
62351 |
- ] |
62352 |
- |
61785 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
62353 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
61786 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
62354 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
61787 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
62355 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
61788 |
- |
62356 |
- |
61789 |
if CONFIG["TARGET_CPU"] == "mips32": |
62357 |
-if CONFIG["TARGET_CPU"] == "mips32": |
61790 |
|
|
|
61791 |
DEFINES["MIPS32_LE"] = True |
61792 |
DEFINES["MIPS_FPU_LE"] = True |
61793 |
- DEFINES["_GNU_SOURCE"] = True |
61794 |
- |
61795 |
-if CONFIG["TARGET_CPU"] == "mips64": |
61796 |
- |
62358 |
- |
|
|
62359 |
- DEFINES["MIPS32_LE"] = True |
62360 |
- DEFINES["MIPS_FPU_LE"] = True |
62361 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
61797 |
- DEFINES["_GNU_SOURCE"] = True |
62362 |
- DEFINES["_GNU_SOURCE"] = True |
61798 |
|
62363 |
|
61799 |
if CONFIG["TARGET_CPU"] == "x86": |
62364 |
LOCAL_INCLUDES += [ |
61800 |
|
62365 |
"/gfx/angle/checkout/include/", |
61801 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
62366 |
@@ -209,76 +84,11 @@ if CONFIG["TARGET_CPU"] == "mips32": |
61802 |
|
62367 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
61803 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62368 |
] |
61804 |
|
62369 |
|
|
|
62370 |
-if CONFIG["TARGET_CPU"] == "mips64": |
62371 |
- |
62372 |
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
62373 |
- DEFINES["_GNU_SOURCE"] = True |
62374 |
- |
62375 |
- LOCAL_INCLUDES += [ |
62376 |
- "/gfx/angle/checkout/include/", |
62377 |
- "/third_party/drm/drm/", |
62378 |
- "/third_party/drm/drm/include/", |
62379 |
- "/third_party/drm/drm/include/libdrm/", |
62380 |
- "/third_party/gbm/gbm/", |
62381 |
- "/third_party/libepoxy/libepoxy/include/", |
62382 |
- "/third_party/pipewire/" |
62383 |
- ] |
62384 |
- |
62385 |
- UNIFIED_SOURCES += [ |
62386 |
- "/third_party/libwebrtc/modules/video_capture/linux/camera_portal.cc", |
62387 |
- "/third_party/libwebrtc/modules/video_capture/linux/device_info_pipewire.cc", |
62388 |
- "/third_party/libwebrtc/modules/video_capture/linux/pipewire_session.cc", |
62389 |
- "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
62390 |
- ] |
62391 |
- |
62392 |
-if CONFIG["TARGET_CPU"] == "x86": |
62393 |
- |
62394 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62395 |
- |
62396 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
62397 |
- |
62398 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62399 |
- |
61805 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
62400 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
61806 |
- |
62401 |
- |
61807 |
- DEFINES["_DEBUG"] = True |
62402 |
- DEFINES["_DEBUG"] = True |
Lines 61823-61859
index 53a7fc384c3d..bd7362a67f30 100644
Link Here
|
61823 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
62418 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
61824 |
- |
62419 |
- |
61825 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
62420 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
61826 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
62421 |
- |
61827 |
|
62422 |
- DEFINES["USE_X11"] = "1" |
61828 |
DEFINES["USE_X11"] = "1" |
62423 |
- |
61829 |
|
|
|
61830 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
62424 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
61831 |
- |
62425 |
- |
61832 |
- OS_LIBS += [ |
62426 |
- OS_LIBS += [ |
61833 |
- "unwind" |
62427 |
- "unwind" |
61834 |
- ] |
62428 |
- ] |
61835 |
- |
62429 |
- |
61836 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
62430 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
61837 |
- |
62431 |
- |
61838 |
- DEFINES["_GNU_SOURCE"] = True |
62432 |
- CXXFLAGS += [ |
|
|
62433 |
- "-msse2" |
62434 |
- ] |
61839 |
- |
62435 |
- |
|
|
62436 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
62437 |
+if CONFIG["TARGET_CPU"] == "mips32": |
62438 |
|
62439 |
+ DEFINES["MIPS32_LE"] = True |
62440 |
+ DEFINES["MIPS_FPU_LE"] = True |
62441 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
62442 |
- DEFINES["_GNU_SOURCE"] = True |
62443 |
|
62444 |
LOCAL_INCLUDES += [ |
62445 |
"/gfx/angle/checkout/include/", |
62446 |
@@ -297,10 +107,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
62447 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
62448 |
] |
62449 |
|
61840 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
62450 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
61841 |
- |
62451 |
+if CONFIG["TARGET_CPU"] == "mips64": |
|
|
62452 |
|
62453 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
61842 |
- DEFINES["_GNU_SOURCE"] = True |
62454 |
- DEFINES["_GNU_SOURCE"] = True |
61843 |
- |
62455 |
|
|
|
62456 |
LOCAL_INCLUDES += [ |
62457 |
"/gfx/angle/checkout/include/", |
62458 |
@@ -319,14 +128,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
62459 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
62460 |
] |
62461 |
|
61844 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
62462 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
61845 |
- |
62463 |
+if CONFIG["TARGET_CPU"] == "x86": |
|
|
62464 |
|
62465 |
CXXFLAGS += [ |
62466 |
"-msse2" |
62467 |
] |
62468 |
|
62469 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62470 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
61846 |
- DEFINES["_GNU_SOURCE"] = True |
62471 |
- DEFINES["_GNU_SOURCE"] = True |
61847 |
- |
62472 |
|
|
|
62473 |
LOCAL_INCLUDES += [ |
62474 |
"/gfx/angle/checkout/include/", |
62475 |
@@ -345,10 +154,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
62476 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
62477 |
] |
62478 |
|
61848 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
62479 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
61849 |
- |
62480 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
|
|
62481 |
|
62482 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62483 |
DEFINES["WEBRTC_USE_PIPEWIRE"] = True |
61850 |
- DEFINES["_GNU_SOURCE"] = True |
62484 |
- DEFINES["_GNU_SOURCE"] = True |
61851 |
- |
62485 |
|
61852 |
Library("codec_globals_headers_gn") |
62486 |
LOCAL_INCLUDES += [ |
61853 |
diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build |
62487 |
"/gfx/angle/checkout/include/", |
61854 |
index b9784482e9bd..d6db6b79cea3 100644 |
62488 |
@@ -367,4 +176,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
61855 |
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build |
62489 |
"/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" |
61856 |
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build |
62490 |
] |
|
|
62491 |
|
62492 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
62493 |
+ |
62494 |
+ DEFINES["USE_X11"] = "1" |
62495 |
+ |
62496 |
Library("video_capture_internal_impl_gn") |
62497 |
diff --git third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build |
62498 |
index 145e54928644..d53c45076c66 100644 |
62499 |
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build |
62500 |
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build |
61857 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
62501 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
61858 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62502 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
61859 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
62503 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 61876-61882
index b9784482e9bd..d6db6b79cea3 100644
Link Here
|
61876 |
|
62520 |
|
61877 |
FINAL_LIBRARY = "xul" |
62521 |
FINAL_LIBRARY = "xul" |
61878 |
|
62522 |
|
61879 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
62523 |
@@ -47,189 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
61880 |
if CONFIG["MOZ_DEBUG"] == "1": |
62524 |
if CONFIG["MOZ_DEBUG"] == "1": |
61881 |
|
62525 |
|
61882 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
62526 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 61924-61929
index b9784482e9bd..d6db6b79cea3 100644
Link Here
|
61924 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
62568 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
61925 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
62569 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
61926 |
- |
62570 |
- |
|
|
62571 |
- OS_LIBS += [ |
62572 |
- "rt" |
62573 |
- ] |
62574 |
- |
61927 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
62575 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
61928 |
- |
62576 |
- |
61929 |
- DEFINES["USE_GLIB"] = "1" |
62577 |
- DEFINES["USE_GLIB"] = "1" |
Lines 62067-62077
index b9784482e9bd..d6db6b79cea3 100644
Link Here
|
62067 |
- DEFINES["_GNU_SOURCE"] = True |
62715 |
- DEFINES["_GNU_SOURCE"] = True |
62068 |
+ DEFINES["USE_X11"] = "1" |
62716 |
+ DEFINES["USE_X11"] = "1" |
62069 |
|
62717 |
|
62070 |
Library("av1_svc_config_gn") |
62718 |
Library("video_capture_module_gn") |
62071 |
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build |
62719 |
diff --git third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build |
62072 |
index a086f7cb0b6f..6b870ee54300 100644 |
62720 |
index 065cf604b5d3..e9eebffdbcd2 100644 |
62073 |
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build |
62721 |
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build |
62074 |
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build |
62722 |
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build |
62075 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
62723 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
62076 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62724 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62077 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
62725 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 62094-62100
index a086f7cb0b6f..6b870ee54300 100644
Link Here
|
62094 |
|
62742 |
|
62095 |
FINAL_LIBRARY = "xul" |
62743 |
FINAL_LIBRARY = "xul" |
62096 |
|
62744 |
|
62097 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
62745 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
62098 |
if CONFIG["MOZ_DEBUG"] == "1": |
62746 |
if CONFIG["MOZ_DEBUG"] == "1": |
62099 |
|
62747 |
|
62100 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
62748 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 62142-62151
index a086f7cb0b6f..6b870ee54300 100644
Link Here
|
62142 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
62790 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
62143 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
62791 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
62144 |
- |
62792 |
- |
62145 |
- OS_LIBS += [ |
|
|
62146 |
- "rt" |
62147 |
- ] |
62148 |
- |
62149 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
62793 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
62150 |
- |
62794 |
- |
62151 |
- DEFINES["USE_GLIB"] = "1" |
62795 |
- DEFINES["USE_GLIB"] = "1" |
Lines 62289-62299
index a086f7cb0b6f..6b870ee54300 100644
Link Here
|
62289 |
- DEFINES["_GNU_SOURCE"] = True |
62933 |
- DEFINES["_GNU_SOURCE"] = True |
62290 |
+ DEFINES["USE_X11"] = "1" |
62934 |
+ DEFINES["USE_X11"] = "1" |
62291 |
|
62935 |
|
62292 |
Library("encoded_frame_gn") |
62936 |
Library("chain_diff_calculator_gn") |
62293 |
diff --git third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build |
62937 |
diff --git third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build |
62294 |
index e8fdf3750a0c..a7f10d9ed7a9 100644 |
62938 |
index 53a7fc384c3d..bd7362a67f30 100644 |
62295 |
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build |
62939 |
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build |
62296 |
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build |
62940 |
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build |
62297 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
62941 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
62298 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62942 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62299 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
62943 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 62316-62322
index e8fdf3750a0c..a7f10d9ed7a9 100644
Link Here
|
62316 |
|
62960 |
|
62317 |
FINAL_LIBRARY = "xul" |
62961 |
FINAL_LIBRARY = "xul" |
62318 |
|
62962 |
|
62319 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
62963 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
62320 |
if CONFIG["MOZ_DEBUG"] == "1": |
62964 |
if CONFIG["MOZ_DEBUG"] == "1": |
62321 |
|
62965 |
|
62322 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
62966 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 62404-62416
index e8fdf3750a0c..a7f10d9ed7a9 100644
Link Here
|
62404 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
63048 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
62405 |
- DEFINES["_WINDOWS"] = True |
63049 |
- DEFINES["_WINDOWS"] = True |
62406 |
- DEFINES["__STD_C"] = True |
63050 |
- DEFINES["__STD_C"] = True |
62407 |
- |
|
|
62408 |
- OS_LIBS += [ |
62409 |
- "crypt32", |
62410 |
- "iphlpapi", |
62411 |
- "secur32", |
62412 |
- "winmm" |
62413 |
- ] |
62414 |
+ DEFINES["_DEBUG"] = True |
63051 |
+ DEFINES["_DEBUG"] = True |
62415 |
|
63052 |
|
62416 |
if CONFIG["TARGET_CPU"] == "aarch64": |
63053 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 62420-62429
index e8fdf3750a0c..a7f10d9ed7a9 100644
Link Here
|
62420 |
|
63057 |
|
62421 |
-if CONFIG["TARGET_CPU"] == "arm": |
63058 |
-if CONFIG["TARGET_CPU"] == "arm": |
62422 |
- |
63059 |
- |
62423 |
- CXXFLAGS += [ |
|
|
62424 |
- "-mfpu=neon" |
62425 |
- ] |
62426 |
- |
62427 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
63060 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
62428 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
63061 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
62429 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
63062 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 62440-62451
index e8fdf3750a0c..a7f10d9ed7a9 100644
Link Here
|
62440 |
|
63073 |
|
62441 |
if CONFIG["TARGET_CPU"] == "x86": |
63074 |
if CONFIG["TARGET_CPU"] == "x86": |
62442 |
|
63075 |
|
62443 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
63076 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
62444 |
- |
63077 |
|
62445 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
63078 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
62446 |
- |
63079 |
|
62447 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
62448 |
- |
62449 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
63080 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
62450 |
- |
63081 |
- |
62451 |
- DEFINES["_DEBUG"] = True |
63082 |
- DEFINES["_DEBUG"] = True |
Lines 62467-62487
index e8fdf3750a0c..a7f10d9ed7a9 100644
Link Here
|
62467 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
63098 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
62468 |
- |
63099 |
- |
62469 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
63100 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
62470 |
- |
63101 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
62471 |
- DEFINES["USE_X11"] = "1" |
63102 |
|
62472 |
- |
63103 |
DEFINES["USE_X11"] = "1" |
|
|
63104 |
|
62473 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
63105 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
62474 |
- |
63106 |
- |
62475 |
- OS_LIBS += [ |
63107 |
- OS_LIBS += [ |
62476 |
- "unwind" |
63108 |
- "unwind" |
62477 |
- ] |
63109 |
- ] |
62478 |
- |
63110 |
- |
62479 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
62480 |
- |
62481 |
CXXFLAGS += [ |
62482 |
"-msse2" |
62483 |
] |
62484 |
|
62485 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
63111 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
62486 |
- |
63112 |
- |
62487 |
- DEFINES["_GNU_SOURCE"] = True |
63113 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 62491-62517
index e8fdf3750a0c..a7f10d9ed7a9 100644
Link Here
|
62491 |
- DEFINES["_GNU_SOURCE"] = True |
63117 |
- DEFINES["_GNU_SOURCE"] = True |
62492 |
- |
63118 |
- |
62493 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
63119 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
62494 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
63120 |
- |
62495 |
|
|
|
62496 |
- CXXFLAGS += [ |
62497 |
- "-msse2" |
62498 |
- ] |
62499 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
62500 |
|
62501 |
- DEFINES["_GNU_SOURCE"] = True |
63121 |
- DEFINES["_GNU_SOURCE"] = True |
62502 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
63122 |
- |
62503 |
|
|
|
62504 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
63123 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
62505 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
63124 |
- |
62506 |
|
|
|
62507 |
- DEFINES["_GNU_SOURCE"] = True |
63125 |
- DEFINES["_GNU_SOURCE"] = True |
62508 |
+ DEFINES["USE_X11"] = "1" |
63126 |
- |
62509 |
|
63127 |
Library("codec_globals_headers_gn") |
62510 |
Library("frame_dependencies_calculator_gn") |
63128 |
diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build |
62511 |
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build |
63129 |
index b9784482e9bd..d6db6b79cea3 100644 |
62512 |
index ecd9c1dd8d37..864af3b1dda1 100644 |
63130 |
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build |
62513 |
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build |
63131 |
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build |
62514 |
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build |
|
|
62515 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
63132 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
62516 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
63133 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62517 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
63134 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 62725-62735
index ecd9c1dd8d37..864af3b1dda1 100644
Link Here
|
62725 |
- DEFINES["_GNU_SOURCE"] = True |
63342 |
- DEFINES["_GNU_SOURCE"] = True |
62726 |
+ DEFINES["USE_X11"] = "1" |
63343 |
+ DEFINES["USE_X11"] = "1" |
62727 |
|
63344 |
|
62728 |
Library("frame_helpers_gn") |
63345 |
Library("av1_svc_config_gn") |
62729 |
diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build |
63346 |
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build |
62730 |
index b92c2ed52823..0573b18d11d4 100644 |
63347 |
index a086f7cb0b6f..6b870ee54300 100644 |
62731 |
--- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build |
63348 |
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build |
62732 |
+++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build |
63349 |
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build |
62733 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
63350 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
62734 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
63351 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62735 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
63352 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 62752-62758
index b92c2ed52823..0573b18d11d4 100644
Link Here
|
62752 |
|
63369 |
|
62753 |
FINAL_LIBRARY = "xul" |
63370 |
FINAL_LIBRARY = "xul" |
62754 |
|
63371 |
|
62755 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
63372 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
62756 |
if CONFIG["MOZ_DEBUG"] == "1": |
63373 |
if CONFIG["MOZ_DEBUG"] == "1": |
62757 |
|
63374 |
|
62758 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
63375 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 62800-62805
index b92c2ed52823..0573b18d11d4 100644
Link Here
|
62800 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
63417 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
62801 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
63418 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
62802 |
- |
63419 |
- |
|
|
63420 |
- OS_LIBS += [ |
63421 |
- "rt" |
63422 |
- ] |
63423 |
- |
62803 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
63424 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
62804 |
- |
63425 |
- |
62805 |
- DEFINES["USE_GLIB"] = "1" |
63426 |
- DEFINES["USE_GLIB"] = "1" |
Lines 62943-62953
index b92c2ed52823..0573b18d11d4 100644
Link Here
|
62943 |
- DEFINES["_GNU_SOURCE"] = True |
63564 |
- DEFINES["_GNU_SOURCE"] = True |
62944 |
+ DEFINES["USE_X11"] = "1" |
63565 |
+ DEFINES["USE_X11"] = "1" |
62945 |
|
63566 |
|
62946 |
Library("h264_sprop_parameter_sets_gn") |
63567 |
Library("encoded_frame_gn") |
62947 |
diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build |
63568 |
diff --git third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build |
62948 |
index 92267a7c583f..98e803b7c4c1 100644 |
63569 |
index e8fdf3750a0c..a7f10d9ed7a9 100644 |
62949 |
--- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build |
63570 |
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build |
62950 |
+++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build |
63571 |
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build |
62951 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
63572 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
62952 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
63573 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
62953 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
63574 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 62970-62976
index 92267a7c583f..98e803b7c4c1 100644
Link Here
|
62970 |
|
63591 |
|
62971 |
FINAL_LIBRARY = "xul" |
63592 |
FINAL_LIBRARY = "xul" |
62972 |
|
63593 |
|
62973 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
63594 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
62974 |
if CONFIG["MOZ_DEBUG"] == "1": |
63595 |
if CONFIG["MOZ_DEBUG"] == "1": |
62975 |
|
63596 |
|
62976 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
63597 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 63018-63027
index 92267a7c583f..98e803b7c4c1 100644
Link Here
|
63018 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
63639 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
63019 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
63640 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
63020 |
- |
63641 |
- |
63021 |
- OS_LIBS += [ |
|
|
63022 |
- "rt" |
63023 |
- ] |
63024 |
- |
63025 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
63642 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
63026 |
- |
63643 |
- |
63027 |
- DEFINES["USE_GLIB"] = "1" |
63644 |
- DEFINES["USE_GLIB"] = "1" |
Lines 63165-63175
index 92267a7c583f..98e803b7c4c1 100644
Link Here
|
63165 |
- DEFINES["_GNU_SOURCE"] = True |
63782 |
- DEFINES["_GNU_SOURCE"] = True |
63166 |
+ DEFINES["USE_X11"] = "1" |
63783 |
+ DEFINES["USE_X11"] = "1" |
63167 |
|
63784 |
|
63168 |
Library("h26x_packet_buffer_gn") |
63785 |
Library("frame_dependencies_calculator_gn") |
63169 |
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build |
63786 |
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build |
63170 |
index 187cf6089c53..45337d14f78e 100644 |
63787 |
index ecd9c1dd8d37..864af3b1dda1 100644 |
63171 |
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build |
63788 |
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build |
63172 |
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build |
63789 |
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build |
63173 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
63790 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
63174 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
63791 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
63175 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
63792 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 63192-63198
index 187cf6089c53..45337d14f78e 100644
Link Here
|
63192 |
|
63809 |
|
63193 |
FINAL_LIBRARY = "xul" |
63810 |
FINAL_LIBRARY = "xul" |
63194 |
|
63811 |
|
63195 |
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
63812 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
63196 |
if CONFIG["MOZ_DEBUG"] == "1": |
63813 |
if CONFIG["MOZ_DEBUG"] == "1": |
63197 |
|
63814 |
|
63198 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
63815 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 63240-63249
index 187cf6089c53..45337d14f78e 100644
Link Here
|
63240 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
63857 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
63241 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
63858 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
63242 |
- |
63859 |
- |
63243 |
- OS_LIBS += [ |
|
|
63244 |
- "rt" |
63245 |
- ] |
63246 |
- |
63247 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
63860 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
63248 |
- |
63861 |
- |
63249 |
- DEFINES["USE_GLIB"] = "1" |
63862 |
- DEFINES["USE_GLIB"] = "1" |
Lines 63387-63397
index 187cf6089c53..45337d14f78e 100644
Link Here
|
63387 |
- DEFINES["_GNU_SOURCE"] = True |
64000 |
- DEFINES["_GNU_SOURCE"] = True |
63388 |
+ DEFINES["USE_X11"] = "1" |
64001 |
+ DEFINES["USE_X11"] = "1" |
63389 |
|
64002 |
|
63390 |
Library("nack_requester_gn") |
64003 |
Library("frame_helpers_gn") |
63391 |
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build |
64004 |
diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build |
63392 |
index 09929b1d482a..f3d5f329d665 100644 |
64005 |
index b92c2ed52823..0573b18d11d4 100644 |
63393 |
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build |
64006 |
--- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build |
63394 |
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build |
64007 |
+++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build |
63395 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64008 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
63396 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64009 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
63397 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
64010 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 63414-63420
index 09929b1d482a..f3d5f329d665 100644
Link Here
|
63414 |
|
64027 |
|
63415 |
FINAL_LIBRARY = "xul" |
64028 |
FINAL_LIBRARY = "xul" |
63416 |
|
64029 |
|
63417 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
64030 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
63418 |
if CONFIG["MOZ_DEBUG"] == "1": |
64031 |
if CONFIG["MOZ_DEBUG"] == "1": |
63419 |
|
64032 |
|
63420 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
64033 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 63462-63471
index 09929b1d482a..f3d5f329d665 100644
Link Here
|
63462 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
64075 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
63463 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
64076 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
63464 |
- |
64077 |
- |
63465 |
- OS_LIBS += [ |
|
|
63466 |
- "rt" |
63467 |
- ] |
63468 |
- |
63469 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
64078 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
63470 |
- |
64079 |
- |
63471 |
- DEFINES["USE_GLIB"] = "1" |
64080 |
- DEFINES["USE_GLIB"] = "1" |
Lines 63609-63619
index 09929b1d482a..f3d5f329d665 100644
Link Here
|
63609 |
- DEFINES["_GNU_SOURCE"] = True |
64218 |
- DEFINES["_GNU_SOURCE"] = True |
63610 |
+ DEFINES["USE_X11"] = "1" |
64219 |
+ DEFINES["USE_X11"] = "1" |
63611 |
|
64220 |
|
63612 |
Library("packet_buffer_gn") |
64221 |
Library("h264_sprop_parameter_sets_gn") |
63613 |
diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build |
64222 |
diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build |
63614 |
index 698684346412..da2c255ee0fc 100644 |
64223 |
index 92267a7c583f..98e803b7c4c1 100644 |
63615 |
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build |
64224 |
--- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build |
63616 |
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build |
64225 |
+++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build |
63617 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64226 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
63618 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64227 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
63619 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
64228 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 63636-63642
index 698684346412..da2c255ee0fc 100644
Link Here
|
63636 |
|
64245 |
|
63637 |
FINAL_LIBRARY = "xul" |
64246 |
FINAL_LIBRARY = "xul" |
63638 |
|
64247 |
|
63639 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
64248 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
63640 |
if CONFIG["MOZ_DEBUG"] == "1": |
64249 |
if CONFIG["MOZ_DEBUG"] == "1": |
63641 |
|
64250 |
|
63642 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
64251 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 63684-63689
index 698684346412..da2c255ee0fc 100644
Link Here
|
63684 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
64293 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
63685 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
64294 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
63686 |
- |
64295 |
- |
|
|
64296 |
- OS_LIBS += [ |
64297 |
- "rt" |
64298 |
- ] |
64299 |
- |
63687 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
64300 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
63688 |
- |
64301 |
- |
63689 |
- DEFINES["USE_GLIB"] = "1" |
64302 |
- DEFINES["USE_GLIB"] = "1" |
Lines 63827-63837
index 698684346412..da2c255ee0fc 100644
Link Here
|
63827 |
- DEFINES["_GNU_SOURCE"] = True |
64440 |
- DEFINES["_GNU_SOURCE"] = True |
63828 |
+ DEFINES["USE_X11"] = "1" |
64441 |
+ DEFINES["USE_X11"] = "1" |
63829 |
|
64442 |
|
63830 |
Library("scalability_mode_util_gn") |
64443 |
Library("h26x_packet_buffer_gn") |
63831 |
diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build |
64444 |
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build |
63832 |
index 88f469760f7f..e0bfc360efea 100644 |
64445 |
index 187cf6089c53..45337d14f78e 100644 |
63833 |
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build |
64446 |
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build |
63834 |
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build |
64447 |
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build |
63835 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64448 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
63836 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64449 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
63837 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
64450 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 63854-63860
index 88f469760f7f..e0bfc360efea 100644
Link Here
|
63854 |
|
64467 |
|
63855 |
FINAL_LIBRARY = "xul" |
64468 |
FINAL_LIBRARY = "xul" |
63856 |
|
64469 |
|
63857 |
@@ -50,185 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: |
64470 |
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
63858 |
if CONFIG["MOZ_DEBUG"] == "1": |
64471 |
if CONFIG["MOZ_DEBUG"] == "1": |
63859 |
|
64472 |
|
63860 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
64473 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 63902-63907
index 88f469760f7f..e0bfc360efea 100644
Link Here
|
63902 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
64515 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
63903 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
64516 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
63904 |
- |
64517 |
- |
|
|
64518 |
- OS_LIBS += [ |
64519 |
- "rt" |
64520 |
- ] |
64521 |
- |
63905 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
64522 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
63906 |
- |
64523 |
- |
63907 |
- DEFINES["USE_GLIB"] = "1" |
64524 |
- DEFINES["USE_GLIB"] = "1" |
Lines 64045-64055
index 88f469760f7f..e0bfc360efea 100644
Link Here
|
64045 |
- DEFINES["_GNU_SOURCE"] = True |
64662 |
- DEFINES["_GNU_SOURCE"] = True |
64046 |
+ DEFINES["USE_X11"] = "1" |
64663 |
+ DEFINES["USE_X11"] = "1" |
64047 |
|
64664 |
|
64048 |
Library("scalability_structures_gn") |
64665 |
Library("nack_requester_gn") |
64049 |
diff --git third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build |
64666 |
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build |
64050 |
index d09a4aed3ab5..8d6c549ef978 100644 |
64667 |
index 09929b1d482a..f3d5f329d665 100644 |
64051 |
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build |
64668 |
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build |
64052 |
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build |
64669 |
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build |
64053 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64670 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64054 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64671 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64055 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
64672 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 64072-64078
index d09a4aed3ab5..8d6c549ef978 100644
Link Here
|
64072 |
|
64689 |
|
64073 |
FINAL_LIBRARY = "xul" |
64690 |
FINAL_LIBRARY = "xul" |
64074 |
|
64691 |
|
64075 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
64692 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
64076 |
if CONFIG["MOZ_DEBUG"] == "1": |
64693 |
if CONFIG["MOZ_DEBUG"] == "1": |
64077 |
|
64694 |
|
64078 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
64695 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 64120-64125
index d09a4aed3ab5..8d6c549ef978 100644
Link Here
|
64120 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
64737 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
64121 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
64738 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
64122 |
- |
64739 |
- |
|
|
64740 |
- OS_LIBS += [ |
64741 |
- "rt" |
64742 |
- ] |
64743 |
- |
64123 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
64744 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
64124 |
- |
64745 |
- |
64125 |
- DEFINES["USE_GLIB"] = "1" |
64746 |
- DEFINES["USE_GLIB"] = "1" |
Lines 64160-64165
index d09a4aed3ab5..8d6c549ef978 100644
Link Here
|
64160 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
64781 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
64161 |
- DEFINES["_WINDOWS"] = True |
64782 |
- DEFINES["_WINDOWS"] = True |
64162 |
- DEFINES["__STD_C"] = True |
64783 |
- DEFINES["__STD_C"] = True |
|
|
64784 |
- |
64785 |
- OS_LIBS += [ |
64786 |
- "crypt32", |
64787 |
- "iphlpapi", |
64788 |
- "secur32", |
64789 |
- "winmm" |
64790 |
- ] |
64163 |
+ DEFINES["_DEBUG"] = True |
64791 |
+ DEFINES["_DEBUG"] = True |
64164 |
|
64792 |
|
64165 |
if CONFIG["TARGET_CPU"] == "aarch64": |
64793 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 64256-64266
index d09a4aed3ab5..8d6c549ef978 100644
Link Here
|
64256 |
- DEFINES["_GNU_SOURCE"] = True |
64884 |
- DEFINES["_GNU_SOURCE"] = True |
64257 |
+ DEFINES["USE_X11"] = "1" |
64885 |
+ DEFINES["USE_X11"] = "1" |
64258 |
|
64886 |
|
64259 |
Library("scalable_video_controller_gn") |
64887 |
Library("packet_buffer_gn") |
64260 |
diff --git third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build |
64888 |
diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build |
64261 |
index 2bd3634ba957..a7a401eb155d 100644 |
64889 |
index 698684346412..da2c255ee0fc 100644 |
64262 |
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build |
64890 |
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build |
64263 |
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build |
64891 |
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build |
64264 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64892 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64265 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64893 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64266 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
64894 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 64474-64484
index 2bd3634ba957..a7a401eb155d 100644
Link Here
|
64474 |
- DEFINES["_GNU_SOURCE"] = True |
65102 |
- DEFINES["_GNU_SOURCE"] = True |
64475 |
+ DEFINES["USE_X11"] = "1" |
65103 |
+ DEFINES["USE_X11"] = "1" |
64476 |
|
65104 |
|
64477 |
Library("svc_rate_allocator_gn") |
65105 |
Library("scalability_mode_util_gn") |
64478 |
diff --git third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build |
65106 |
diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build |
64479 |
index 9c48932149b9..8bbe558a2477 100644 |
65107 |
index 88f469760f7f..e0bfc360efea 100644 |
64480 |
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build |
65108 |
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build |
64481 |
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build |
65109 |
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build |
64482 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65110 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64483 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65111 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64484 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
65112 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 64501-64507
index 9c48932149b9..8bbe558a2477 100644
Link Here
|
64501 |
|
65129 |
|
64502 |
FINAL_LIBRARY = "xul" |
65130 |
FINAL_LIBRARY = "xul" |
64503 |
|
65131 |
|
64504 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
65132 |
@@ -50,185 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: |
64505 |
if CONFIG["MOZ_DEBUG"] == "1": |
65133 |
if CONFIG["MOZ_DEBUG"] == "1": |
64506 |
|
65134 |
|
64507 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
65135 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 64589-64594
index 9c48932149b9..8bbe558a2477 100644
Link Here
|
64589 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
65217 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
64590 |
- DEFINES["_WINDOWS"] = True |
65218 |
- DEFINES["_WINDOWS"] = True |
64591 |
- DEFINES["__STD_C"] = True |
65219 |
- DEFINES["__STD_C"] = True |
|
|
65220 |
- |
65221 |
- OS_LIBS += [ |
65222 |
- "crypt32", |
65223 |
- "iphlpapi", |
65224 |
- "secur32", |
65225 |
- "winmm" |
65226 |
- ] |
64592 |
+ DEFINES["_DEBUG"] = True |
65227 |
+ DEFINES["_DEBUG"] = True |
64593 |
|
65228 |
|
64594 |
if CONFIG["TARGET_CPU"] == "aarch64": |
65229 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 64685-64695
index 9c48932149b9..8bbe558a2477 100644
Link Here
|
64685 |
- DEFINES["_GNU_SOURCE"] = True |
65320 |
- DEFINES["_GNU_SOURCE"] = True |
64686 |
+ DEFINES["USE_X11"] = "1" |
65321 |
+ DEFINES["USE_X11"] = "1" |
64687 |
|
65322 |
|
64688 |
Library("decode_time_percentile_filter_gn") |
65323 |
Library("scalability_structures_gn") |
64689 |
diff --git third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build |
65324 |
diff --git third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build |
64690 |
index 0e5991cffd44..8c91c74e87f1 100644 |
65325 |
index d09a4aed3ab5..8d6c549ef978 100644 |
64691 |
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build |
65326 |
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build |
64692 |
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build |
65327 |
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build |
64693 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65328 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64694 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65329 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64695 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
65330 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 64896-64906
index 0e5991cffd44..8c91c74e87f1 100644
Link Here
|
64896 |
- DEFINES["_GNU_SOURCE"] = True |
65531 |
- DEFINES["_GNU_SOURCE"] = True |
64897 |
+ DEFINES["USE_X11"] = "1" |
65532 |
+ DEFINES["USE_X11"] = "1" |
64898 |
|
65533 |
|
64899 |
Library("frame_delay_variation_kalman_filter_gn") |
65534 |
Library("scalable_video_controller_gn") |
64900 |
diff --git third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build |
65535 |
diff --git third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build |
64901 |
index a311c4a8024c..72c2e8f95f30 100644 |
65536 |
index 2bd3634ba957..a7a401eb155d 100644 |
64902 |
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build |
65537 |
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build |
64903 |
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build |
65538 |
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build |
64904 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65539 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
64905 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65540 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
64906 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
65541 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 64923-64929
index a311c4a8024c..72c2e8f95f30 100644
Link Here
|
64923 |
|
65558 |
|
64924 |
FINAL_LIBRARY = "xul" |
65559 |
FINAL_LIBRARY = "xul" |
64925 |
|
65560 |
|
64926 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
65561 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
64927 |
if CONFIG["MOZ_DEBUG"] == "1": |
65562 |
if CONFIG["MOZ_DEBUG"] == "1": |
64928 |
|
65563 |
|
64929 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
65564 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 65011-65016
index a311c4a8024c..72c2e8f95f30 100644
Link Here
|
65011 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
65646 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
65012 |
- DEFINES["_WINDOWS"] = True |
65647 |
- DEFINES["_WINDOWS"] = True |
65013 |
- DEFINES["__STD_C"] = True |
65648 |
- DEFINES["__STD_C"] = True |
|
|
65649 |
- |
65650 |
- OS_LIBS += [ |
65651 |
- "crypt32", |
65652 |
- "iphlpapi", |
65653 |
- "secur32", |
65654 |
- "winmm" |
65655 |
- ] |
65014 |
+ DEFINES["_DEBUG"] = True |
65656 |
+ DEFINES["_DEBUG"] = True |
65015 |
|
65657 |
|
65016 |
if CONFIG["TARGET_CPU"] == "aarch64": |
65658 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 65107-65117
index a311c4a8024c..72c2e8f95f30 100644
Link Here
|
65107 |
- DEFINES["_GNU_SOURCE"] = True |
65749 |
- DEFINES["_GNU_SOURCE"] = True |
65108 |
+ DEFINES["USE_X11"] = "1" |
65750 |
+ DEFINES["USE_X11"] = "1" |
65109 |
|
65751 |
|
65110 |
Library("inter_frame_delay_variation_calculator_gn") |
65752 |
Library("svc_rate_allocator_gn") |
65111 |
diff --git third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build |
65753 |
diff --git third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build |
65112 |
index 6d87c74bd732..42312fbebab1 100644 |
65754 |
index 9c48932149b9..8bbe558a2477 100644 |
65113 |
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build |
65755 |
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build |
65114 |
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build |
65756 |
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build |
65115 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65757 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65116 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65758 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65117 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
65759 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 65134-65140
index 6d87c74bd732..42312fbebab1 100644
Link Here
|
65134 |
|
65776 |
|
65135 |
FINAL_LIBRARY = "xul" |
65777 |
FINAL_LIBRARY = "xul" |
65136 |
|
65778 |
|
65137 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
65779 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
65138 |
if CONFIG["MOZ_DEBUG"] == "1": |
65780 |
if CONFIG["MOZ_DEBUG"] == "1": |
65139 |
|
65781 |
|
65140 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
65782 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 65182-65191
index 6d87c74bd732..42312fbebab1 100644
Link Here
|
65182 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
65824 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
65183 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
65825 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
65184 |
- |
65826 |
- |
65185 |
- OS_LIBS += [ |
|
|
65186 |
- "rt" |
65187 |
- ] |
65188 |
- |
65189 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
65827 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
65190 |
- |
65828 |
- |
65191 |
- DEFINES["USE_GLIB"] = "1" |
65829 |
- DEFINES["USE_GLIB"] = "1" |
Lines 65226-65238
index 6d87c74bd732..42312fbebab1 100644
Link Here
|
65226 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
65864 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
65227 |
- DEFINES["_WINDOWS"] = True |
65865 |
- DEFINES["_WINDOWS"] = True |
65228 |
- DEFINES["__STD_C"] = True |
65866 |
- DEFINES["__STD_C"] = True |
65229 |
- |
|
|
65230 |
- OS_LIBS += [ |
65231 |
- "crypt32", |
65232 |
- "iphlpapi", |
65233 |
- "secur32", |
65234 |
- "winmm" |
65235 |
- ] |
65236 |
+ DEFINES["_DEBUG"] = True |
65867 |
+ DEFINES["_DEBUG"] = True |
65237 |
|
65868 |
|
65238 |
if CONFIG["TARGET_CPU"] == "aarch64": |
65869 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 65329-65339
index 6d87c74bd732..42312fbebab1 100644
Link Here
|
65329 |
- DEFINES["_GNU_SOURCE"] = True |
65960 |
- DEFINES["_GNU_SOURCE"] = True |
65330 |
+ DEFINES["USE_X11"] = "1" |
65961 |
+ DEFINES["USE_X11"] = "1" |
65331 |
|
65962 |
|
65332 |
Library("jitter_estimator_gn") |
65963 |
Library("decode_time_percentile_filter_gn") |
65333 |
diff --git third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build |
65964 |
diff --git third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build |
65334 |
index e05eebc11f52..362ec70ca4a8 100644 |
65965 |
index 0e5991cffd44..8c91c74e87f1 100644 |
65335 |
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build |
65966 |
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build |
65336 |
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build |
65967 |
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build |
65337 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65968 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65338 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65969 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65339 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
65970 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 65540-65550
index e05eebc11f52..362ec70ca4a8 100644
Link Here
|
65540 |
- DEFINES["_GNU_SOURCE"] = True |
66171 |
- DEFINES["_GNU_SOURCE"] = True |
65541 |
+ DEFINES["USE_X11"] = "1" |
66172 |
+ DEFINES["USE_X11"] = "1" |
65542 |
|
66173 |
|
65543 |
Library("rtt_filter_gn") |
66174 |
Library("frame_delay_variation_kalman_filter_gn") |
65544 |
diff --git third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build |
66175 |
diff --git third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build |
65545 |
index 10e36ea24cf2..f02054e9631b 100644 |
66176 |
index a311c4a8024c..72c2e8f95f30 100644 |
65546 |
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build |
66177 |
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build |
65547 |
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build |
66178 |
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build |
65548 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
66179 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65549 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
66180 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65550 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
66181 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 65751-65761
index 10e36ea24cf2..f02054e9631b 100644
Link Here
|
65751 |
- DEFINES["_GNU_SOURCE"] = True |
66382 |
- DEFINES["_GNU_SOURCE"] = True |
65752 |
+ DEFINES["USE_X11"] = "1" |
66383 |
+ DEFINES["USE_X11"] = "1" |
65753 |
|
66384 |
|
65754 |
Library("timestamp_extrapolator_gn") |
66385 |
Library("inter_frame_delay_variation_calculator_gn") |
65755 |
diff --git third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build |
66386 |
diff --git third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build |
65756 |
index 2ab95ef62991..4f51ffc604ee 100644 |
66387 |
index 6d87c74bd732..42312fbebab1 100644 |
65757 |
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build |
66388 |
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build |
65758 |
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build |
66389 |
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build |
65759 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
66390 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65760 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
66391 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65761 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
66392 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 65973-65983
index 2ab95ef62991..4f51ffc604ee 100644
Link Here
|
65973 |
- DEFINES["_GNU_SOURCE"] = True |
66604 |
- DEFINES["_GNU_SOURCE"] = True |
65974 |
+ DEFINES["USE_X11"] = "1" |
66605 |
+ DEFINES["USE_X11"] = "1" |
65975 |
|
66606 |
|
65976 |
Library("timing_module_gn") |
66607 |
Library("jitter_estimator_gn") |
65977 |
diff --git third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build |
66608 |
diff --git third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build |
65978 |
index 0e18b1aecaed..838e14e931d2 100644 |
66609 |
index e05eebc11f52..362ec70ca4a8 100644 |
65979 |
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build |
66610 |
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build |
65980 |
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build |
66611 |
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build |
65981 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
66612 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
65982 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
66613 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
65983 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
66614 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 66000-66006
index 0e18b1aecaed..838e14e931d2 100644
Link Here
|
66000 |
|
66631 |
|
66001 |
FINAL_LIBRARY = "xul" |
66632 |
FINAL_LIBRARY = "xul" |
66002 |
|
66633 |
|
66003 |
@@ -45,185 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: |
66634 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
66004 |
if CONFIG["MOZ_DEBUG"] == "1": |
66635 |
if CONFIG["MOZ_DEBUG"] == "1": |
66005 |
|
66636 |
|
66006 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
66637 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 66088-66100
index 0e18b1aecaed..838e14e931d2 100644
Link Here
|
66088 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
66719 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
66089 |
- DEFINES["_WINDOWS"] = True |
66720 |
- DEFINES["_WINDOWS"] = True |
66090 |
- DEFINES["__STD_C"] = True |
66721 |
- DEFINES["__STD_C"] = True |
66091 |
- |
|
|
66092 |
- OS_LIBS += [ |
66093 |
- "crypt32", |
66094 |
- "iphlpapi", |
66095 |
- "secur32", |
66096 |
- "winmm" |
66097 |
- ] |
66098 |
+ DEFINES["_DEBUG"] = True |
66722 |
+ DEFINES["_DEBUG"] = True |
66099 |
|
66723 |
|
66100 |
if CONFIG["TARGET_CPU"] == "aarch64": |
66724 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 66191-66201
index 0e18b1aecaed..838e14e931d2 100644
Link Here
|
66191 |
- DEFINES["_GNU_SOURCE"] = True |
66815 |
- DEFINES["_GNU_SOURCE"] = True |
66192 |
+ DEFINES["USE_X11"] = "1" |
66816 |
+ DEFINES["USE_X11"] = "1" |
66193 |
|
66817 |
|
66194 |
Library("video_codec_interface_gn") |
66818 |
Library("rtt_filter_gn") |
66195 |
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build |
66819 |
diff --git third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build |
66196 |
index 01a6429d0cdf..9e61bd48387a 100644 |
66820 |
index 10e36ea24cf2..f02054e9631b 100644 |
66197 |
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build |
66821 |
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build |
66198 |
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build |
66822 |
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build |
66199 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
66823 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
66200 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
66824 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
66201 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
66825 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 66218-66224
index 01a6429d0cdf..9e61bd48387a 100644
Link Here
|
66218 |
|
66842 |
|
66219 |
FINAL_LIBRARY = "xul" |
66843 |
FINAL_LIBRARY = "xul" |
66220 |
|
66844 |
|
66221 |
@@ -56,190 +66,32 @@ if not CONFIG["MOZ_DEBUG"]: |
66845 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
66222 |
if CONFIG["MOZ_DEBUG"] == "1": |
66846 |
if CONFIG["MOZ_DEBUG"] == "1": |
66223 |
|
66847 |
|
66224 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
66848 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 66238-66244
index 01a6429d0cdf..9e61bd48387a 100644
Link Here
|
66238 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
66862 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
66239 |
- |
66863 |
- |
66240 |
- OS_LIBS += [ |
66864 |
- OS_LIBS += [ |
66241 |
- "GLESv2", |
|
|
66242 |
- "log" |
66865 |
- "log" |
66243 |
- ] |
66866 |
- ] |
66244 |
- |
66867 |
- |
Lines 66267-66276
index 01a6429d0cdf..9e61bd48387a 100644
Link Here
|
66267 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
66890 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
66268 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
66891 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
66269 |
- |
66892 |
- |
66270 |
- OS_LIBS += [ |
|
|
66271 |
- "rt" |
66272 |
- ] |
66273 |
- |
66274 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
66893 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
66275 |
- |
66894 |
- |
66276 |
- DEFINES["USE_GLIB"] = "1" |
66895 |
- DEFINES["USE_GLIB"] = "1" |
Lines 66311-66323
index 01a6429d0cdf..9e61bd48387a 100644
Link Here
|
66311 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
66930 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
66312 |
- DEFINES["_WINDOWS"] = True |
66931 |
- DEFINES["_WINDOWS"] = True |
66313 |
- DEFINES["__STD_C"] = True |
66932 |
- DEFINES["__STD_C"] = True |
66314 |
- |
|
|
66315 |
- OS_LIBS += [ |
66316 |
- "crypt32", |
66317 |
- "iphlpapi", |
66318 |
- "secur32", |
66319 |
- "winmm" |
66320 |
- ] |
66321 |
+ DEFINES["_DEBUG"] = True |
66933 |
+ DEFINES["_DEBUG"] = True |
66322 |
|
66934 |
|
66323 |
if CONFIG["TARGET_CPU"] == "aarch64": |
66935 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 66414-66424
index 01a6429d0cdf..9e61bd48387a 100644
Link Here
|
66414 |
- DEFINES["_GNU_SOURCE"] = True |
67026 |
- DEFINES["_GNU_SOURCE"] = True |
66415 |
+ DEFINES["USE_X11"] = "1" |
67027 |
+ DEFINES["USE_X11"] = "1" |
66416 |
|
67028 |
|
66417 |
Library("video_coding_gn") |
67029 |
Library("timestamp_extrapolator_gn") |
66418 |
diff --git third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build |
67030 |
diff --git third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build |
66419 |
index 75698c304f78..89bf22a8c48f 100644 |
67031 |
index 2ab95ef62991..4f51ffc604ee 100644 |
66420 |
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build |
67032 |
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build |
66421 |
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build |
67033 |
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build |
66422 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
67034 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
66423 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67035 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
66424 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
67036 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 66441-66447
index 75698c304f78..89bf22a8c48f 100644
Link Here
|
66441 |
|
67053 |
|
66442 |
FINAL_LIBRARY = "xul" |
67054 |
FINAL_LIBRARY = "xul" |
66443 |
|
67055 |
|
66444 |
@@ -54,190 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67056 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
66445 |
if CONFIG["MOZ_DEBUG"] == "1": |
67057 |
if CONFIG["MOZ_DEBUG"] == "1": |
66446 |
|
67058 |
|
66447 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
67059 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 66461-66467
index 75698c304f78..89bf22a8c48f 100644
Link Here
|
66461 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67073 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
66462 |
- |
67074 |
- |
66463 |
- OS_LIBS += [ |
67075 |
- OS_LIBS += [ |
66464 |
- "GLESv2", |
|
|
66465 |
- "log" |
67076 |
- "log" |
66466 |
- ] |
67077 |
- ] |
66467 |
- |
67078 |
- |
Lines 66637-66648
index 75698c304f78..89bf22a8c48f 100644
Link Here
|
66637 |
- DEFINES["_GNU_SOURCE"] = True |
67248 |
- DEFINES["_GNU_SOURCE"] = True |
66638 |
+ DEFINES["USE_X11"] = "1" |
67249 |
+ DEFINES["USE_X11"] = "1" |
66639 |
|
67250 |
|
66640 |
Library("video_coding_utility_gn") |
67251 |
Library("timing_module_gn") |
66641 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build |
67252 |
diff --git third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build |
66642 |
index ce59cc861c99..d9cbac447de8 100644 |
67253 |
index 0e18b1aecaed..838e14e931d2 100644 |
66643 |
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build |
67254 |
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build |
66644 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build |
67255 |
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build |
66645 |
@@ -15,11 +15,21 @@ AllowCompilerWarnings() |
67256 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
66646 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67257 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
66647 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
67258 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
66648 |
DEFINES["RTC_ENABLE_VP9"] = True |
67259 |
DEFINES["RTC_ENABLE_VP9"] = True |
Lines 66664-66670
index ce59cc861c99..d9cbac447de8 100644
Link Here
|
66664 |
|
67275 |
|
66665 |
FINAL_LIBRARY = "xul" |
67276 |
FINAL_LIBRARY = "xul" |
66666 |
|
67277 |
|
66667 |
@@ -46,178 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67278 |
@@ -45,185 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: |
66668 |
if CONFIG["MOZ_DEBUG"] == "1": |
67279 |
if CONFIG["MOZ_DEBUG"] == "1": |
66669 |
|
67280 |
|
66670 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
67281 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 66752-66757
index ce59cc861c99..d9cbac447de8 100644
Link Here
|
66752 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
67363 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
66753 |
- DEFINES["_WINDOWS"] = True |
67364 |
- DEFINES["_WINDOWS"] = True |
66754 |
- DEFINES["__STD_C"] = True |
67365 |
- DEFINES["__STD_C"] = True |
|
|
67366 |
- |
67367 |
- OS_LIBS += [ |
67368 |
- "crypt32", |
67369 |
- "iphlpapi", |
67370 |
- "secur32", |
67371 |
- "winmm" |
67372 |
- ] |
66755 |
+ DEFINES["_DEBUG"] = True |
67373 |
+ DEFINES["_DEBUG"] = True |
66756 |
|
67374 |
|
66757 |
if CONFIG["TARGET_CPU"] == "aarch64": |
67375 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 66848-66859
index ce59cc861c99..d9cbac447de8 100644
Link Here
|
66848 |
- DEFINES["_GNU_SOURCE"] = True |
67466 |
- DEFINES["_GNU_SOURCE"] = True |
66849 |
+ DEFINES["USE_X11"] = "1" |
67467 |
+ DEFINES["USE_X11"] = "1" |
66850 |
|
67468 |
|
66851 |
Library("webrtc_libvpx_interface_gn") |
67469 |
Library("video_codec_interface_gn") |
66852 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
67470 |
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build |
66853 |
index 352458cf8e21..965ef96422be 100644 |
67471 |
index 01a6429d0cdf..9e61bd48387a 100644 |
66854 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
67472 |
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build |
66855 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
67473 |
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build |
66856 |
@@ -15,11 +15,21 @@ AllowCompilerWarnings() |
67474 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
66857 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67475 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
66858 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
67476 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
66859 |
DEFINES["RTC_ENABLE_VP9"] = True |
67477 |
DEFINES["RTC_ENABLE_VP9"] = True |
Lines 66875-66881
index 352458cf8e21..965ef96422be 100644
Link Here
|
66875 |
|
67493 |
|
66876 |
FINAL_LIBRARY = "xul" |
67494 |
FINAL_LIBRARY = "xul" |
66877 |
|
67495 |
|
66878 |
@@ -49,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67496 |
@@ -56,190 +66,32 @@ if not CONFIG["MOZ_DEBUG"]: |
66879 |
if CONFIG["MOZ_DEBUG"] == "1": |
67497 |
if CONFIG["MOZ_DEBUG"] == "1": |
66880 |
|
67498 |
|
66881 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
67499 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 67071-67081
index 352458cf8e21..965ef96422be 100644
Link Here
|
67071 |
- DEFINES["_GNU_SOURCE"] = True |
67689 |
- DEFINES["_GNU_SOURCE"] = True |
67072 |
+ DEFINES["USE_X11"] = "1" |
67690 |
+ DEFINES["USE_X11"] = "1" |
67073 |
|
67691 |
|
67074 |
Library("webrtc_vp8_gn") |
67692 |
Library("video_coding_gn") |
67075 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build |
67693 |
diff --git third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build |
67076 |
index 0338ba659e01..f1da16b805a7 100644 |
67694 |
index 75698c304f78..89bf22a8c48f 100644 |
67077 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build |
67695 |
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build |
67078 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build |
67696 |
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build |
67079 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
67697 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
67080 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67698 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67081 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
67699 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 67098-67104
index 0338ba659e01..f1da16b805a7 100644
Link Here
|
67098 |
|
67716 |
|
67099 |
FINAL_LIBRARY = "xul" |
67717 |
FINAL_LIBRARY = "xul" |
67100 |
|
67718 |
|
67101 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67719 |
@@ -54,190 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67102 |
if CONFIG["MOZ_DEBUG"] == "1": |
67720 |
if CONFIG["MOZ_DEBUG"] == "1": |
67103 |
|
67721 |
|
67104 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
67722 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 67118-67123
index 0338ba659e01..f1da16b805a7 100644
Link Here
|
67118 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67736 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67119 |
- |
67737 |
- |
67120 |
- OS_LIBS += [ |
67738 |
- OS_LIBS += [ |
|
|
67739 |
- "GLESv2", |
67121 |
- "log" |
67740 |
- "log" |
67122 |
- ] |
67741 |
- ] |
67123 |
- |
67742 |
- |
Lines 67145-67366
index 0338ba659e01..f1da16b805a7 100644
Link Here
|
67145 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
67764 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
67146 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67765 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67147 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67766 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67148 |
- |
67767 |
- |
67149 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
67768 |
- OS_LIBS += [ |
67150 |
- |
67769 |
- "rt" |
67151 |
- DEFINES["USE_GLIB"] = "1" |
67770 |
- ] |
67152 |
- DEFINES["USE_OZONE"] = "1" |
|
|
67153 |
- DEFINES["USE_X11"] = "1" |
67154 |
- DEFINES["WEBRTC_BSD"] = True |
67155 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
67156 |
- DEFINES["WEBRTC_POSIX"] = True |
67157 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
67158 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
67159 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
67160 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67161 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67162 |
- |
67163 |
-if CONFIG["OS_TARGET"] == "WINNT": |
67164 |
- |
67165 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
67166 |
- DEFINES["NOMINMAX"] = True |
67167 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
67168 |
- DEFINES["PSAPI_VERSION"] = "2" |
67169 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
67170 |
- DEFINES["UNICODE"] = True |
67171 |
- DEFINES["USE_AURA"] = "1" |
67172 |
- DEFINES["WEBRTC_WIN"] = True |
67173 |
- DEFINES["WIN32"] = True |
67174 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
67175 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
67176 |
- DEFINES["WINVER"] = "0x0A00" |
67177 |
- DEFINES["_ATL_NO_OPENGL"] = True |
67178 |
- DEFINES["_CRT_RAND_S"] = True |
67179 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
67180 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
67181 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
67182 |
- DEFINES["_HAS_NODISCARD"] = True |
67183 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
67184 |
- DEFINES["_SECURE_ATL"] = True |
67185 |
- DEFINES["_UNICODE"] = True |
67186 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
67187 |
- DEFINES["_WINDOWS"] = True |
67188 |
- DEFINES["__STD_C"] = True |
67189 |
+ DEFINES["_DEBUG"] = True |
67190 |
|
67191 |
if CONFIG["TARGET_CPU"] == "aarch64": |
67192 |
|
67193 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
67194 |
DEFINES["WEBRTC_HAS_NEON"] = True |
67195 |
|
67196 |
-if CONFIG["TARGET_CPU"] == "arm": |
67197 |
- |
67198 |
- CXXFLAGS += [ |
67199 |
- "-mfpu=neon" |
67200 |
- ] |
67201 |
- |
67202 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
67203 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
67204 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
67205 |
- |
67206 |
if CONFIG["TARGET_CPU"] == "mips32": |
67207 |
|
67208 |
DEFINES["MIPS32_LE"] = True |
67209 |
DEFINES["MIPS_FPU_LE"] = True |
67210 |
- DEFINES["_GNU_SOURCE"] = True |
67211 |
- |
67212 |
-if CONFIG["TARGET_CPU"] == "mips64": |
67213 |
- |
67214 |
- DEFINES["_GNU_SOURCE"] = True |
67215 |
|
67216 |
if CONFIG["TARGET_CPU"] == "x86": |
67217 |
|
67218 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
67219 |
- |
67220 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
67221 |
- |
67222 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
67223 |
- |
67224 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
67225 |
- |
67226 |
- DEFINES["_DEBUG"] = True |
67227 |
- |
67228 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
67229 |
- |
67230 |
- DEFINES["_DEBUG"] = True |
67231 |
- |
67232 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
67233 |
- |
67234 |
- DEFINES["_DEBUG"] = True |
67235 |
- |
67236 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
67237 |
- |
67238 |
- DEFINES["_DEBUG"] = True |
67239 |
- |
67240 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
67241 |
- |
67242 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
67243 |
- |
67244 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
67245 |
- |
67246 |
- DEFINES["USE_X11"] = "1" |
67247 |
- |
67248 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
67249 |
- |
67250 |
- OS_LIBS += [ |
67251 |
- "unwind" |
67252 |
- ] |
67253 |
- |
67254 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
67255 |
- |
67256 |
CXXFLAGS += [ |
67257 |
"-msse2" |
67258 |
] |
67259 |
|
67260 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
67261 |
- |
67262 |
- DEFINES["_GNU_SOURCE"] = True |
67263 |
- |
67264 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
67265 |
- |
67266 |
- DEFINES["_GNU_SOURCE"] = True |
67267 |
- |
67268 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
67269 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
67270 |
|
67271 |
- CXXFLAGS += [ |
67272 |
- "-msse2" |
67273 |
- ] |
67274 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
67275 |
|
67276 |
- DEFINES["_GNU_SOURCE"] = True |
67277 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
67278 |
|
67279 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
67280 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
67281 |
|
67282 |
- DEFINES["_GNU_SOURCE"] = True |
67283 |
+ DEFINES["USE_X11"] = "1" |
67284 |
|
67285 |
Library("webrtc_vp8_scalability_gn") |
67286 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build |
67287 |
index d7ae0d5805b3..9ebd70792c7b 100644 |
67288 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build |
67289 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build |
67290 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
67291 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67292 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
67293 |
DEFINES["RTC_ENABLE_VP9"] = True |
67294 |
+DEFINES["USE_GLIB"] = "1" |
67295 |
+DEFINES["USE_OZONE"] = "1" |
67296 |
+DEFINES["WEBRTC_BSD"] = True |
67297 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
67298 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
67299 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
67300 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
67301 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
67302 |
+DEFINES["WEBRTC_POSIX"] = True |
67303 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
67304 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
67305 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
67306 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
67307 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
67308 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
67309 |
|
67310 |
FINAL_LIBRARY = "xul" |
67311 |
|
67312 |
@@ -48,190 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67313 |
if CONFIG["MOZ_DEBUG"] == "1": |
67314 |
|
67315 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
67316 |
- |
67317 |
-if CONFIG["OS_TARGET"] == "Android": |
67318 |
- |
67319 |
- DEFINES["ANDROID"] = True |
67320 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
67321 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
67322 |
- DEFINES["WEBRTC_ANDROID"] = True |
67323 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
67324 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
67325 |
- DEFINES["WEBRTC_LINUX"] = True |
67326 |
- DEFINES["WEBRTC_POSIX"] = True |
67327 |
- DEFINES["_GNU_SOURCE"] = True |
67328 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67329 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67330 |
- |
67331 |
- OS_LIBS += [ |
67332 |
- "GLESv2", |
67333 |
- "log" |
67334 |
- ] |
67335 |
- |
67336 |
-if CONFIG["OS_TARGET"] == "Darwin": |
67337 |
- |
67338 |
- DEFINES["WEBRTC_MAC"] = True |
67339 |
- DEFINES["WEBRTC_POSIX"] = True |
67340 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
67341 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
67342 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67343 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67344 |
- |
67345 |
-if CONFIG["OS_TARGET"] == "Linux": |
67346 |
- |
67347 |
- DEFINES["USE_AURA"] = "1" |
67348 |
- DEFINES["USE_GLIB"] = "1" |
67349 |
- DEFINES["USE_NSS_CERTS"] = "1" |
67350 |
- DEFINES["USE_OZONE"] = "1" |
67351 |
- DEFINES["USE_UDEV"] = True |
67352 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
67353 |
- DEFINES["WEBRTC_LINUX"] = True |
67354 |
- DEFINES["WEBRTC_POSIX"] = True |
67355 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
67356 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
67357 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
67358 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67359 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67360 |
- |
67361 |
- OS_LIBS += [ |
67362 |
- "rt" |
67363 |
- ] |
67364 |
- |
67771 |
- |
67365 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
67772 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
67366 |
- |
67773 |
- |
Lines 67505-67515
index d7ae0d5805b3..9ebd70792c7b 100644
Link Here
|
67505 |
- DEFINES["_GNU_SOURCE"] = True |
67912 |
- DEFINES["_GNU_SOURCE"] = True |
67506 |
+ DEFINES["USE_X11"] = "1" |
67913 |
+ DEFINES["USE_X11"] = "1" |
67507 |
|
67914 |
|
67508 |
Library("webrtc_vp8_temporal_layers_gn") |
67915 |
Library("video_coding_utility_gn") |
67509 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
67916 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build |
67510 |
index c0d16a8e5163..1cf6175508db 100644 |
67917 |
index ce59cc861c99..d9cbac447de8 100644 |
67511 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
67918 |
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build |
67512 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
67919 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build |
67513 |
@@ -15,11 +15,21 @@ AllowCompilerWarnings() |
67920 |
@@ -15,11 +15,21 @@ AllowCompilerWarnings() |
67514 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67921 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67515 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
67922 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 67532-67538
index c0d16a8e5163..1cf6175508db 100644
Link Here
|
67532 |
|
67939 |
|
67533 |
FINAL_LIBRARY = "xul" |
67940 |
FINAL_LIBRARY = "xul" |
67534 |
|
67941 |
|
67535 |
@@ -51,190 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67942 |
@@ -46,178 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67536 |
if CONFIG["MOZ_DEBUG"] == "1": |
67943 |
if CONFIG["MOZ_DEBUG"] == "1": |
67537 |
|
67944 |
|
67538 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
67945 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 67552-67558
index c0d16a8e5163..1cf6175508db 100644
Link Here
|
67552 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67959 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67553 |
- |
67960 |
- |
67554 |
- OS_LIBS += [ |
67961 |
- OS_LIBS += [ |
67555 |
- "GLESv2", |
|
|
67556 |
- "log" |
67962 |
- "log" |
67557 |
- ] |
67963 |
- ] |
67558 |
- |
67964 |
- |
Lines 67581-67590
index c0d16a8e5163..1cf6175508db 100644
Link Here
|
67581 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67987 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67582 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67988 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67583 |
- |
67989 |
- |
67584 |
- OS_LIBS += [ |
|
|
67585 |
- "rt" |
67586 |
- ] |
67587 |
- |
67588 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
67990 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
67589 |
- |
67991 |
- |
67590 |
- DEFINES["USE_GLIB"] = "1" |
67992 |
- DEFINES["USE_GLIB"] = "1" |
Lines 67625-67637
index c0d16a8e5163..1cf6175508db 100644
Link Here
|
67625 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
68027 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
67626 |
- DEFINES["_WINDOWS"] = True |
68028 |
- DEFINES["_WINDOWS"] = True |
67627 |
- DEFINES["__STD_C"] = True |
68029 |
- DEFINES["__STD_C"] = True |
67628 |
- |
|
|
67629 |
- OS_LIBS += [ |
67630 |
- "crypt32", |
67631 |
- "iphlpapi", |
67632 |
- "secur32", |
67633 |
- "winmm" |
67634 |
- ] |
67635 |
+ DEFINES["_DEBUG"] = True |
68030 |
+ DEFINES["_DEBUG"] = True |
67636 |
|
68031 |
|
67637 |
if CONFIG["TARGET_CPU"] == "aarch64": |
68032 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 67728-67739
index c0d16a8e5163..1cf6175508db 100644
Link Here
|
67728 |
- DEFINES["_GNU_SOURCE"] = True |
68123 |
- DEFINES["_GNU_SOURCE"] = True |
67729 |
+ DEFINES["USE_X11"] = "1" |
68124 |
+ DEFINES["USE_X11"] = "1" |
67730 |
|
68125 |
|
67731 |
Library("webrtc_vp9_gn") |
68126 |
Library("webrtc_libvpx_interface_gn") |
67732 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build |
68127 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
67733 |
index 6abd453136c9..c0f5ab3b81ef 100644 |
68128 |
index 352458cf8e21..965ef96422be 100644 |
67734 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build |
68129 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
67735 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build |
68130 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
67736 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
68131 |
@@ -15,11 +15,21 @@ AllowCompilerWarnings() |
67737 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
68132 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
67738 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
68133 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
67739 |
DEFINES["RTC_ENABLE_VP9"] = True |
68134 |
DEFINES["RTC_ENABLE_VP9"] = True |
Lines 67755-67761
index 6abd453136c9..c0f5ab3b81ef 100644
Link Here
|
67755 |
|
68150 |
|
67756 |
FINAL_LIBRARY = "xul" |
68151 |
FINAL_LIBRARY = "xul" |
67757 |
|
68152 |
|
67758 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
68153 |
@@ -49,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: |
67759 |
if CONFIG["MOZ_DEBUG"] == "1": |
68154 |
if CONFIG["MOZ_DEBUG"] == "1": |
67760 |
|
68155 |
|
67761 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
68156 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 67775-67780
index 6abd453136c9..c0f5ab3b81ef 100644
Link Here
|
67775 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68170 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67776 |
- |
68171 |
- |
67777 |
- OS_LIBS += [ |
68172 |
- OS_LIBS += [ |
|
|
68173 |
- "GLESv2", |
67778 |
- "log" |
68174 |
- "log" |
67779 |
- ] |
68175 |
- ] |
67780 |
- |
68176 |
- |
Lines 67803-67808
index 6abd453136c9..c0f5ab3b81ef 100644
Link Here
|
67803 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
68199 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
67804 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68200 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
67805 |
- |
68201 |
- |
|
|
68202 |
- OS_LIBS += [ |
68203 |
- "rt" |
68204 |
- ] |
68205 |
- |
67806 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
68206 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
67807 |
- |
68207 |
- |
67808 |
- DEFINES["USE_GLIB"] = "1" |
68208 |
- DEFINES["USE_GLIB"] = "1" |
Lines 67946-68211
index 6abd453136c9..c0f5ab3b81ef 100644
Link Here
|
67946 |
- DEFINES["_GNU_SOURCE"] = True |
68346 |
- DEFINES["_GNU_SOURCE"] = True |
67947 |
+ DEFINES["USE_X11"] = "1" |
68347 |
+ DEFINES["USE_X11"] = "1" |
67948 |
|
68348 |
|
67949 |
Library("webrtc_vp9_helpers_gn") |
68349 |
Library("webrtc_vp8_gn") |
67950 |
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build |
68350 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build |
67951 |
index b047107d3dc7..64d5359f0f0c 100644 |
68351 |
index 0338ba659e01..f1da16b805a7 100644 |
67952 |
--- third_party/libwebrtc/moz.build |
68352 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build |
67953 |
+++ third_party/libwebrtc/moz.build |
68353 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build |
67954 |
@@ -273,6 +273,8 @@ DIRS += [ |
|
|
67955 |
"/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn", |
67956 |
"/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn", |
67957 |
"/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn", |
67958 |
+ "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
67959 |
+ "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
67960 |
"/third_party/libwebrtc/modules/module_api_gn", |
67961 |
"/third_party/libwebrtc/modules/module_api_public_gn", |
67962 |
"/third_party/libwebrtc/modules/module_fec_api_gn", |
67963 |
@@ -473,102 +475,11 @@ DIRS += [ |
67964 |
"/third_party/libwebrtc/webrtc_gn" |
67965 |
] |
67966 |
|
67967 |
-if CONFIG["OS_TARGET"] == "Android": |
67968 |
- |
67969 |
- DIRS += [ |
67970 |
- "/third_party/libwebrtc/rtc_base/ifaddrs_android_gn" |
67971 |
- ] |
67972 |
- |
67973 |
-if CONFIG["OS_TARGET"] == "Darwin": |
67974 |
- |
67975 |
- DIRS += [ |
67976 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
67977 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn", |
67978 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
67979 |
- "/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn", |
67980 |
- "/third_party/libwebrtc/rtc_base/system/gcd_helpers_gn", |
67981 |
- "/third_party/libwebrtc/sdk/base_objc_gn", |
67982 |
- "/third_party/libwebrtc/sdk/helpers_objc_gn", |
67983 |
- "/third_party/libwebrtc/sdk/videocapture_objc_gn", |
67984 |
- "/third_party/libwebrtc/sdk/videoframebuffer_objc_gn" |
67985 |
- ] |
67986 |
- |
67987 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
67988 |
- |
67989 |
- DIRS += [ |
67990 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
67991 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" |
67992 |
- ] |
67993 |
- |
67994 |
-if CONFIG["OS_TARGET"] == "WINNT": |
67995 |
- |
67996 |
- DIRS += [ |
67997 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
67998 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
67999 |
- "/third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn", |
68000 |
- "/third_party/libwebrtc/rtc_base/win/get_activation_factory_gn", |
68001 |
- "/third_party/libwebrtc/rtc_base/win/hstring_gn", |
68002 |
- "/third_party/libwebrtc/rtc_base/win/windows_version_gn", |
68003 |
- "/third_party/libwebrtc/rtc_base/win32_gn" |
68004 |
- ] |
68005 |
- |
68006 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "aarch64": |
68007 |
- |
68008 |
- DIRS += [ |
68009 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
68010 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" |
68011 |
- ] |
68012 |
- |
68013 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
68014 |
- |
68015 |
- DIRS += [ |
68016 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
68017 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn", |
68018 |
- "/third_party/libwebrtc/rtc_base/system/asm_defines_gn" |
68019 |
- ] |
68020 |
- |
68021 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
68022 |
- |
68023 |
- DIRS += [ |
68024 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
68025 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
68026 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
68027 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn" |
68028 |
- ] |
68029 |
- |
68030 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86_64": |
68031 |
- |
68032 |
- DIRS += [ |
68033 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
68034 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
68035 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
68036 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn" |
68037 |
- ] |
68038 |
- |
68039 |
-if CONFIG["OS_TARGET"] == "Darwin" and CONFIG["TARGET_CPU"] == "aarch64": |
68040 |
- |
68041 |
- DIRS += [ |
68042 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
68043 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" |
68044 |
- ] |
68045 |
- |
68046 |
-if CONFIG["OS_TARGET"] == "Darwin" and CONFIG["TARGET_CPU"] == "x86_64": |
68047 |
- |
68048 |
- DIRS += [ |
68049 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
68050 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
68051 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
68052 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
68053 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" |
68054 |
- ] |
68055 |
- |
68056 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
68057 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "aarch64": |
68058 |
|
68059 |
DIRS += [ |
68060 |
"/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
68061 |
"/third_party/libwebrtc/common_audio/common_audio_neon_gn", |
68062 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
68063 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
68064 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
68065 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
68066 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
68067 |
@@ -576,26 +487,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
68068 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
68069 |
] |
68070 |
|
68071 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
68072 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips32": |
68073 |
|
68074 |
DIRS += [ |
68075 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
68076 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn", |
68077 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
68078 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
68079 |
- "/third_party/libwebrtc/modules/portal/portal_gn", |
68080 |
- "/third_party/libwebrtc/rtc_base/system/asm_defines_gn", |
68081 |
- "/third_party/libwebrtc/third_party/drm/drm_gn", |
68082 |
- "/third_party/libwebrtc/third_party/gbm/gbm_gn", |
68083 |
- "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", |
68084 |
- "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
68085 |
- ] |
68086 |
- |
68087 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": |
68088 |
- |
68089 |
- DIRS += [ |
68090 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
68091 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
68092 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
68093 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
68094 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
68095 |
@@ -603,11 +497,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": |
68096 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
68097 |
] |
68098 |
|
68099 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": |
68100 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips64": |
68101 |
|
68102 |
DIRS += [ |
68103 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
68104 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
68105 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
68106 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
68107 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
68108 |
@@ -615,7 +507,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": |
68109 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
68110 |
] |
68111 |
|
68112 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
68113 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86": |
68114 |
|
68115 |
DIRS += [ |
68116 |
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
68117 |
@@ -623,8 +515,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
68118 |
"/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
68119 |
"/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
68120 |
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
68121 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
68122 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
68123 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
68124 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
68125 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
68126 |
@@ -632,7 +522,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
68127 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
68128 |
] |
68129 |
|
68130 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
68131 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86_64": |
68132 |
|
68133 |
DIRS += [ |
68134 |
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
68135 |
@@ -640,69 +530,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
68136 |
"/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
68137 |
"/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
68138 |
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
68139 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
68140 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
68141 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
68142 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
68143 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
68144 |
"/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", |
68145 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
68146 |
] |
68147 |
- |
68148 |
-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "aarch64": |
68149 |
- |
68150 |
- DIRS += [ |
68151 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
68152 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" |
68153 |
- ] |
68154 |
- |
68155 |
-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "x86_64": |
68156 |
- |
68157 |
- DIRS += [ |
68158 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
68159 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
68160 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
68161 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
68162 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" |
68163 |
- ] |
68164 |
- |
68165 |
-if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64": |
68166 |
- |
68167 |
- DIRS += [ |
68168 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
68169 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" |
68170 |
- ] |
68171 |
- |
68172 |
-if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "x86": |
68173 |
- |
68174 |
- DIRS += [ |
68175 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
68176 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
68177 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
68178 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
68179 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" |
68180 |
- ] |
68181 |
- |
68182 |
-if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "x86_64": |
68183 |
- |
68184 |
- DIRS += [ |
68185 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
68186 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
68187 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
68188 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
68189 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" |
68190 |
- ] |
68191 |
- |
68192 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "ppc64": |
68193 |
- |
68194 |
- DIRS += [ |
68195 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
68196 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" |
68197 |
- ] |
68198 |
- |
68199 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": |
68200 |
- |
68201 |
- DIRS += [ |
68202 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
68203 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" |
68204 |
- ] |
68205 |
diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build |
68206 |
index 415f09cfd1fe..de5b867157f4 100644 |
68207 |
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build |
68208 |
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build |
68209 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
68354 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
68210 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
68355 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
68211 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
68356 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 68228-68234
index 415f09cfd1fe..de5b867157f4 100644
Link Here
|
68228 |
|
68373 |
|
68229 |
FINAL_LIBRARY = "xul" |
68374 |
FINAL_LIBRARY = "xul" |
68230 |
|
68375 |
|
68231 |
@@ -43,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
68376 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
68232 |
if CONFIG["MOZ_DEBUG"] == "1": |
68377 |
if CONFIG["MOZ_DEBUG"] == "1": |
68233 |
|
68378 |
|
68234 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
68379 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 68248-68254
index 415f09cfd1fe..de5b867157f4 100644
Link Here
|
68248 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68393 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68249 |
- |
68394 |
- |
68250 |
- OS_LIBS += [ |
68395 |
- OS_LIBS += [ |
68251 |
- "GLESv2", |
|
|
68252 |
- "log" |
68396 |
- "log" |
68253 |
- ] |
68397 |
- ] |
68254 |
- |
68398 |
- |
Lines 68317-68329
index 415f09cfd1fe..de5b867157f4 100644
Link Here
|
68317 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
68461 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
68318 |
- DEFINES["_WINDOWS"] = True |
68462 |
- DEFINES["_WINDOWS"] = True |
68319 |
- DEFINES["__STD_C"] = True |
68463 |
- DEFINES["__STD_C"] = True |
68320 |
- |
|
|
68321 |
- OS_LIBS += [ |
68322 |
- "crypt32", |
68323 |
- "iphlpapi", |
68324 |
- "secur32", |
68325 |
- "winmm" |
68326 |
- ] |
68327 |
+ DEFINES["_DEBUG"] = True |
68464 |
+ DEFINES["_DEBUG"] = True |
68328 |
|
68465 |
|
68329 |
if CONFIG["TARGET_CPU"] == "aarch64": |
68466 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 68420-68430
index 415f09cfd1fe..de5b867157f4 100644
Link Here
|
68420 |
- DEFINES["_GNU_SOURCE"] = True |
68557 |
- DEFINES["_GNU_SOURCE"] = True |
68421 |
+ DEFINES["USE_X11"] = "1" |
68558 |
+ DEFINES["USE_X11"] = "1" |
68422 |
|
68559 |
|
68423 |
Library("async_dns_resolver_gn") |
68560 |
Library("webrtc_vp8_scalability_gn") |
68424 |
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build |
68561 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build |
68425 |
index 9f3ce4d4b600..fb11aa9b0f1c 100644 |
68562 |
index d7ae0d5805b3..9ebd70792c7b 100644 |
68426 |
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build |
68563 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build |
68427 |
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build |
68564 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build |
68428 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
68565 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
68429 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
68566 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
68430 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
68567 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 68447-68453
index 9f3ce4d4b600..fb11aa9b0f1c 100644
Link Here
|
68447 |
|
68584 |
|
68448 |
FINAL_LIBRARY = "xul" |
68585 |
FINAL_LIBRARY = "xul" |
68449 |
|
68586 |
|
68450 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
68587 |
@@ -48,190 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: |
68451 |
if CONFIG["MOZ_DEBUG"] == "1": |
68588 |
if CONFIG["MOZ_DEBUG"] == "1": |
68452 |
|
68589 |
|
68453 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
68590 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 68466-68471
index 9f3ce4d4b600..fb11aa9b0f1c 100644
Link Here
|
68466 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
68603 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
68467 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68604 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68468 |
- |
68605 |
- |
|
|
68606 |
- OS_LIBS += [ |
68607 |
- "GLESv2", |
68608 |
- "log" |
68609 |
- ] |
68610 |
- |
68469 |
-if CONFIG["OS_TARGET"] == "Darwin": |
68611 |
-if CONFIG["OS_TARGET"] == "Darwin": |
68470 |
- |
68612 |
- |
68471 |
- DEFINES["WEBRTC_MAC"] = True |
68613 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 68491-68496
index 9f3ce4d4b600..fb11aa9b0f1c 100644
Link Here
|
68491 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
68633 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
68492 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68634 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68493 |
- |
68635 |
- |
|
|
68636 |
- OS_LIBS += [ |
68637 |
- "rt" |
68638 |
- ] |
68639 |
- |
68494 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
68640 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
68495 |
- |
68641 |
- |
68496 |
- DEFINES["USE_GLIB"] = "1" |
68642 |
- DEFINES["USE_GLIB"] = "1" |
Lines 68531-68536
index 9f3ce4d4b600..fb11aa9b0f1c 100644
Link Here
|
68531 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
68677 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
68532 |
- DEFINES["_WINDOWS"] = True |
68678 |
- DEFINES["_WINDOWS"] = True |
68533 |
- DEFINES["__STD_C"] = True |
68679 |
- DEFINES["__STD_C"] = True |
|
|
68680 |
- |
68681 |
- OS_LIBS += [ |
68682 |
- "crypt32", |
68683 |
- "iphlpapi", |
68684 |
- "secur32", |
68685 |
- "winmm" |
68686 |
- ] |
68534 |
+ DEFINES["_DEBUG"] = True |
68687 |
+ DEFINES["_DEBUG"] = True |
68535 |
|
68688 |
|
68536 |
if CONFIG["TARGET_CPU"] == "aarch64": |
68689 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 68540-68545
index 9f3ce4d4b600..fb11aa9b0f1c 100644
Link Here
|
68540 |
|
68693 |
|
68541 |
-if CONFIG["TARGET_CPU"] == "arm": |
68694 |
-if CONFIG["TARGET_CPU"] == "arm": |
68542 |
- |
68695 |
- |
|
|
68696 |
- CXXFLAGS += [ |
68697 |
- "-mfpu=neon" |
68698 |
- ] |
68699 |
- |
68543 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
68700 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
68544 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
68701 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
68545 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
68702 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 68556-68565
index 9f3ce4d4b600..fb11aa9b0f1c 100644
Link Here
|
68556 |
|
68713 |
|
68557 |
if CONFIG["TARGET_CPU"] == "x86": |
68714 |
if CONFIG["TARGET_CPU"] == "x86": |
68558 |
|
68715 |
|
68559 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
68716 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
68560 |
|
68717 |
- |
68561 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
68718 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
68562 |
|
68719 |
- |
|
|
68720 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
68721 |
- |
68563 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
68722 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
68564 |
- |
68723 |
- |
68565 |
- DEFINES["_DEBUG"] = True |
68724 |
- DEFINES["_DEBUG"] = True |
Lines 68581-68596
index 9f3ce4d4b600..fb11aa9b0f1c 100644
Link Here
|
68581 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
68740 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
68582 |
- |
68741 |
- |
68583 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
68742 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
68584 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
68743 |
- |
68585 |
|
68744 |
- DEFINES["USE_X11"] = "1" |
68586 |
DEFINES["USE_X11"] = "1" |
68745 |
- |
68587 |
|
|
|
68588 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
68746 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
68589 |
- |
68747 |
- |
68590 |
- OS_LIBS += [ |
68748 |
- OS_LIBS += [ |
68591 |
- "unwind" |
68749 |
- "unwind" |
68592 |
- ] |
68750 |
- ] |
68593 |
- |
68751 |
- |
|
|
68752 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
68753 |
- |
68754 |
CXXFLAGS += [ |
68755 |
"-msse2" |
68756 |
] |
68757 |
|
68594 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
68758 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
68595 |
- |
68759 |
- |
68596 |
- DEFINES["_GNU_SOURCE"] = True |
68760 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 68600-68618
index 9f3ce4d4b600..fb11aa9b0f1c 100644
Link Here
|
68600 |
- DEFINES["_GNU_SOURCE"] = True |
68764 |
- DEFINES["_GNU_SOURCE"] = True |
68601 |
- |
68765 |
- |
68602 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
68766 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
68603 |
- |
68767 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
68768 |
|
68769 |
- CXXFLAGS += [ |
68770 |
- "-msse2" |
68771 |
- ] |
68772 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
68773 |
|
68604 |
- DEFINES["_GNU_SOURCE"] = True |
68774 |
- DEFINES["_GNU_SOURCE"] = True |
68605 |
- |
68775 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
68776 |
|
68606 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
68777 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
68607 |
- |
68778 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
68779 |
|
68608 |
- DEFINES["_GNU_SOURCE"] = True |
68780 |
- DEFINES["_GNU_SOURCE"] = True |
68609 |
- |
68781 |
+ DEFINES["USE_X11"] = "1" |
68610 |
Library("async_packet_socket_gn") |
68782 |
|
68611 |
diff --git third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build |
68783 |
Library("webrtc_vp8_temporal_layers_gn") |
68612 |
index 70a2aa730b19..27f099ef7b90 100644 |
68784 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
68613 |
--- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build |
68785 |
index c0d16a8e5163..1cf6175508db 100644 |
68614 |
+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build |
68786 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
68615 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
68787 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
|
|
68788 |
@@ -15,11 +15,21 @@ AllowCompilerWarnings() |
68616 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
68789 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
68617 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
68790 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
68618 |
DEFINES["RTC_ENABLE_VP9"] = True |
68791 |
DEFINES["RTC_ENABLE_VP9"] = True |
Lines 68634-68640
index 70a2aa730b19..27f099ef7b90 100644
Link Here
|
68634 |
|
68807 |
|
68635 |
FINAL_LIBRARY = "xul" |
68808 |
FINAL_LIBRARY = "xul" |
68636 |
|
68809 |
|
68637 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
68810 |
@@ -51,190 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: |
68638 |
if CONFIG["MOZ_DEBUG"] == "1": |
68811 |
if CONFIG["MOZ_DEBUG"] == "1": |
68639 |
|
68812 |
|
68640 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
68813 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 68654-68659
index 70a2aa730b19..27f099ef7b90 100644
Link Here
|
68654 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68827 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68655 |
- |
68828 |
- |
68656 |
- OS_LIBS += [ |
68829 |
- OS_LIBS += [ |
|
|
68830 |
- "GLESv2", |
68657 |
- "log" |
68831 |
- "log" |
68658 |
- ] |
68832 |
- ] |
68659 |
- |
68833 |
- |
Lines 68682-68687
index 70a2aa730b19..27f099ef7b90 100644
Link Here
|
68682 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
68856 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
68683 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68857 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
68684 |
- |
68858 |
- |
|
|
68859 |
- OS_LIBS += [ |
68860 |
- "rt" |
68861 |
- ] |
68862 |
- |
68685 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
68863 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
68686 |
- |
68864 |
- |
68687 |
- DEFINES["USE_GLIB"] = "1" |
68865 |
- DEFINES["USE_GLIB"] = "1" |
Lines 68825-68835
index 70a2aa730b19..27f099ef7b90 100644
Link Here
|
68825 |
- DEFINES["_GNU_SOURCE"] = True |
69003 |
- DEFINES["_GNU_SOURCE"] = True |
68826 |
+ DEFINES["USE_X11"] = "1" |
69004 |
+ DEFINES["USE_X11"] = "1" |
68827 |
|
69005 |
|
68828 |
Library("audio_format_to_string_gn") |
69006 |
Library("webrtc_vp9_gn") |
68829 |
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build |
69007 |
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build |
68830 |
index 3dfd3b19d24b..933e5434bf8c 100644 |
69008 |
index 6abd453136c9..c0f5ab3b81ef 100644 |
68831 |
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build |
69009 |
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build |
68832 |
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build |
69010 |
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build |
68833 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69011 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
68834 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69012 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
68835 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
69013 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 68852-68858
index 3dfd3b19d24b..933e5434bf8c 100644
Link Here
|
68852 |
|
69030 |
|
68853 |
FINAL_LIBRARY = "xul" |
69031 |
FINAL_LIBRARY = "xul" |
68854 |
|
69032 |
|
68855 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
69033 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
68856 |
if CONFIG["MOZ_DEBUG"] == "1": |
69034 |
if CONFIG["MOZ_DEBUG"] == "1": |
68857 |
|
69035 |
|
68858 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
69036 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 68940-68945
index 3dfd3b19d24b..933e5434bf8c 100644
Link Here
|
68940 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
69118 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
68941 |
- DEFINES["_WINDOWS"] = True |
69119 |
- DEFINES["_WINDOWS"] = True |
68942 |
- DEFINES["__STD_C"] = True |
69120 |
- DEFINES["__STD_C"] = True |
|
|
69121 |
- |
69122 |
- OS_LIBS += [ |
69123 |
- "crypt32", |
69124 |
- "iphlpapi", |
69125 |
- "secur32", |
69126 |
- "winmm" |
69127 |
- ] |
68943 |
+ DEFINES["_DEBUG"] = True |
69128 |
+ DEFINES["_DEBUG"] = True |
68944 |
|
69129 |
|
68945 |
if CONFIG["TARGET_CPU"] == "aarch64": |
69130 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 69036-69046
index 3dfd3b19d24b..933e5434bf8c 100644
Link Here
|
69036 |
- DEFINES["_GNU_SOURCE"] = True |
69221 |
- DEFINES["_GNU_SOURCE"] = True |
69037 |
+ DEFINES["USE_X11"] = "1" |
69222 |
+ DEFINES["USE_X11"] = "1" |
69038 |
|
69223 |
|
69039 |
Library("bit_buffer_gn") |
69224 |
Library("webrtc_vp9_helpers_gn") |
69040 |
diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build |
69225 |
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build |
69041 |
index 7b1ba50f99cf..b05e27ad3426 100644 |
69226 |
index be3997a5c6c4..a7a18e6099ab 100644 |
69042 |
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build |
69227 |
--- third_party/libwebrtc/moz.build |
69043 |
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build |
69228 |
+++ third_party/libwebrtc/moz.build |
|
|
69229 |
@@ -275,6 +275,8 @@ DIRS += [ |
69230 |
"/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn", |
69231 |
"/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn", |
69232 |
"/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn", |
69233 |
+ "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69234 |
+ "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69235 |
"/third_party/libwebrtc/modules/module_api_gn", |
69236 |
"/third_party/libwebrtc/modules/module_api_public_gn", |
69237 |
"/third_party/libwebrtc/modules/module_fec_api_gn", |
69238 |
@@ -477,102 +479,11 @@ DIRS += [ |
69239 |
"/third_party/libwebrtc/webrtc_gn" |
69240 |
] |
69241 |
|
69242 |
-if CONFIG["OS_TARGET"] == "Android": |
69243 |
- |
69244 |
- DIRS += [ |
69245 |
- "/third_party/libwebrtc/rtc_base/ifaddrs_android_gn" |
69246 |
- ] |
69247 |
- |
69248 |
-if CONFIG["OS_TARGET"] == "Darwin": |
69249 |
- |
69250 |
- DIRS += [ |
69251 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69252 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn", |
69253 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69254 |
- "/third_party/libwebrtc/rtc_base/system/cocoa_threading_gn", |
69255 |
- "/third_party/libwebrtc/rtc_base/system/gcd_helpers_gn", |
69256 |
- "/third_party/libwebrtc/sdk/base_objc_gn", |
69257 |
- "/third_party/libwebrtc/sdk/helpers_objc_gn", |
69258 |
- "/third_party/libwebrtc/sdk/videocapture_objc_gn", |
69259 |
- "/third_party/libwebrtc/sdk/videoframebuffer_objc_gn" |
69260 |
- ] |
69261 |
- |
69262 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
69263 |
- |
69264 |
- DIRS += [ |
69265 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69266 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" |
69267 |
- ] |
69268 |
- |
69269 |
-if CONFIG["OS_TARGET"] == "WINNT": |
69270 |
- |
69271 |
- DIRS += [ |
69272 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69273 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69274 |
- "/third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn", |
69275 |
- "/third_party/libwebrtc/rtc_base/win/get_activation_factory_gn", |
69276 |
- "/third_party/libwebrtc/rtc_base/win/hstring_gn", |
69277 |
- "/third_party/libwebrtc/rtc_base/win/windows_version_gn", |
69278 |
- "/third_party/libwebrtc/rtc_base/win32_gn" |
69279 |
- ] |
69280 |
- |
69281 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "aarch64": |
69282 |
- |
69283 |
- DIRS += [ |
69284 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
69285 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" |
69286 |
- ] |
69287 |
- |
69288 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
69289 |
- |
69290 |
- DIRS += [ |
69291 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
69292 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn", |
69293 |
- "/third_party/libwebrtc/rtc_base/system/asm_defines_gn" |
69294 |
- ] |
69295 |
- |
69296 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
69297 |
- |
69298 |
- DIRS += [ |
69299 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
69300 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
69301 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
69302 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn" |
69303 |
- ] |
69304 |
- |
69305 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86_64": |
69306 |
- |
69307 |
- DIRS += [ |
69308 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
69309 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
69310 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
69311 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn" |
69312 |
- ] |
69313 |
- |
69314 |
-if CONFIG["OS_TARGET"] == "Darwin" and CONFIG["TARGET_CPU"] == "aarch64": |
69315 |
- |
69316 |
- DIRS += [ |
69317 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
69318 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" |
69319 |
- ] |
69320 |
- |
69321 |
-if CONFIG["OS_TARGET"] == "Darwin" and CONFIG["TARGET_CPU"] == "x86_64": |
69322 |
- |
69323 |
- DIRS += [ |
69324 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
69325 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
69326 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
69327 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
69328 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" |
69329 |
- ] |
69330 |
- |
69331 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
69332 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "aarch64": |
69333 |
|
69334 |
DIRS += [ |
69335 |
"/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
69336 |
"/third_party/libwebrtc/common_audio/common_audio_neon_gn", |
69337 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69338 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69339 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
69340 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
69341 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
69342 |
@@ -580,26 +491,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
69343 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
69344 |
] |
69345 |
|
69346 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
69347 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips32": |
69348 |
|
69349 |
DIRS += [ |
69350 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
69351 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn", |
69352 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69353 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69354 |
- "/third_party/libwebrtc/modules/portal/portal_gn", |
69355 |
- "/third_party/libwebrtc/rtc_base/system/asm_defines_gn", |
69356 |
- "/third_party/libwebrtc/third_party/drm/drm_gn", |
69357 |
- "/third_party/libwebrtc/third_party/gbm/gbm_gn", |
69358 |
- "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", |
69359 |
- "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
69360 |
- ] |
69361 |
- |
69362 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": |
69363 |
- |
69364 |
- DIRS += [ |
69365 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69366 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69367 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
69368 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
69369 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
69370 |
@@ -607,11 +501,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": |
69371 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
69372 |
] |
69373 |
|
69374 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": |
69375 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips64": |
69376 |
|
69377 |
DIRS += [ |
69378 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69379 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69380 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
69381 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
69382 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
69383 |
@@ -619,7 +511,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": |
69384 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
69385 |
] |
69386 |
|
69387 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
69388 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86": |
69389 |
|
69390 |
DIRS += [ |
69391 |
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
69392 |
@@ -627,8 +519,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
69393 |
"/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
69394 |
"/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
69395 |
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
69396 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69397 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69398 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
69399 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
69400 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
69401 |
@@ -636,7 +526,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
69402 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
69403 |
] |
69404 |
|
69405 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
69406 |
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86_64": |
69407 |
|
69408 |
DIRS += [ |
69409 |
"/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
69410 |
@@ -644,69 +534,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
69411 |
"/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
69412 |
"/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
69413 |
"/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
69414 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69415 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", |
69416 |
"/third_party/libwebrtc/modules/portal/portal_gn", |
69417 |
"/third_party/libwebrtc/third_party/drm/drm_gn", |
69418 |
"/third_party/libwebrtc/third_party/gbm/gbm_gn", |
69419 |
"/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", |
69420 |
"/third_party/libwebrtc/third_party/pipewire/pipewire_gn" |
69421 |
] |
69422 |
- |
69423 |
-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "aarch64": |
69424 |
- |
69425 |
- DIRS += [ |
69426 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
69427 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" |
69428 |
- ] |
69429 |
- |
69430 |
-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "x86_64": |
69431 |
- |
69432 |
- DIRS += [ |
69433 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
69434 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
69435 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
69436 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
69437 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" |
69438 |
- ] |
69439 |
- |
69440 |
-if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "aarch64": |
69441 |
- |
69442 |
- DIRS += [ |
69443 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", |
69444 |
- "/third_party/libwebrtc/common_audio/common_audio_neon_gn" |
69445 |
- ] |
69446 |
- |
69447 |
-if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "x86": |
69448 |
- |
69449 |
- DIRS += [ |
69450 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
69451 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
69452 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
69453 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
69454 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" |
69455 |
- ] |
69456 |
- |
69457 |
-if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["TARGET_CPU"] == "x86_64": |
69458 |
- |
69459 |
- DIRS += [ |
69460 |
- "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", |
69461 |
- "/third_party/libwebrtc/common_audio/common_audio_sse2_gn", |
69462 |
- "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", |
69463 |
- "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", |
69464 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" |
69465 |
- ] |
69466 |
- |
69467 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "ppc64": |
69468 |
- |
69469 |
- DIRS += [ |
69470 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69471 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" |
69472 |
- ] |
69473 |
- |
69474 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": |
69475 |
- |
69476 |
- DIRS += [ |
69477 |
- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", |
69478 |
- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" |
69479 |
- ] |
69480 |
diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build |
69481 |
index 415f09cfd1fe..de5b867157f4 100644 |
69482 |
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build |
69483 |
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build |
69044 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69484 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69045 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69485 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69046 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
69486 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 69063-69069
index 7b1ba50f99cf..b05e27ad3426 100644
Link Here
|
69063 |
|
69503 |
|
69064 |
FINAL_LIBRARY = "xul" |
69504 |
FINAL_LIBRARY = "xul" |
69065 |
|
69505 |
|
69066 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
69506 |
@@ -43,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
69067 |
if CONFIG["MOZ_DEBUG"] == "1": |
69507 |
if CONFIG["MOZ_DEBUG"] == "1": |
69068 |
|
69508 |
|
69069 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
69509 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 69083-69088
index 7b1ba50f99cf..b05e27ad3426 100644
Link Here
|
69083 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
69523 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
69084 |
- |
69524 |
- |
69085 |
- OS_LIBS += [ |
69525 |
- OS_LIBS += [ |
|
|
69526 |
- "GLESv2", |
69086 |
- "log" |
69527 |
- "log" |
69087 |
- ] |
69528 |
- ] |
69088 |
- |
69529 |
- |
Lines 69254-69264
index 7b1ba50f99cf..b05e27ad3426 100644
Link Here
|
69254 |
- DEFINES["_GNU_SOURCE"] = True |
69695 |
- DEFINES["_GNU_SOURCE"] = True |
69255 |
+ DEFINES["USE_X11"] = "1" |
69696 |
+ DEFINES["USE_X11"] = "1" |
69256 |
|
69697 |
|
69257 |
Library("bitrate_tracker_gn") |
69698 |
Library("async_dns_resolver_gn") |
69258 |
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build |
69699 |
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build |
69259 |
index c82c4c9965bf..36b9f5b6c119 100644 |
69700 |
index 9f3ce4d4b600..fb11aa9b0f1c 100644 |
69260 |
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build |
69701 |
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build |
69261 |
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build |
69702 |
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build |
69262 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69703 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69263 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69704 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69264 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
69705 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 69281-69287
index c82c4c9965bf..36b9f5b6c119 100644
Link Here
|
69281 |
|
69722 |
|
69282 |
FINAL_LIBRARY = "xul" |
69723 |
FINAL_LIBRARY = "xul" |
69283 |
|
69724 |
|
69284 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
69725 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
69285 |
if CONFIG["MOZ_DEBUG"] == "1": |
69726 |
if CONFIG["MOZ_DEBUG"] == "1": |
69286 |
|
69727 |
|
69287 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
69728 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 69300-69309
index c82c4c9965bf..36b9f5b6c119 100644
Link Here
|
69300 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
69741 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
69301 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
69742 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
69302 |
- |
69743 |
- |
69303 |
- OS_LIBS += [ |
|
|
69304 |
- "log" |
69305 |
- ] |
69306 |
- |
69307 |
-if CONFIG["OS_TARGET"] == "Darwin": |
69744 |
-if CONFIG["OS_TARGET"] == "Darwin": |
69308 |
- |
69745 |
- |
69309 |
- DEFINES["WEBRTC_MAC"] = True |
69746 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 69378-69387
index c82c4c9965bf..36b9f5b6c119 100644
Link Here
|
69378 |
|
69815 |
|
69379 |
-if CONFIG["TARGET_CPU"] == "arm": |
69816 |
-if CONFIG["TARGET_CPU"] == "arm": |
69380 |
- |
69817 |
- |
69381 |
- CXXFLAGS += [ |
|
|
69382 |
- "-mfpu=neon" |
69383 |
- ] |
69384 |
- |
69385 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
69818 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
69386 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
69819 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
69387 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
69820 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 69398-69409
index c82c4c9965bf..36b9f5b6c119 100644
Link Here
|
69398 |
|
69831 |
|
69399 |
if CONFIG["TARGET_CPU"] == "x86": |
69832 |
if CONFIG["TARGET_CPU"] == "x86": |
69400 |
|
69833 |
|
69401 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
69834 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
69402 |
- |
69835 |
|
69403 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
69836 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
69404 |
- |
69837 |
|
69405 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
69406 |
- |
69407 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
69838 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
69408 |
- |
69839 |
- |
69409 |
- DEFINES["_DEBUG"] = True |
69840 |
- DEFINES["_DEBUG"] = True |
Lines 69425-69445
index c82c4c9965bf..36b9f5b6c119 100644
Link Here
|
69425 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
69856 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
69426 |
- |
69857 |
- |
69427 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
69858 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
69428 |
- |
69859 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
69429 |
- DEFINES["USE_X11"] = "1" |
69860 |
|
69430 |
- |
69861 |
DEFINES["USE_X11"] = "1" |
|
|
69862 |
|
69431 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
69863 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
69432 |
- |
69864 |
- |
69433 |
- OS_LIBS += [ |
69865 |
- OS_LIBS += [ |
69434 |
- "unwind" |
69866 |
- "unwind" |
69435 |
- ] |
69867 |
- ] |
69436 |
- |
69868 |
- |
69437 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
69438 |
- |
69439 |
CXXFLAGS += [ |
69440 |
"-msse2" |
69441 |
] |
69442 |
|
69443 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
69869 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
69444 |
- |
69870 |
- |
69445 |
- DEFINES["_GNU_SOURCE"] = True |
69871 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 69449-69475
index c82c4c9965bf..36b9f5b6c119 100644
Link Here
|
69449 |
- DEFINES["_GNU_SOURCE"] = True |
69875 |
- DEFINES["_GNU_SOURCE"] = True |
69450 |
- |
69876 |
- |
69451 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
69877 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
69452 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
69878 |
- |
69453 |
|
|
|
69454 |
- CXXFLAGS += [ |
69455 |
- "-msse2" |
69456 |
- ] |
69457 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
69458 |
|
69459 |
- DEFINES["_GNU_SOURCE"] = True |
69879 |
- DEFINES["_GNU_SOURCE"] = True |
69460 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
69880 |
- |
69461 |
|
|
|
69462 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
69881 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
69463 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
69882 |
- |
69464 |
|
|
|
69465 |
- DEFINES["_GNU_SOURCE"] = True |
69883 |
- DEFINES["_GNU_SOURCE"] = True |
69466 |
+ DEFINES["USE_X11"] = "1" |
69884 |
- |
69467 |
|
69885 |
Library("async_packet_socket_gn") |
69468 |
Library("bitstream_reader_gn") |
69886 |
diff --git third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build |
69469 |
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build |
69887 |
index 70a2aa730b19..27f099ef7b90 100644 |
69470 |
index 5e5d11ff6f7e..fa3cb7950b6c 100644 |
69888 |
--- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build |
69471 |
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build |
69889 |
+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build |
69472 |
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build |
|
|
69473 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69890 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69474 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69891 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69475 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
69892 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 69492-69498
index 5e5d11ff6f7e..fa3cb7950b6c 100644
Link Here
|
69492 |
|
69909 |
|
69493 |
FINAL_LIBRARY = "xul" |
69910 |
FINAL_LIBRARY = "xul" |
69494 |
|
69911 |
|
69495 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
69912 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
69496 |
if CONFIG["MOZ_DEBUG"] == "1": |
69913 |
if CONFIG["MOZ_DEBUG"] == "1": |
69497 |
|
69914 |
|
69498 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
69915 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 69580-69585
index 5e5d11ff6f7e..fa3cb7950b6c 100644
Link Here
|
69580 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
69997 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
69581 |
- DEFINES["_WINDOWS"] = True |
69998 |
- DEFINES["_WINDOWS"] = True |
69582 |
- DEFINES["__STD_C"] = True |
69999 |
- DEFINES["__STD_C"] = True |
|
|
70000 |
- |
70001 |
- OS_LIBS += [ |
70002 |
- "crypt32", |
70003 |
- "iphlpapi", |
70004 |
- "secur32", |
70005 |
- "winmm" |
70006 |
- ] |
69583 |
+ DEFINES["_DEBUG"] = True |
70007 |
+ DEFINES["_DEBUG"] = True |
69584 |
|
70008 |
|
69585 |
if CONFIG["TARGET_CPU"] == "aarch64": |
70009 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 69589-69594
index 5e5d11ff6f7e..fa3cb7950b6c 100644
Link Here
|
69589 |
|
70013 |
|
69590 |
-if CONFIG["TARGET_CPU"] == "arm": |
70014 |
-if CONFIG["TARGET_CPU"] == "arm": |
69591 |
- |
70015 |
- |
|
|
70016 |
- CXXFLAGS += [ |
70017 |
- "-mfpu=neon" |
70018 |
- ] |
70019 |
- |
69592 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
70020 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
69593 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
70021 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
69594 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
70022 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 69605-69614
index 5e5d11ff6f7e..fa3cb7950b6c 100644
Link Here
|
69605 |
|
70033 |
|
69606 |
if CONFIG["TARGET_CPU"] == "x86": |
70034 |
if CONFIG["TARGET_CPU"] == "x86": |
69607 |
|
70035 |
|
69608 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
70036 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
69609 |
|
70037 |
- |
69610 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70038 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
69611 |
|
70039 |
- |
|
|
70040 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70041 |
- |
69612 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
70042 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
69613 |
- |
70043 |
- |
69614 |
- DEFINES["_DEBUG"] = True |
70044 |
- DEFINES["_DEBUG"] = True |
Lines 69630-69645
index 5e5d11ff6f7e..fa3cb7950b6c 100644
Link Here
|
69630 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
70060 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
69631 |
- |
70061 |
- |
69632 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
70062 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
69633 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
70063 |
- |
69634 |
|
70064 |
- DEFINES["USE_X11"] = "1" |
69635 |
DEFINES["USE_X11"] = "1" |
70065 |
- |
69636 |
|
|
|
69637 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
70066 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
69638 |
- |
70067 |
- |
69639 |
- OS_LIBS += [ |
70068 |
- OS_LIBS += [ |
69640 |
- "unwind" |
70069 |
- "unwind" |
69641 |
- ] |
70070 |
- ] |
69642 |
- |
70071 |
- |
|
|
70072 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
70073 |
- |
70074 |
CXXFLAGS += [ |
70075 |
"-msse2" |
70076 |
] |
70077 |
|
69643 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
70078 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
69644 |
- |
70079 |
- |
69645 |
- DEFINES["_GNU_SOURCE"] = True |
70080 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 69649-69666
index 5e5d11ff6f7e..fa3cb7950b6c 100644
Link Here
|
69649 |
- DEFINES["_GNU_SOURCE"] = True |
70084 |
- DEFINES["_GNU_SOURCE"] = True |
69650 |
- |
70085 |
- |
69651 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
70086 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
69652 |
- |
70087 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
70088 |
|
70089 |
- CXXFLAGS += [ |
70090 |
- "-msse2" |
70091 |
- ] |
70092 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
70093 |
|
69653 |
- DEFINES["_GNU_SOURCE"] = True |
70094 |
- DEFINES["_GNU_SOURCE"] = True |
69654 |
- |
70095 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
70096 |
|
69655 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
70097 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
69656 |
- |
70098 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
70099 |
|
69657 |
- DEFINES["_GNU_SOURCE"] = True |
70100 |
- DEFINES["_GNU_SOURCE"] = True |
69658 |
- |
70101 |
+ DEFINES["USE_X11"] = "1" |
69659 |
Library("buffer_gn") |
70102 |
|
69660 |
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build |
70103 |
Library("audio_format_to_string_gn") |
69661 |
index 89a2c9e84e1c..01e755bb6f7c 100644 |
70104 |
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build |
69662 |
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build |
70105 |
index 3dfd3b19d24b..933e5434bf8c 100644 |
69663 |
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build |
70106 |
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build |
|
|
70107 |
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build |
69664 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70108 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69665 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70109 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69666 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
70110 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 69867-69877
index 89a2c9e84e1c..01e755bb6f7c 100644
Link Here
|
69867 |
- DEFINES["_GNU_SOURCE"] = True |
70311 |
- DEFINES["_GNU_SOURCE"] = True |
69868 |
+ DEFINES["USE_X11"] = "1" |
70312 |
+ DEFINES["USE_X11"] = "1" |
69869 |
|
70313 |
|
69870 |
Library("byte_buffer_gn") |
70314 |
Library("bit_buffer_gn") |
69871 |
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build |
70315 |
diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build |
69872 |
index b95d149625ed..4ed69f91caf9 100644 |
70316 |
index 7b1ba50f99cf..b05e27ad3426 100644 |
69873 |
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build |
70317 |
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build |
69874 |
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build |
70318 |
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build |
69875 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70319 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
69876 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70320 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
69877 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
70321 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 69894-69900
index b95d149625ed..4ed69f91caf9 100644
Link Here
|
69894 |
|
70338 |
|
69895 |
FINAL_LIBRARY = "xul" |
70339 |
FINAL_LIBRARY = "xul" |
69896 |
|
70340 |
|
69897 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
70341 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
69898 |
if CONFIG["MOZ_DEBUG"] == "1": |
70342 |
if CONFIG["MOZ_DEBUG"] == "1": |
69899 |
|
70343 |
|
69900 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
70344 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 69913-69918
index b95d149625ed..4ed69f91caf9 100644
Link Here
|
69913 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
70357 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
69914 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
70358 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
69915 |
- |
70359 |
- |
|
|
70360 |
- OS_LIBS += [ |
70361 |
- "log" |
70362 |
- ] |
70363 |
- |
69916 |
-if CONFIG["OS_TARGET"] == "Darwin": |
70364 |
-if CONFIG["OS_TARGET"] == "Darwin": |
69917 |
- |
70365 |
- |
69918 |
- DEFINES["WEBRTC_MAC"] = True |
70366 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 69978-69983
index b95d149625ed..4ed69f91caf9 100644
Link Here
|
69978 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
70426 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
69979 |
- DEFINES["_WINDOWS"] = True |
70427 |
- DEFINES["_WINDOWS"] = True |
69980 |
- DEFINES["__STD_C"] = True |
70428 |
- DEFINES["__STD_C"] = True |
|
|
70429 |
- |
70430 |
- OS_LIBS += [ |
70431 |
- "crypt32", |
70432 |
- "iphlpapi", |
70433 |
- "secur32", |
70434 |
- "winmm" |
70435 |
- ] |
69981 |
+ DEFINES["_DEBUG"] = True |
70436 |
+ DEFINES["_DEBUG"] = True |
69982 |
|
70437 |
|
69983 |
if CONFIG["TARGET_CPU"] == "aarch64": |
70438 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 69987-69992
index b95d149625ed..4ed69f91caf9 100644
Link Here
|
69987 |
|
70442 |
|
69988 |
-if CONFIG["TARGET_CPU"] == "arm": |
70443 |
-if CONFIG["TARGET_CPU"] == "arm": |
69989 |
- |
70444 |
- |
|
|
70445 |
- CXXFLAGS += [ |
70446 |
- "-mfpu=neon" |
70447 |
- ] |
70448 |
- |
69990 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
70449 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
69991 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
70450 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
69992 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
70451 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 70003-70012
index b95d149625ed..4ed69f91caf9 100644
Link Here
|
70003 |
|
70462 |
|
70004 |
if CONFIG["TARGET_CPU"] == "x86": |
70463 |
if CONFIG["TARGET_CPU"] == "x86": |
70005 |
|
70464 |
|
70006 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
70465 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70007 |
|
70466 |
- |
70008 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70467 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
70009 |
|
70468 |
- |
|
|
70469 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70470 |
- |
70010 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
70471 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
70011 |
- |
70472 |
- |
70012 |
- DEFINES["_DEBUG"] = True |
70473 |
- DEFINES["_DEBUG"] = True |
Lines 70028-70043
index b95d149625ed..4ed69f91caf9 100644
Link Here
|
70028 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
70489 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
70029 |
- |
70490 |
- |
70030 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
70491 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
70031 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
70492 |
- |
70032 |
|
70493 |
- DEFINES["USE_X11"] = "1" |
70033 |
DEFINES["USE_X11"] = "1" |
70494 |
- |
70034 |
|
|
|
70035 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
70495 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
70036 |
- |
70496 |
- |
70037 |
- OS_LIBS += [ |
70497 |
- OS_LIBS += [ |
70038 |
- "unwind" |
70498 |
- "unwind" |
70039 |
- ] |
70499 |
- ] |
70040 |
- |
70500 |
- |
|
|
70501 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
70502 |
- |
70503 |
CXXFLAGS += [ |
70504 |
"-msse2" |
70505 |
] |
70506 |
|
70041 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
70507 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
70042 |
- |
70508 |
- |
70043 |
- DEFINES["_GNU_SOURCE"] = True |
70509 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 70047-70064
index b95d149625ed..4ed69f91caf9 100644
Link Here
|
70047 |
- DEFINES["_GNU_SOURCE"] = True |
70513 |
- DEFINES["_GNU_SOURCE"] = True |
70048 |
- |
70514 |
- |
70049 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
70515 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
70050 |
- |
70516 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
70517 |
|
70518 |
- CXXFLAGS += [ |
70519 |
- "-msse2" |
70520 |
- ] |
70521 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
70522 |
|
70051 |
- DEFINES["_GNU_SOURCE"] = True |
70523 |
- DEFINES["_GNU_SOURCE"] = True |
70052 |
- |
70524 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
70525 |
|
70053 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
70526 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
70054 |
- |
70527 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
70528 |
|
70055 |
- DEFINES["_GNU_SOURCE"] = True |
70529 |
- DEFINES["_GNU_SOURCE"] = True |
70056 |
- |
70530 |
+ DEFINES["USE_X11"] = "1" |
70057 |
Library("byte_order_gn") |
70531 |
|
70058 |
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build |
70532 |
Library("bitrate_tracker_gn") |
70059 |
index f147bdc64bd9..477bb6cf012e 100644 |
70533 |
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build |
70060 |
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build |
70534 |
index c82c4c9965bf..36b9f5b6c119 100644 |
70061 |
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build |
70535 |
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build |
|
|
70536 |
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build |
70062 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70537 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70063 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70538 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70064 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
70539 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 70265-70275
index f147bdc64bd9..477bb6cf012e 100644
Link Here
|
70265 |
- DEFINES["_GNU_SOURCE"] = True |
70740 |
- DEFINES["_GNU_SOURCE"] = True |
70266 |
+ DEFINES["USE_X11"] = "1" |
70741 |
+ DEFINES["USE_X11"] = "1" |
70267 |
|
70742 |
|
70268 |
Library("checks_gn") |
70743 |
Library("bitstream_reader_gn") |
70269 |
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build |
70744 |
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build |
70270 |
index 711466336e15..80475fdc6a41 100644 |
70745 |
index 5e5d11ff6f7e..fa3cb7950b6c 100644 |
70271 |
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build |
70746 |
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build |
70272 |
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build |
70747 |
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build |
70273 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70748 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70274 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70749 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70275 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
70750 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 70292-70298
index 711466336e15..80475fdc6a41 100644
Link Here
|
70292 |
|
70767 |
|
70293 |
FINAL_LIBRARY = "xul" |
70768 |
FINAL_LIBRARY = "xul" |
70294 |
|
70769 |
|
70295 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
70770 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
70296 |
if CONFIG["MOZ_DEBUG"] == "1": |
70771 |
if CONFIG["MOZ_DEBUG"] == "1": |
70297 |
|
70772 |
|
70298 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
70773 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 70311-70316
index 711466336e15..80475fdc6a41 100644
Link Here
|
70311 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
70786 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
70312 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
70787 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
70313 |
- |
70788 |
- |
|
|
70789 |
- OS_LIBS += [ |
70790 |
- "log" |
70791 |
- ] |
70792 |
- |
70314 |
-if CONFIG["OS_TARGET"] == "Darwin": |
70793 |
-if CONFIG["OS_TARGET"] == "Darwin": |
70315 |
- |
70794 |
- |
70316 |
- DEFINES["WEBRTC_MAC"] = True |
70795 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 70401-70407
index 711466336e15..80475fdc6a41 100644
Link Here
|
70401 |
|
70880 |
|
70402 |
if CONFIG["TARGET_CPU"] == "x86": |
70881 |
if CONFIG["TARGET_CPU"] == "x86": |
70403 |
|
70882 |
|
70404 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
70883 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
70405 |
|
70884 |
|
70406 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70885 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70407 |
|
70886 |
|
Lines 70452-70462
index 711466336e15..80475fdc6a41 100644
Link Here
|
70452 |
- |
70931 |
- |
70453 |
- DEFINES["_GNU_SOURCE"] = True |
70932 |
- DEFINES["_GNU_SOURCE"] = True |
70454 |
- |
70933 |
- |
70455 |
Library("compile_assert_c_gn") |
70934 |
Library("buffer_gn") |
70456 |
diff --git third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build |
70935 |
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build |
70457 |
index fa4fdc873993..7c49ec6a5edd 100644 |
70936 |
index 89a2c9e84e1c..01e755bb6f7c 100644 |
70458 |
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build |
70937 |
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build |
70459 |
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build |
70938 |
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build |
70460 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70939 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70461 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70940 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70462 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
70941 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 70663-70673
index fa4fdc873993..7c49ec6a5edd 100644
Link Here
|
70663 |
- DEFINES["_GNU_SOURCE"] = True |
71142 |
- DEFINES["_GNU_SOURCE"] = True |
70664 |
+ DEFINES["USE_X11"] = "1" |
71143 |
+ DEFINES["USE_X11"] = "1" |
70665 |
|
71144 |
|
70666 |
Library("flat_containers_internal_gn") |
71145 |
Library("byte_buffer_gn") |
70667 |
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build |
71146 |
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build |
70668 |
index 7c9b3edd1676..95a2855408fd 100644 |
71147 |
index b95d149625ed..4ed69f91caf9 100644 |
70669 |
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build |
71148 |
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build |
70670 |
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build |
71149 |
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build |
70671 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71150 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70672 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71151 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70673 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
71152 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 70690-70696
index 7c9b3edd1676..95a2855408fd 100644
Link Here
|
70690 |
|
71169 |
|
70691 |
FINAL_LIBRARY = "xul" |
71170 |
FINAL_LIBRARY = "xul" |
70692 |
|
71171 |
|
70693 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
71172 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
70694 |
if CONFIG["MOZ_DEBUG"] == "1": |
71173 |
if CONFIG["MOZ_DEBUG"] == "1": |
70695 |
|
71174 |
|
70696 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
71175 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 70709-70718
index 7c9b3edd1676..95a2855408fd 100644
Link Here
|
70709 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
71188 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
70710 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
71189 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
70711 |
- |
71190 |
- |
70712 |
- OS_LIBS += [ |
|
|
70713 |
- "log" |
70714 |
- ] |
70715 |
- |
70716 |
-if CONFIG["OS_TARGET"] == "Darwin": |
71191 |
-if CONFIG["OS_TARGET"] == "Darwin": |
70717 |
- |
71192 |
- |
70718 |
- DEFINES["WEBRTC_MAC"] = True |
71193 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 70803-70809
index 7c9b3edd1676..95a2855408fd 100644
Link Here
|
70803 |
|
71278 |
|
70804 |
if CONFIG["TARGET_CPU"] == "x86": |
71279 |
if CONFIG["TARGET_CPU"] == "x86": |
70805 |
|
71280 |
|
70806 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
71281 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
70807 |
|
71282 |
|
70808 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
71283 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70809 |
|
71284 |
|
Lines 70854-70864
index 7c9b3edd1676..95a2855408fd 100644
Link Here
|
70854 |
- |
71329 |
- |
70855 |
- DEFINES["_GNU_SOURCE"] = True |
71330 |
- DEFINES["_GNU_SOURCE"] = True |
70856 |
- |
71331 |
- |
70857 |
Library("flat_map_gn") |
71332 |
Library("byte_order_gn") |
70858 |
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build |
71333 |
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build |
70859 |
index 02d364fe30a5..a7902a51d2f6 100644 |
71334 |
index f147bdc64bd9..477bb6cf012e 100644 |
70860 |
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build |
71335 |
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build |
70861 |
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build |
71336 |
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build |
70862 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71337 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
70863 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71338 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
70864 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
71339 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 70881-70887
index 02d364fe30a5..a7902a51d2f6 100644
Link Here
|
70881 |
|
71356 |
|
70882 |
FINAL_LIBRARY = "xul" |
71357 |
FINAL_LIBRARY = "xul" |
70883 |
|
71358 |
|
70884 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
71359 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
70885 |
if CONFIG["MOZ_DEBUG"] == "1": |
71360 |
if CONFIG["MOZ_DEBUG"] == "1": |
70886 |
|
71361 |
|
70887 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
71362 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 70978-70983
index 02d364fe30a5..a7902a51d2f6 100644
Link Here
|
70978 |
|
71453 |
|
70979 |
-if CONFIG["TARGET_CPU"] == "arm": |
71454 |
-if CONFIG["TARGET_CPU"] == "arm": |
70980 |
- |
71455 |
- |
|
|
71456 |
- CXXFLAGS += [ |
71457 |
- "-mfpu=neon" |
71458 |
- ] |
71459 |
- |
70981 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
71460 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
70982 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
71461 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
70983 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
71462 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 70994-71003
index 02d364fe30a5..a7902a51d2f6 100644
Link Here
|
70994 |
|
71473 |
|
70995 |
if CONFIG["TARGET_CPU"] == "x86": |
71474 |
if CONFIG["TARGET_CPU"] == "x86": |
70996 |
|
71475 |
|
70997 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
71476 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
70998 |
|
71477 |
- |
70999 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
71478 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
71000 |
|
71479 |
- |
|
|
71480 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
71481 |
- |
71001 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
71482 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
71002 |
- |
71483 |
- |
71003 |
- DEFINES["_DEBUG"] = True |
71484 |
- DEFINES["_DEBUG"] = True |
Lines 71019-71034
index 02d364fe30a5..a7902a51d2f6 100644
Link Here
|
71019 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
71500 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
71020 |
- |
71501 |
- |
71021 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
71502 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
71022 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
71503 |
- |
71023 |
|
71504 |
- DEFINES["USE_X11"] = "1" |
71024 |
DEFINES["USE_X11"] = "1" |
71505 |
- |
71025 |
|
|
|
71026 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
71506 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
71027 |
- |
71507 |
- |
71028 |
- OS_LIBS += [ |
71508 |
- OS_LIBS += [ |
71029 |
- "unwind" |
71509 |
- "unwind" |
71030 |
- ] |
71510 |
- ] |
71031 |
- |
71511 |
- |
|
|
71512 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
71513 |
- |
71514 |
CXXFLAGS += [ |
71515 |
"-msse2" |
71516 |
] |
71517 |
|
71032 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
71518 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
71033 |
- |
71519 |
- |
71034 |
- DEFINES["_GNU_SOURCE"] = True |
71520 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 71038-71055
index 02d364fe30a5..a7902a51d2f6 100644
Link Here
|
71038 |
- DEFINES["_GNU_SOURCE"] = True |
71524 |
- DEFINES["_GNU_SOURCE"] = True |
71039 |
- |
71525 |
- |
71040 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
71526 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
71041 |
- |
71527 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
71528 |
|
71529 |
- CXXFLAGS += [ |
71530 |
- "-msse2" |
71531 |
- ] |
71532 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
71533 |
|
71042 |
- DEFINES["_GNU_SOURCE"] = True |
71534 |
- DEFINES["_GNU_SOURCE"] = True |
71043 |
- |
71535 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
71536 |
|
71044 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
71537 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
71045 |
- |
71538 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
71539 |
|
71046 |
- DEFINES["_GNU_SOURCE"] = True |
71540 |
- DEFINES["_GNU_SOURCE"] = True |
71047 |
- |
71541 |
+ DEFINES["USE_X11"] = "1" |
71048 |
Library("flat_set_gn") |
71542 |
|
71049 |
diff --git third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build |
71543 |
Library("checks_gn") |
71050 |
index dd687b90f3ff..8ed0bc7ee1af 100644 |
71544 |
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build |
71051 |
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build |
71545 |
index 711466336e15..80475fdc6a41 100644 |
71052 |
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build |
71546 |
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build |
|
|
71547 |
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build |
71053 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71548 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71054 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71549 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71055 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
71550 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 71072-71078
index dd687b90f3ff..8ed0bc7ee1af 100644
Link Here
|
71072 |
|
71567 |
|
71073 |
FINAL_LIBRARY = "xul" |
71568 |
FINAL_LIBRARY = "xul" |
71074 |
|
71569 |
|
71075 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
71570 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
71076 |
if CONFIG["MOZ_DEBUG"] == "1": |
71571 |
if CONFIG["MOZ_DEBUG"] == "1": |
71077 |
|
71572 |
|
71078 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
71573 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 71091-71100
index dd687b90f3ff..8ed0bc7ee1af 100644
Link Here
|
71091 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
71586 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
71092 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
71587 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
71093 |
- |
71588 |
- |
71094 |
- OS_LIBS += [ |
|
|
71095 |
- "log" |
71096 |
- ] |
71097 |
- |
71098 |
-if CONFIG["OS_TARGET"] == "Darwin": |
71589 |
-if CONFIG["OS_TARGET"] == "Darwin": |
71099 |
- |
71590 |
- |
71100 |
- DEFINES["WEBRTC_MAC"] = True |
71591 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 71169-71178
index dd687b90f3ff..8ed0bc7ee1af 100644
Link Here
|
71169 |
|
71660 |
|
71170 |
-if CONFIG["TARGET_CPU"] == "arm": |
71661 |
-if CONFIG["TARGET_CPU"] == "arm": |
71171 |
- |
71662 |
- |
71172 |
- CXXFLAGS += [ |
|
|
71173 |
- "-mfpu=neon" |
71174 |
- ] |
71175 |
- |
71176 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
71663 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
71177 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
71664 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
71178 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
71665 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 71189-71200
index dd687b90f3ff..8ed0bc7ee1af 100644
Link Here
|
71189 |
|
71676 |
|
71190 |
if CONFIG["TARGET_CPU"] == "x86": |
71677 |
if CONFIG["TARGET_CPU"] == "x86": |
71191 |
|
71678 |
|
71192 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
71679 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
71193 |
- |
71680 |
|
71194 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
71681 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
71195 |
- |
71682 |
|
71196 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
71197 |
- |
71198 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
71683 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
71199 |
- |
71684 |
- |
71200 |
- DEFINES["_DEBUG"] = True |
71685 |
- DEFINES["_DEBUG"] = True |
Lines 71216-71236
index dd687b90f3ff..8ed0bc7ee1af 100644
Link Here
|
71216 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
71701 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
71217 |
- |
71702 |
- |
71218 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
71703 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
71219 |
- |
71704 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
71220 |
- DEFINES["USE_X11"] = "1" |
71705 |
|
71221 |
- |
71706 |
DEFINES["USE_X11"] = "1" |
|
|
71707 |
|
71222 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
71708 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
71223 |
- |
71709 |
- |
71224 |
- OS_LIBS += [ |
71710 |
- OS_LIBS += [ |
71225 |
- "unwind" |
71711 |
- "unwind" |
71226 |
- ] |
71712 |
- ] |
71227 |
- |
71713 |
- |
71228 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
71229 |
- |
71230 |
CXXFLAGS += [ |
71231 |
"-msse2" |
71232 |
] |
71233 |
|
71234 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
71714 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
71235 |
- |
71715 |
- |
71236 |
- DEFINES["_GNU_SOURCE"] = True |
71716 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 71240-71266
index dd687b90f3ff..8ed0bc7ee1af 100644
Link Here
|
71240 |
- DEFINES["_GNU_SOURCE"] = True |
71720 |
- DEFINES["_GNU_SOURCE"] = True |
71241 |
- |
71721 |
- |
71242 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
71722 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
71243 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
71723 |
- |
71244 |
|
|
|
71245 |
- CXXFLAGS += [ |
71246 |
- "-msse2" |
71247 |
- ] |
71248 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
71249 |
|
71250 |
- DEFINES["_GNU_SOURCE"] = True |
71724 |
- DEFINES["_GNU_SOURCE"] = True |
71251 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
71725 |
- |
71252 |
|
|
|
71253 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
71726 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
71254 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
71727 |
- |
71255 |
|
|
|
71256 |
- DEFINES["_GNU_SOURCE"] = True |
71728 |
- DEFINES["_GNU_SOURCE"] = True |
71257 |
+ DEFINES["USE_X11"] = "1" |
71729 |
- |
71258 |
|
71730 |
Library("compile_assert_c_gn") |
71259 |
Library("copy_on_write_buffer_gn") |
71731 |
diff --git third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build |
71260 |
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build |
71732 |
index fa4fdc873993..7c49ec6a5edd 100644 |
71261 |
index d860667eb591..f09bb05f3fda 100644 |
71733 |
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build |
71262 |
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build |
71734 |
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build |
71263 |
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build |
|
|
71264 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71735 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71265 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71736 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71266 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
71737 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 71467-71477
index d860667eb591..f09bb05f3fda 100644
Link Here
|
71467 |
- DEFINES["_GNU_SOURCE"] = True |
71938 |
- DEFINES["_GNU_SOURCE"] = True |
71468 |
+ DEFINES["USE_X11"] = "1" |
71939 |
+ DEFINES["USE_X11"] = "1" |
71469 |
|
71940 |
|
71470 |
Library("criticalsection_gn") |
71941 |
Library("flat_containers_internal_gn") |
71471 |
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build |
71942 |
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build |
71472 |
index 5946a30db45f..1212206025b7 100644 |
71943 |
index 7c9b3edd1676..95a2855408fd 100644 |
71473 |
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build |
71944 |
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build |
71474 |
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build |
71945 |
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build |
71475 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71946 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71476 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71947 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71477 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
71948 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 71658-71668
index 5946a30db45f..1212206025b7 100644
Link Here
|
71658 |
- |
72129 |
- |
71659 |
- DEFINES["_GNU_SOURCE"] = True |
72130 |
- DEFINES["_GNU_SOURCE"] = True |
71660 |
- |
72131 |
- |
71661 |
Library("divide_round_gn") |
72132 |
Library("flat_map_gn") |
71662 |
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build |
72133 |
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build |
71663 |
index fd82b23b98e3..e83d2e34dc26 100644 |
72134 |
index 02d364fe30a5..a7902a51d2f6 100644 |
71664 |
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build |
72135 |
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build |
71665 |
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build |
72136 |
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build |
71666 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72137 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71667 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72138 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71668 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
72139 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 71685-71691
index fd82b23b98e3..e83d2e34dc26 100644
Link Here
|
71685 |
|
72156 |
|
71686 |
FINAL_LIBRARY = "xul" |
72157 |
FINAL_LIBRARY = "xul" |
71687 |
|
72158 |
|
71688 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
72159 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
71689 |
if CONFIG["MOZ_DEBUG"] == "1": |
72160 |
if CONFIG["MOZ_DEBUG"] == "1": |
71690 |
|
72161 |
|
71691 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
72162 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 71704-71709
index fd82b23b98e3..e83d2e34dc26 100644
Link Here
|
71704 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
72175 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
71705 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
72176 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
71706 |
- |
72177 |
- |
|
|
72178 |
- OS_LIBS += [ |
72179 |
- "log" |
72180 |
- ] |
72181 |
- |
71707 |
-if CONFIG["OS_TARGET"] == "Darwin": |
72182 |
-if CONFIG["OS_TARGET"] == "Darwin": |
71708 |
- |
72183 |
- |
71709 |
- DEFINES["WEBRTC_MAC"] = True |
72184 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 71794-71800
index fd82b23b98e3..e83d2e34dc26 100644
Link Here
|
71794 |
|
72269 |
|
71795 |
if CONFIG["TARGET_CPU"] == "x86": |
72270 |
if CONFIG["TARGET_CPU"] == "x86": |
71796 |
|
72271 |
|
71797 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
72272 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
71798 |
|
72273 |
|
71799 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
72274 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
71800 |
|
72275 |
|
Lines 71845-71855
index fd82b23b98e3..e83d2e34dc26 100644
Link Here
|
71845 |
- |
72320 |
- |
71846 |
- DEFINES["_GNU_SOURCE"] = True |
72321 |
- DEFINES["_GNU_SOURCE"] = True |
71847 |
- |
72322 |
- |
71848 |
Library("dscp_gn") |
72323 |
Library("flat_set_gn") |
71849 |
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build |
72324 |
diff --git third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build |
71850 |
index 2ea470772f4b..1235e95439b9 100644 |
72325 |
index dd687b90f3ff..8ed0bc7ee1af 100644 |
71851 |
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build |
72326 |
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build |
71852 |
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build |
72327 |
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build |
71853 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72328 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
71854 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72329 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
71855 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
72330 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 71872-71878
index 2ea470772f4b..1235e95439b9 100644
Link Here
|
71872 |
|
72347 |
|
71873 |
FINAL_LIBRARY = "xul" |
72348 |
FINAL_LIBRARY = "xul" |
71874 |
|
72349 |
|
71875 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
72350 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
71876 |
if CONFIG["MOZ_DEBUG"] == "1": |
72351 |
if CONFIG["MOZ_DEBUG"] == "1": |
71877 |
|
72352 |
|
71878 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
72353 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 71960-71972
index 2ea470772f4b..1235e95439b9 100644
Link Here
|
71960 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
72435 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
71961 |
- DEFINES["_WINDOWS"] = True |
72436 |
- DEFINES["_WINDOWS"] = True |
71962 |
- DEFINES["__STD_C"] = True |
72437 |
- DEFINES["__STD_C"] = True |
71963 |
- |
|
|
71964 |
- OS_LIBS += [ |
71965 |
- "crypt32", |
71966 |
- "iphlpapi", |
71967 |
- "secur32", |
71968 |
- "winmm" |
71969 |
- ] |
71970 |
+ DEFINES["_DEBUG"] = True |
72438 |
+ DEFINES["_DEBUG"] = True |
71971 |
|
72439 |
|
71972 |
if CONFIG["TARGET_CPU"] == "aarch64": |
72440 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 72063-72073
index 2ea470772f4b..1235e95439b9 100644
Link Here
|
72063 |
- DEFINES["_GNU_SOURCE"] = True |
72531 |
- DEFINES["_GNU_SOURCE"] = True |
72064 |
+ DEFINES["USE_X11"] = "1" |
72532 |
+ DEFINES["USE_X11"] = "1" |
72065 |
|
72533 |
|
72066 |
Library("event_tracer_gn") |
72534 |
Library("copy_on_write_buffer_gn") |
72067 |
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build |
72535 |
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build |
72068 |
index 09174a3a20ab..f906bc9cd246 100644 |
72536 |
index d860667eb591..f09bb05f3fda 100644 |
72069 |
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build |
72537 |
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build |
72070 |
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build |
72538 |
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build |
72071 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72539 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72072 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72540 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72073 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
72541 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 72090-72096
index 09174a3a20ab..f906bc9cd246 100644
Link Here
|
72090 |
|
72558 |
|
72091 |
FINAL_LIBRARY = "xul" |
72559 |
FINAL_LIBRARY = "xul" |
72092 |
|
72560 |
|
72093 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
72561 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
72094 |
if CONFIG["MOZ_DEBUG"] == "1": |
72562 |
if CONFIG["MOZ_DEBUG"] == "1": |
72095 |
|
72563 |
|
72096 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
72564 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 72178-72190
index 09174a3a20ab..f906bc9cd246 100644
Link Here
|
72178 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
72646 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
72179 |
- DEFINES["_WINDOWS"] = True |
72647 |
- DEFINES["_WINDOWS"] = True |
72180 |
- DEFINES["__STD_C"] = True |
72648 |
- DEFINES["__STD_C"] = True |
72181 |
- |
|
|
72182 |
- OS_LIBS += [ |
72183 |
- "crypt32", |
72184 |
- "iphlpapi", |
72185 |
- "secur32", |
72186 |
- "winmm" |
72187 |
- ] |
72188 |
+ DEFINES["_DEBUG"] = True |
72649 |
+ DEFINES["_DEBUG"] = True |
72189 |
|
72650 |
|
72190 |
if CONFIG["TARGET_CPU"] == "aarch64": |
72651 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 72281-72291
index 09174a3a20ab..f906bc9cd246 100644
Link Here
|
72281 |
- DEFINES["_GNU_SOURCE"] = True |
72742 |
- DEFINES["_GNU_SOURCE"] = True |
72282 |
+ DEFINES["USE_X11"] = "1" |
72743 |
+ DEFINES["USE_X11"] = "1" |
72283 |
|
72744 |
|
72284 |
Library("alr_experiment_gn") |
72745 |
Library("criticalsection_gn") |
72285 |
diff --git third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build |
72746 |
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build |
72286 |
index 233c203847c4..0142ed0457e9 100644 |
72747 |
index 5946a30db45f..1212206025b7 100644 |
72287 |
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build |
72748 |
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build |
72288 |
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build |
72749 |
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build |
72289 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72750 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72290 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72751 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72291 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
72752 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 72308-72314
index 233c203847c4..0142ed0457e9 100644
Link Here
|
72308 |
|
72769 |
|
72309 |
FINAL_LIBRARY = "xul" |
72770 |
FINAL_LIBRARY = "xul" |
72310 |
|
72771 |
|
72311 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
72772 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
72312 |
if CONFIG["MOZ_DEBUG"] == "1": |
72773 |
if CONFIG["MOZ_DEBUG"] == "1": |
72313 |
|
72774 |
|
72314 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
72775 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 72396-72408
index 233c203847c4..0142ed0457e9 100644
Link Here
|
72396 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
72857 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
72397 |
- DEFINES["_WINDOWS"] = True |
72858 |
- DEFINES["_WINDOWS"] = True |
72398 |
- DEFINES["__STD_C"] = True |
72859 |
- DEFINES["__STD_C"] = True |
72399 |
- |
|
|
72400 |
- OS_LIBS += [ |
72401 |
- "crypt32", |
72402 |
- "iphlpapi", |
72403 |
- "secur32", |
72404 |
- "winmm" |
72405 |
- ] |
72406 |
+ DEFINES["_DEBUG"] = True |
72860 |
+ DEFINES["_DEBUG"] = True |
72407 |
|
72861 |
|
72408 |
if CONFIG["TARGET_CPU"] == "aarch64": |
72862 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 72412-72421
index 233c203847c4..0142ed0457e9 100644
Link Here
|
72412 |
|
72866 |
|
72413 |
-if CONFIG["TARGET_CPU"] == "arm": |
72867 |
-if CONFIG["TARGET_CPU"] == "arm": |
72414 |
- |
72868 |
- |
72415 |
- CXXFLAGS += [ |
|
|
72416 |
- "-mfpu=neon" |
72417 |
- ] |
72418 |
- |
72419 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
72869 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
72420 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
72870 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
72421 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
72871 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 72432-72443
index 233c203847c4..0142ed0457e9 100644
Link Here
|
72432 |
|
72882 |
|
72433 |
if CONFIG["TARGET_CPU"] == "x86": |
72883 |
if CONFIG["TARGET_CPU"] == "x86": |
72434 |
|
72884 |
|
72435 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
72885 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
72436 |
- |
72886 |
|
72437 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
72887 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
72438 |
- |
72888 |
|
72439 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
72440 |
- |
72441 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
72889 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
72442 |
- |
72890 |
- |
72443 |
- DEFINES["_DEBUG"] = True |
72891 |
- DEFINES["_DEBUG"] = True |
Lines 72459-72479
index 233c203847c4..0142ed0457e9 100644
Link Here
|
72459 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
72907 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
72460 |
- |
72908 |
- |
72461 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
72909 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
72462 |
- |
72910 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
72463 |
- DEFINES["USE_X11"] = "1" |
72911 |
|
72464 |
- |
72912 |
DEFINES["USE_X11"] = "1" |
|
|
72913 |
|
72465 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
72914 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
72466 |
- |
72915 |
- |
72467 |
- OS_LIBS += [ |
72916 |
- OS_LIBS += [ |
72468 |
- "unwind" |
72917 |
- "unwind" |
72469 |
- ] |
72918 |
- ] |
72470 |
- |
72919 |
- |
72471 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
72472 |
- |
72473 |
CXXFLAGS += [ |
72474 |
"-msse2" |
72475 |
] |
72476 |
|
72477 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
72920 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
72478 |
- |
72921 |
- |
72479 |
- DEFINES["_GNU_SOURCE"] = True |
72922 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 72483-72509
index 233c203847c4..0142ed0457e9 100644
Link Here
|
72483 |
- DEFINES["_GNU_SOURCE"] = True |
72926 |
- DEFINES["_GNU_SOURCE"] = True |
72484 |
- |
72927 |
- |
72485 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
72928 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
72486 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
72929 |
- |
72487 |
|
|
|
72488 |
- CXXFLAGS += [ |
72489 |
- "-msse2" |
72490 |
- ] |
72491 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
72492 |
|
72493 |
- DEFINES["_GNU_SOURCE"] = True |
72930 |
- DEFINES["_GNU_SOURCE"] = True |
72494 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
72931 |
- |
72495 |
|
|
|
72496 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
72932 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
72497 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
72933 |
- |
72498 |
|
|
|
72499 |
- DEFINES["_GNU_SOURCE"] = True |
72934 |
- DEFINES["_GNU_SOURCE"] = True |
72500 |
+ DEFINES["USE_X11"] = "1" |
72935 |
- |
72501 |
|
72936 |
Library("divide_round_gn") |
72502 |
Library("balanced_degradation_settings_gn") |
72937 |
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build |
72503 |
diff --git third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build |
72938 |
index fd82b23b98e3..e83d2e34dc26 100644 |
72504 |
index e8ae0afef0a3..a46ef7998d57 100644 |
72939 |
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build |
72505 |
--- third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build |
72940 |
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build |
72506 |
+++ third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build |
|
|
72507 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72941 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72508 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72942 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72509 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
72943 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 72526-72532
index e8ae0afef0a3..a46ef7998d57 100644
Link Here
|
72526 |
|
72960 |
|
72527 |
FINAL_LIBRARY = "xul" |
72961 |
FINAL_LIBRARY = "xul" |
72528 |
|
72962 |
|
72529 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
72963 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
72530 |
if CONFIG["MOZ_DEBUG"] == "1": |
72964 |
if CONFIG["MOZ_DEBUG"] == "1": |
72531 |
|
72965 |
|
72532 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
72966 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 72545-72554
index e8ae0afef0a3..a46ef7998d57 100644
Link Here
|
72545 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
72979 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
72546 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
72980 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
72547 |
- |
72981 |
- |
72548 |
- OS_LIBS += [ |
|
|
72549 |
- "log" |
72550 |
- ] |
72551 |
- |
72552 |
-if CONFIG["OS_TARGET"] == "Darwin": |
72982 |
-if CONFIG["OS_TARGET"] == "Darwin": |
72553 |
- |
72983 |
- |
72554 |
- DEFINES["WEBRTC_MAC"] = True |
72984 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 72614-72626
index e8ae0afef0a3..a46ef7998d57 100644
Link Here
|
72614 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
73044 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
72615 |
- DEFINES["_WINDOWS"] = True |
73045 |
- DEFINES["_WINDOWS"] = True |
72616 |
- DEFINES["__STD_C"] = True |
73046 |
- DEFINES["__STD_C"] = True |
72617 |
- |
|
|
72618 |
- OS_LIBS += [ |
72619 |
- "crypt32", |
72620 |
- "iphlpapi", |
72621 |
- "secur32", |
72622 |
- "winmm" |
72623 |
- ] |
72624 |
+ DEFINES["_DEBUG"] = True |
73047 |
+ DEFINES["_DEBUG"] = True |
72625 |
|
73048 |
|
72626 |
if CONFIG["TARGET_CPU"] == "aarch64": |
73049 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 72630-72639
index e8ae0afef0a3..a46ef7998d57 100644
Link Here
|
72630 |
|
73053 |
|
72631 |
-if CONFIG["TARGET_CPU"] == "arm": |
73054 |
-if CONFIG["TARGET_CPU"] == "arm": |
72632 |
- |
73055 |
- |
72633 |
- CXXFLAGS += [ |
|
|
72634 |
- "-mfpu=neon" |
72635 |
- ] |
72636 |
- |
72637 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
73056 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
72638 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
73057 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
72639 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
73058 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 72650-72661
index e8ae0afef0a3..a46ef7998d57 100644
Link Here
|
72650 |
|
73069 |
|
72651 |
if CONFIG["TARGET_CPU"] == "x86": |
73070 |
if CONFIG["TARGET_CPU"] == "x86": |
72652 |
|
73071 |
|
72653 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
73072 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
72654 |
- |
73073 |
|
72655 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
73074 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
72656 |
- |
73075 |
|
72657 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
72658 |
- |
72659 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
73076 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
72660 |
- |
73077 |
- |
72661 |
- DEFINES["_DEBUG"] = True |
73078 |
- DEFINES["_DEBUG"] = True |
Lines 72677-72697
index e8ae0afef0a3..a46ef7998d57 100644
Link Here
|
72677 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
73094 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
72678 |
- |
73095 |
- |
72679 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
73096 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
72680 |
- |
73097 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
72681 |
- DEFINES["USE_X11"] = "1" |
73098 |
|
72682 |
- |
73099 |
DEFINES["USE_X11"] = "1" |
|
|
73100 |
|
72683 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
73101 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
72684 |
- |
73102 |
- |
72685 |
- OS_LIBS += [ |
73103 |
- OS_LIBS += [ |
72686 |
- "unwind" |
73104 |
- "unwind" |
72687 |
- ] |
73105 |
- ] |
72688 |
- |
73106 |
- |
72689 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
72690 |
- |
72691 |
CXXFLAGS += [ |
72692 |
"-msse2" |
72693 |
] |
72694 |
|
72695 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
73107 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
72696 |
- |
73108 |
- |
72697 |
- DEFINES["_GNU_SOURCE"] = True |
73109 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 72701-72727
index e8ae0afef0a3..a46ef7998d57 100644
Link Here
|
72701 |
- DEFINES["_GNU_SOURCE"] = True |
73113 |
- DEFINES["_GNU_SOURCE"] = True |
72702 |
- |
73114 |
- |
72703 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
73115 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
72704 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
73116 |
- |
72705 |
|
|
|
72706 |
- CXXFLAGS += [ |
72707 |
- "-msse2" |
72708 |
- ] |
72709 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
72710 |
|
72711 |
- DEFINES["_GNU_SOURCE"] = True |
73117 |
- DEFINES["_GNU_SOURCE"] = True |
72712 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
73118 |
- |
72713 |
|
|
|
72714 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
73119 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
72715 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
73120 |
- |
72716 |
|
|
|
72717 |
- DEFINES["_GNU_SOURCE"] = True |
73121 |
- DEFINES["_GNU_SOURCE"] = True |
72718 |
+ DEFINES["USE_X11"] = "1" |
73122 |
- |
72719 |
|
73123 |
Library("dscp_gn") |
72720 |
Library("bandwidth_quality_scaler_settings_gn") |
73124 |
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build |
72721 |
diff --git third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build |
73125 |
index 2ea470772f4b..1235e95439b9 100644 |
72722 |
index 00af297d92c7..cfa672be2411 100644 |
73126 |
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build |
72723 |
--- third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build |
73127 |
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build |
72724 |
+++ third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build |
|
|
72725 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
73128 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72726 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
73129 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72727 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
73130 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 72935-72945
index 00af297d92c7..cfa672be2411 100644
Link Here
|
72935 |
- DEFINES["_GNU_SOURCE"] = True |
73338 |
- DEFINES["_GNU_SOURCE"] = True |
72936 |
+ DEFINES["USE_X11"] = "1" |
73339 |
+ DEFINES["USE_X11"] = "1" |
72937 |
|
73340 |
|
72938 |
Library("cpu_speed_experiment_gn") |
73341 |
Library("event_tracer_gn") |
72939 |
diff --git third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build |
73342 |
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build |
72940 |
index 9866a74964c7..a09edc6dce96 100644 |
73343 |
index 09174a3a20ab..f906bc9cd246 100644 |
72941 |
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build |
73344 |
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build |
72942 |
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build |
73345 |
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build |
72943 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
73346 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
72944 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
73347 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
72945 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
73348 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 73153-73163
index 9866a74964c7..a09edc6dce96 100644
Link Here
|
73153 |
- DEFINES["_GNU_SOURCE"] = True |
73556 |
- DEFINES["_GNU_SOURCE"] = True |
73154 |
+ DEFINES["USE_X11"] = "1" |
73557 |
+ DEFINES["USE_X11"] = "1" |
73155 |
|
73558 |
|
73156 |
Library("encoder_info_settings_gn") |
73559 |
Library("alr_experiment_gn") |
73157 |
diff --git third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build |
73560 |
diff --git third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build |
73158 |
index 520c4db65a2b..00eca302cf45 100644 |
73561 |
index 233c203847c4..0142ed0457e9 100644 |
73159 |
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build |
73562 |
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build |
73160 |
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build |
73563 |
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build |
73161 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
73564 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
73162 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
73565 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
73163 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
73566 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 73180-73186
index 520c4db65a2b..00eca302cf45 100644
Link Here
|
73180 |
|
73583 |
|
73181 |
FINAL_LIBRARY = "xul" |
73584 |
FINAL_LIBRARY = "xul" |
73182 |
|
73585 |
|
73183 |
@@ -46,185 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: |
73586 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
73184 |
if CONFIG["MOZ_DEBUG"] == "1": |
73587 |
if CONFIG["MOZ_DEBUG"] == "1": |
73185 |
|
73588 |
|
73186 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
73589 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 73371-73381
index 520c4db65a2b..00eca302cf45 100644
Link Here
|
73371 |
- DEFINES["_GNU_SOURCE"] = True |
73774 |
- DEFINES["_GNU_SOURCE"] = True |
73372 |
+ DEFINES["USE_X11"] = "1" |
73775 |
+ DEFINES["USE_X11"] = "1" |
73373 |
|
73776 |
|
73374 |
Library("field_trial_parser_gn") |
73777 |
Library("balanced_degradation_settings_gn") |
73375 |
diff --git third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build |
73778 |
diff --git third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build |
73376 |
index 397f0dd3ce6f..42e0bfc0b541 100644 |
73779 |
index 9866a74964c7..a09edc6dce96 100644 |
73377 |
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build |
73780 |
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build |
73378 |
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build |
73781 |
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build |
73379 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
73782 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
73380 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
73783 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
73381 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
73784 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 73589-73599
index 397f0dd3ce6f..42e0bfc0b541 100644
Link Here
|
73589 |
- DEFINES["_GNU_SOURCE"] = True |
73992 |
- DEFINES["_GNU_SOURCE"] = True |
73590 |
+ DEFINES["USE_X11"] = "1" |
73993 |
+ DEFINES["USE_X11"] = "1" |
73591 |
|
73994 |
|
73592 |
Library("keyframe_interval_settings_experiment_gn") |
73995 |
Library("encoder_info_settings_gn") |
73593 |
diff --git third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build |
73996 |
diff --git third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build |
73594 |
index 5cd3bb4a2bf0..09ebf5322ea7 100644 |
73997 |
index 520c4db65a2b..00eca302cf45 100644 |
73595 |
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build |
73998 |
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build |
73596 |
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build |
73999 |
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build |
73597 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74000 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
73598 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74001 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
73599 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
74002 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 73616-73622
index 5cd3bb4a2bf0..09ebf5322ea7 100644
Link Here
|
73616 |
|
74019 |
|
73617 |
FINAL_LIBRARY = "xul" |
74020 |
FINAL_LIBRARY = "xul" |
73618 |
|
74021 |
|
73619 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
74022 |
@@ -46,185 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: |
73620 |
if CONFIG["MOZ_DEBUG"] == "1": |
74023 |
if CONFIG["MOZ_DEBUG"] == "1": |
73621 |
|
74024 |
|
73622 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
74025 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 73807-73817
index 5cd3bb4a2bf0..09ebf5322ea7 100644
Link Here
|
73807 |
- DEFINES["_GNU_SOURCE"] = True |
74210 |
- DEFINES["_GNU_SOURCE"] = True |
73808 |
+ DEFINES["USE_X11"] = "1" |
74211 |
+ DEFINES["USE_X11"] = "1" |
73809 |
|
74212 |
|
73810 |
Library("min_video_bitrate_experiment_gn") |
74213 |
Library("field_trial_parser_gn") |
73811 |
diff --git third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build |
74214 |
diff --git third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build |
73812 |
index 9c3e585bf972..89f9af863d4a 100644 |
74215 |
index 397f0dd3ce6f..42e0bfc0b541 100644 |
73813 |
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build |
74216 |
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build |
73814 |
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build |
74217 |
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build |
73815 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74218 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
73816 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74219 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
73817 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
74220 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 74025-74035
index 9c3e585bf972..89f9af863d4a 100644
Link Here
|
74025 |
- DEFINES["_GNU_SOURCE"] = True |
74428 |
- DEFINES["_GNU_SOURCE"] = True |
74026 |
+ DEFINES["USE_X11"] = "1" |
74429 |
+ DEFINES["USE_X11"] = "1" |
74027 |
|
74430 |
|
74028 |
Library("normalize_simulcast_size_experiment_gn") |
74431 |
Library("keyframe_interval_settings_experiment_gn") |
74029 |
diff --git third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build |
74432 |
diff --git third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build |
74030 |
index a03ad630cd73..a008cbfdd569 100644 |
74433 |
index 5cd3bb4a2bf0..09ebf5322ea7 100644 |
74031 |
--- third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build |
74434 |
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build |
74032 |
+++ third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build |
74435 |
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build |
74033 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74436 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74034 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74437 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74035 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
74438 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 74243-74253
index a03ad630cd73..a008cbfdd569 100644
Link Here
|
74243 |
- DEFINES["_GNU_SOURCE"] = True |
74646 |
- DEFINES["_GNU_SOURCE"] = True |
74244 |
+ DEFINES["USE_X11"] = "1" |
74647 |
+ DEFINES["USE_X11"] = "1" |
74245 |
|
74648 |
|
74246 |
Library("quality_rampup_experiment_gn") |
74649 |
Library("min_video_bitrate_experiment_gn") |
74247 |
diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build |
74650 |
diff --git third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build |
74248 |
index d1b4330a18db..de18961b8154 100644 |
74651 |
index 9c3e585bf972..89f9af863d4a 100644 |
74249 |
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build |
74652 |
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build |
74250 |
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build |
74653 |
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build |
74251 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74654 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74252 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74655 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74253 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
74656 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 74461-74471
index d1b4330a18db..de18961b8154 100644
Link Here
|
74461 |
- DEFINES["_GNU_SOURCE"] = True |
74864 |
- DEFINES["_GNU_SOURCE"] = True |
74462 |
+ DEFINES["USE_X11"] = "1" |
74865 |
+ DEFINES["USE_X11"] = "1" |
74463 |
|
74866 |
|
74464 |
Library("quality_scaler_settings_gn") |
74867 |
Library("normalize_simulcast_size_experiment_gn") |
74465 |
diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build |
74868 |
diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build |
74466 |
index 8e75fbc3b032..79fc2e93ba33 100644 |
74869 |
index d1b4330a18db..de18961b8154 100644 |
74467 |
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build |
74870 |
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build |
74468 |
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build |
74871 |
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build |
74469 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74872 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74470 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74873 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74471 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
74874 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 74679-74689
index 8e75fbc3b032..79fc2e93ba33 100644
Link Here
|
74679 |
- DEFINES["_GNU_SOURCE"] = True |
75082 |
- DEFINES["_GNU_SOURCE"] = True |
74680 |
+ DEFINES["USE_X11"] = "1" |
75083 |
+ DEFINES["USE_X11"] = "1" |
74681 |
|
75084 |
|
74682 |
Library("quality_scaling_experiment_gn") |
75085 |
Library("quality_scaler_settings_gn") |
74683 |
diff --git third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build |
75086 |
diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build |
74684 |
index 0051ac37f9e8..fe9271425d64 100644 |
75087 |
index 8e75fbc3b032..79fc2e93ba33 100644 |
74685 |
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build |
75088 |
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build |
74686 |
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build |
75089 |
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build |
74687 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75090 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74688 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75091 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74689 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
75092 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 74897-74907
index 0051ac37f9e8..fe9271425d64 100644
Link Here
|
74897 |
- DEFINES["_GNU_SOURCE"] = True |
75300 |
- DEFINES["_GNU_SOURCE"] = True |
74898 |
+ DEFINES["USE_X11"] = "1" |
75301 |
+ DEFINES["USE_X11"] = "1" |
74899 |
|
75302 |
|
74900 |
Library("rate_control_settings_gn") |
75303 |
Library("quality_scaling_experiment_gn") |
74901 |
diff --git third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build |
75304 |
diff --git third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build |
74902 |
index 2c239310fc08..5e98394eef8b 100644 |
75305 |
index 0051ac37f9e8..fe9271425d64 100644 |
74903 |
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build |
75306 |
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build |
74904 |
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build |
75307 |
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build |
74905 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75308 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
74906 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75309 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
74907 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
75310 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 75115-75125
index 2c239310fc08..5e98394eef8b 100644
Link Here
|
75115 |
- DEFINES["_GNU_SOURCE"] = True |
75518 |
- DEFINES["_GNU_SOURCE"] = True |
75116 |
+ DEFINES["USE_X11"] = "1" |
75519 |
+ DEFINES["USE_X11"] = "1" |
75117 |
|
75520 |
|
75118 |
Library("stable_target_rate_experiment_gn") |
75521 |
Library("rate_control_settings_gn") |
75119 |
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build |
75522 |
diff --git third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build |
75120 |
index 87a5e335eb06..ba58d3df2494 100644 |
75523 |
index 2c239310fc08..5e98394eef8b 100644 |
75121 |
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build |
75524 |
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build |
75122 |
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build |
75525 |
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build |
75123 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75526 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75124 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75527 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75125 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
75528 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 75333-75343
index 87a5e335eb06..ba58d3df2494 100644
Link Here
|
75333 |
- DEFINES["_GNU_SOURCE"] = True |
75736 |
- DEFINES["_GNU_SOURCE"] = True |
75334 |
+ DEFINES["USE_X11"] = "1" |
75737 |
+ DEFINES["USE_X11"] = "1" |
75335 |
|
75738 |
|
75336 |
Library("frequency_tracker_gn") |
75739 |
Library("stable_target_rate_experiment_gn") |
75337 |
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build |
75740 |
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build |
75338 |
index 03bb1071f60c..6e5808f68281 100644 |
75741 |
index 87a5e335eb06..ba58d3df2494 100644 |
75339 |
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build |
75742 |
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build |
75340 |
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build |
75743 |
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build |
75341 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75744 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75342 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75745 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75343 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
75746 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 75360-75366
index 03bb1071f60c..6e5808f68281 100644
Link Here
|
75360 |
|
75763 |
|
75361 |
FINAL_LIBRARY = "xul" |
75764 |
FINAL_LIBRARY = "xul" |
75362 |
|
75765 |
|
75363 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
75766 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
75364 |
if CONFIG["MOZ_DEBUG"] == "1": |
75767 |
if CONFIG["MOZ_DEBUG"] == "1": |
75365 |
|
75768 |
|
75366 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
75769 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 75379-75384
index 03bb1071f60c..6e5808f68281 100644
Link Here
|
75379 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
75782 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
75380 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
75783 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
75381 |
- |
75784 |
- |
|
|
75785 |
- OS_LIBS += [ |
75786 |
- "log" |
75787 |
- ] |
75788 |
- |
75382 |
-if CONFIG["OS_TARGET"] == "Darwin": |
75789 |
-if CONFIG["OS_TARGET"] == "Darwin": |
75383 |
- |
75790 |
- |
75384 |
- DEFINES["WEBRTC_MAC"] = True |
75791 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 75444-75449
index 03bb1071f60c..6e5808f68281 100644
Link Here
|
75444 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
75851 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
75445 |
- DEFINES["_WINDOWS"] = True |
75852 |
- DEFINES["_WINDOWS"] = True |
75446 |
- DEFINES["__STD_C"] = True |
75853 |
- DEFINES["__STD_C"] = True |
|
|
75854 |
- |
75855 |
- OS_LIBS += [ |
75856 |
- "crypt32", |
75857 |
- "iphlpapi", |
75858 |
- "secur32", |
75859 |
- "winmm" |
75860 |
- ] |
75447 |
+ DEFINES["_DEBUG"] = True |
75861 |
+ DEFINES["_DEBUG"] = True |
75448 |
|
75862 |
|
75449 |
if CONFIG["TARGET_CPU"] == "aarch64": |
75863 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 75453-75458
index 03bb1071f60c..6e5808f68281 100644
Link Here
|
75453 |
|
75867 |
|
75454 |
-if CONFIG["TARGET_CPU"] == "arm": |
75868 |
-if CONFIG["TARGET_CPU"] == "arm": |
75455 |
- |
75869 |
- |
|
|
75870 |
- CXXFLAGS += [ |
75871 |
- "-mfpu=neon" |
75872 |
- ] |
75873 |
- |
75456 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
75874 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
75457 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
75875 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
75458 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
75876 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 75469-75478
index 03bb1071f60c..6e5808f68281 100644
Link Here
|
75469 |
|
75887 |
|
75470 |
if CONFIG["TARGET_CPU"] == "x86": |
75888 |
if CONFIG["TARGET_CPU"] == "x86": |
75471 |
|
75889 |
|
75472 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
75890 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
75473 |
|
75891 |
- |
75474 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
75892 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
75475 |
|
75893 |
- |
|
|
75894 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
75895 |
- |
75476 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
75896 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
75477 |
- |
75897 |
- |
75478 |
- DEFINES["_DEBUG"] = True |
75898 |
- DEFINES["_DEBUG"] = True |
Lines 75494-75509
index 03bb1071f60c..6e5808f68281 100644
Link Here
|
75494 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
75914 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
75495 |
- |
75915 |
- |
75496 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
75916 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
75497 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
75917 |
- |
75498 |
|
75918 |
- DEFINES["USE_X11"] = "1" |
75499 |
DEFINES["USE_X11"] = "1" |
75919 |
- |
75500 |
|
|
|
75501 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
75920 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
75502 |
- |
75921 |
- |
75503 |
- OS_LIBS += [ |
75922 |
- OS_LIBS += [ |
75504 |
- "unwind" |
75923 |
- "unwind" |
75505 |
- ] |
75924 |
- ] |
75506 |
- |
75925 |
- |
|
|
75926 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
75927 |
- |
75928 |
CXXFLAGS += [ |
75929 |
"-msse2" |
75930 |
] |
75931 |
|
75507 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
75932 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
75508 |
- |
75933 |
- |
75509 |
- DEFINES["_GNU_SOURCE"] = True |
75934 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 75513-75530
index 03bb1071f60c..6e5808f68281 100644
Link Here
|
75513 |
- DEFINES["_GNU_SOURCE"] = True |
75938 |
- DEFINES["_GNU_SOURCE"] = True |
75514 |
- |
75939 |
- |
75515 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
75940 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
75516 |
- |
75941 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
75942 |
|
75943 |
- CXXFLAGS += [ |
75944 |
- "-msse2" |
75945 |
- ] |
75946 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
75947 |
|
75517 |
- DEFINES["_GNU_SOURCE"] = True |
75948 |
- DEFINES["_GNU_SOURCE"] = True |
75518 |
- |
75949 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
75950 |
|
75519 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
75951 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
75520 |
- |
75952 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
75953 |
|
75521 |
- DEFINES["_GNU_SOURCE"] = True |
75954 |
- DEFINES["_GNU_SOURCE"] = True |
75522 |
- |
75955 |
+ DEFINES["USE_X11"] = "1" |
75523 |
Library("gtest_prod_gn") |
75956 |
|
75524 |
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build |
75957 |
Library("frequency_tracker_gn") |
75525 |
index 3f7a2c1ffa1f..042fc6088182 100644 |
75958 |
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build |
75526 |
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build |
75959 |
index 03bb1071f60c..6e5808f68281 100644 |
75527 |
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build |
75960 |
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build |
|
|
75961 |
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build |
75528 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75962 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75529 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75963 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75530 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
75964 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 75547-75553
index 3f7a2c1ffa1f..042fc6088182 100644
Link Here
|
75547 |
|
75981 |
|
75548 |
FINAL_LIBRARY = "xul" |
75982 |
FINAL_LIBRARY = "xul" |
75549 |
|
75983 |
|
75550 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
75984 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
75551 |
if CONFIG["MOZ_DEBUG"] == "1": |
75985 |
if CONFIG["MOZ_DEBUG"] == "1": |
75552 |
|
75986 |
|
75553 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
75987 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 75566-75575
index 3f7a2c1ffa1f..042fc6088182 100644
Link Here
|
75566 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
76000 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
75567 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76001 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
75568 |
- |
76002 |
- |
75569 |
- OS_LIBS += [ |
|
|
75570 |
- "log" |
75571 |
- ] |
75572 |
- |
75573 |
-if CONFIG["OS_TARGET"] == "Darwin": |
76003 |
-if CONFIG["OS_TARGET"] == "Darwin": |
75574 |
- |
76004 |
- |
75575 |
- DEFINES["WEBRTC_MAC"] = True |
76005 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 75644-75653
index 3f7a2c1ffa1f..042fc6088182 100644
Link Here
|
75644 |
|
76074 |
|
75645 |
-if CONFIG["TARGET_CPU"] == "arm": |
76075 |
-if CONFIG["TARGET_CPU"] == "arm": |
75646 |
- |
76076 |
- |
75647 |
- CXXFLAGS += [ |
|
|
75648 |
- "-mfpu=neon" |
75649 |
- ] |
75650 |
- |
75651 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76077 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
75652 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76078 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
75653 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
76079 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 75664-75675
index 3f7a2c1ffa1f..042fc6088182 100644
Link Here
|
75664 |
|
76090 |
|
75665 |
if CONFIG["TARGET_CPU"] == "x86": |
76091 |
if CONFIG["TARGET_CPU"] == "x86": |
75666 |
|
76092 |
|
75667 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76093 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
75668 |
- |
76094 |
|
75669 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
76095 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
75670 |
- |
76096 |
|
75671 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
75672 |
- |
75673 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
76097 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
75674 |
- |
76098 |
- |
75675 |
- DEFINES["_DEBUG"] = True |
76099 |
- DEFINES["_DEBUG"] = True |
Lines 75691-75711
index 3f7a2c1ffa1f..042fc6088182 100644
Link Here
|
75691 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
76115 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
75692 |
- |
76116 |
- |
75693 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
76117 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
75694 |
- |
76118 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
75695 |
- DEFINES["USE_X11"] = "1" |
76119 |
|
75696 |
- |
76120 |
DEFINES["USE_X11"] = "1" |
|
|
76121 |
|
75697 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
76122 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
75698 |
- |
76123 |
- |
75699 |
- OS_LIBS += [ |
76124 |
- OS_LIBS += [ |
75700 |
- "unwind" |
76125 |
- "unwind" |
75701 |
- ] |
76126 |
- ] |
75702 |
- |
76127 |
- |
75703 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
75704 |
- |
75705 |
CXXFLAGS += [ |
75706 |
"-msse2" |
75707 |
] |
75708 |
|
75709 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
76128 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
75710 |
- |
76129 |
- |
75711 |
- DEFINES["_GNU_SOURCE"] = True |
76130 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 75715-75842
index 3f7a2c1ffa1f..042fc6088182 100644
Link Here
|
75715 |
- DEFINES["_GNU_SOURCE"] = True |
76134 |
- DEFINES["_GNU_SOURCE"] = True |
75716 |
- |
76135 |
- |
75717 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
76136 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
75718 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
75719 |
|
75720 |
- CXXFLAGS += [ |
75721 |
- "-msse2" |
75722 |
- ] |
75723 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
75724 |
|
75725 |
- DEFINES["_GNU_SOURCE"] = True |
75726 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
75727 |
|
75728 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
75729 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
75730 |
|
75731 |
- DEFINES["_GNU_SOURCE"] = True |
75732 |
+ DEFINES["USE_X11"] = "1" |
75733 |
|
75734 |
Library("histogram_percentile_counter_gn") |
75735 |
diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build |
75736 |
deleted file mode 100644 |
75737 |
index d89873bf7483..000000000000 |
75738 |
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build |
75739 |
+++ /dev/null |
75740 |
@@ -1,95 +0,0 @@ |
75741 |
-# This Source Code Form is subject to the terms of the Mozilla Public |
75742 |
-# License, v. 2.0. If a copy of the MPL was not distributed with this |
75743 |
-# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
75744 |
- |
75745 |
- |
76137 |
- |
75746 |
- ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### |
76138 |
- DEFINES["_GNU_SOURCE"] = True |
75747 |
- ### DO NOT edit it by hand. ### |
|
|
75748 |
- |
75749 |
-COMPILE_FLAGS["OS_INCLUDES"] = [] |
75750 |
-AllowCompilerWarnings() |
75751 |
- |
75752 |
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75753 |
-DEFINES["ANDROID"] = True |
75754 |
-DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
75755 |
-DEFINES["HAVE_SYS_UIO_H"] = True |
75756 |
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
75757 |
-DEFINES["RTC_ENABLE_VP9"] = True |
75758 |
-DEFINES["WEBRTC_ANDROID"] = True |
75759 |
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
75760 |
-DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
75761 |
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
75762 |
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
75763 |
-DEFINES["WEBRTC_LINUX"] = True |
75764 |
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
75765 |
-DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
75766 |
-DEFINES["WEBRTC_POSIX"] = True |
75767 |
-DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
75768 |
-DEFINES["_GNU_SOURCE"] = True |
75769 |
-DEFINES["__STDC_CONSTANT_MACROS"] = True |
75770 |
-DEFINES["__STDC_FORMAT_MACROS"] = True |
75771 |
- |
75772 |
-FINAL_LIBRARY = "xul" |
75773 |
- |
75774 |
- |
75775 |
-LOCAL_INCLUDES += [ |
75776 |
- "!/ipc/ipdl/_ipdlheaders", |
75777 |
- "!/third_party/libwebrtc/gen", |
75778 |
- "/ipc/chromium/src", |
75779 |
- "/third_party/libwebrtc/", |
75780 |
- "/third_party/libwebrtc/third_party/abseil-cpp/", |
75781 |
- "/tools/profiler/public" |
75782 |
-] |
75783 |
- |
75784 |
-OS_LIBS += [ |
75785 |
- "GLESv2", |
75786 |
- "log" |
75787 |
-] |
75788 |
- |
75789 |
-UNIFIED_SOURCES += [ |
75790 |
- "/third_party/libwebrtc/rtc_base/ifaddrs_android.cc" |
75791 |
-] |
75792 |
- |
75793 |
-if not CONFIG["MOZ_DEBUG"]: |
75794 |
- |
75795 |
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" |
75796 |
- DEFINES["NDEBUG"] = True |
75797 |
- DEFINES["NVALGRIND"] = True |
75798 |
- |
75799 |
-if CONFIG["MOZ_DEBUG"] == "1": |
75800 |
- |
75801 |
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
75802 |
- DEFINES["_DEBUG"] = True |
75803 |
- |
75804 |
-if CONFIG["TARGET_CPU"] == "aarch64": |
75805 |
- |
75806 |
- DEFINES["WEBRTC_ARCH_ARM64"] = True |
75807 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
75808 |
- |
75809 |
-if CONFIG["TARGET_CPU"] == "arm": |
75810 |
- |
75811 |
- CXXFLAGS += [ |
75812 |
- "-mfpu=neon" |
75813 |
- ] |
75814 |
- |
75815 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
75816 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
75817 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
75818 |
- |
75819 |
- OS_LIBS += [ |
75820 |
- "unwind" |
75821 |
- ] |
75822 |
- |
75823 |
-if CONFIG["TARGET_CPU"] == "x86": |
75824 |
- |
75825 |
- CXXFLAGS += [ |
75826 |
- "-msse2" |
75827 |
- ] |
75828 |
- |
75829 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
75830 |
- |
76139 |
- |
75831 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
76140 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
75832 |
- |
76141 |
- |
75833 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76142 |
- DEFINES["_GNU_SOURCE"] = True |
75834 |
- |
76143 |
- |
75835 |
-Library("ifaddrs_android_gn") |
76144 |
Library("gtest_prod_gn") |
75836 |
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build |
76145 |
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build |
75837 |
index 06009fc8668e..4f9eacbcf8a7 100644 |
76146 |
index 3f7a2c1ffa1f..042fc6088182 100644 |
75838 |
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build |
76147 |
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build |
75839 |
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build |
76148 |
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build |
75840 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
76149 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
75841 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76150 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
75842 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
76151 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 75859-75865
index 06009fc8668e..4f9eacbcf8a7 100644
Link Here
|
75859 |
|
76168 |
|
75860 |
FINAL_LIBRARY = "xul" |
76169 |
FINAL_LIBRARY = "xul" |
75861 |
|
76170 |
|
75862 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
76171 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
75863 |
if CONFIG["MOZ_DEBUG"] == "1": |
76172 |
if CONFIG["MOZ_DEBUG"] == "1": |
75864 |
|
76173 |
|
75865 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
76174 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 75878-75883
index 06009fc8668e..4f9eacbcf8a7 100644
Link Here
|
75878 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
76187 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
75879 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76188 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
75880 |
- |
76189 |
- |
|
|
76190 |
- OS_LIBS += [ |
76191 |
- "log" |
76192 |
- ] |
76193 |
- |
75881 |
-if CONFIG["OS_TARGET"] == "Darwin": |
76194 |
-if CONFIG["OS_TARGET"] == "Darwin": |
75882 |
- |
76195 |
- |
75883 |
- DEFINES["WEBRTC_MAC"] = True |
76196 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 75952-75957
index 06009fc8668e..4f9eacbcf8a7 100644
Link Here
|
75952 |
|
76265 |
|
75953 |
-if CONFIG["TARGET_CPU"] == "arm": |
76266 |
-if CONFIG["TARGET_CPU"] == "arm": |
75954 |
- |
76267 |
- |
|
|
76268 |
- CXXFLAGS += [ |
76269 |
- "-mfpu=neon" |
76270 |
- ] |
76271 |
- |
75955 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76272 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
75956 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76273 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
75957 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
76274 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 75968-75977
index 06009fc8668e..4f9eacbcf8a7 100644
Link Here
|
75968 |
|
76285 |
|
75969 |
if CONFIG["TARGET_CPU"] == "x86": |
76286 |
if CONFIG["TARGET_CPU"] == "x86": |
75970 |
|
76287 |
|
75971 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
76288 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
75972 |
|
76289 |
- |
75973 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76290 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
75974 |
|
76291 |
- |
|
|
76292 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76293 |
- |
75975 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
76294 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
75976 |
- |
76295 |
- |
75977 |
- DEFINES["_DEBUG"] = True |
76296 |
- DEFINES["_DEBUG"] = True |
Lines 75993-76008
index 06009fc8668e..4f9eacbcf8a7 100644
Link Here
|
75993 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
76312 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
75994 |
- |
76313 |
- |
75995 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
76314 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
75996 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
76315 |
- |
75997 |
|
76316 |
- DEFINES["USE_X11"] = "1" |
75998 |
DEFINES["USE_X11"] = "1" |
76317 |
- |
75999 |
|
|
|
76000 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
76318 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
76001 |
- |
76319 |
- |
76002 |
- OS_LIBS += [ |
76320 |
- OS_LIBS += [ |
76003 |
- "unwind" |
76321 |
- "unwind" |
76004 |
- ] |
76322 |
- ] |
76005 |
- |
76323 |
- |
|
|
76324 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
76325 |
- |
76326 |
CXXFLAGS += [ |
76327 |
"-msse2" |
76328 |
] |
76329 |
|
76006 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
76330 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
76007 |
- |
76331 |
- |
76008 |
- DEFINES["_GNU_SOURCE"] = True |
76332 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 76012-76029
index 06009fc8668e..4f9eacbcf8a7 100644
Link Here
|
76012 |
- DEFINES["_GNU_SOURCE"] = True |
76336 |
- DEFINES["_GNU_SOURCE"] = True |
76013 |
- |
76337 |
- |
76014 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
76338 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
76015 |
- |
76339 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
76340 |
|
76341 |
- CXXFLAGS += [ |
76342 |
- "-msse2" |
76343 |
- ] |
76344 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
76345 |
|
76016 |
- DEFINES["_GNU_SOURCE"] = True |
76346 |
- DEFINES["_GNU_SOURCE"] = True |
76017 |
- |
76347 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
76348 |
|
76018 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
76349 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
76019 |
- |
76350 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
76351 |
|
76020 |
- DEFINES["_GNU_SOURCE"] = True |
76352 |
- DEFINES["_GNU_SOURCE"] = True |
|
|
76353 |
+ DEFINES["USE_X11"] = "1" |
76354 |
|
76355 |
Library("histogram_percentile_counter_gn") |
76356 |
diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build |
76357 |
deleted file mode 100644 |
76358 |
index d89873bf7483..000000000000 |
76359 |
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build |
76360 |
+++ /dev/null |
76361 |
@@ -1,95 +0,0 @@ |
76362 |
-# This Source Code Form is subject to the terms of the Mozilla Public |
76363 |
-# License, v. 2.0. If a copy of the MPL was not distributed with this |
76364 |
-# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
76021 |
- |
76365 |
- |
76022 |
Library("ignore_wundef_gn") |
76366 |
- |
76023 |
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build |
76367 |
- ### This moz.build was AUTOMATICALLY GENERATED from a GN config, ### |
76024 |
index c2f9eb412bca..df8f9503cb8a 100644 |
76368 |
- ### DO NOT edit it by hand. ### |
76025 |
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build |
76369 |
- |
76026 |
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build |
76370 |
-COMPILE_FLAGS["OS_INCLUDES"] = [] |
|
|
76371 |
-AllowCompilerWarnings() |
76372 |
- |
76373 |
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76374 |
-DEFINES["ANDROID"] = True |
76375 |
-DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
76376 |
-DEFINES["HAVE_SYS_UIO_H"] = True |
76377 |
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
76378 |
-DEFINES["RTC_ENABLE_VP9"] = True |
76379 |
-DEFINES["WEBRTC_ANDROID"] = True |
76380 |
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
76381 |
-DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
76382 |
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
76383 |
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
76384 |
-DEFINES["WEBRTC_LINUX"] = True |
76385 |
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
76386 |
-DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
76387 |
-DEFINES["WEBRTC_POSIX"] = True |
76388 |
-DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
76389 |
-DEFINES["_GNU_SOURCE"] = True |
76390 |
-DEFINES["__STDC_CONSTANT_MACROS"] = True |
76391 |
-DEFINES["__STDC_FORMAT_MACROS"] = True |
76392 |
- |
76393 |
-FINAL_LIBRARY = "xul" |
76394 |
- |
76395 |
- |
76396 |
-LOCAL_INCLUDES += [ |
76397 |
- "!/ipc/ipdl/_ipdlheaders", |
76398 |
- "!/third_party/libwebrtc/gen", |
76399 |
- "/ipc/chromium/src", |
76400 |
- "/third_party/libwebrtc/", |
76401 |
- "/third_party/libwebrtc/third_party/abseil-cpp/", |
76402 |
- "/tools/profiler/public" |
76403 |
-] |
76404 |
- |
76405 |
-OS_LIBS += [ |
76406 |
- "GLESv2", |
76407 |
- "log" |
76408 |
-] |
76409 |
- |
76410 |
-UNIFIED_SOURCES += [ |
76411 |
- "/third_party/libwebrtc/rtc_base/ifaddrs_android.cc" |
76412 |
-] |
76413 |
- |
76414 |
-if not CONFIG["MOZ_DEBUG"]: |
76415 |
- |
76416 |
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" |
76417 |
- DEFINES["NDEBUG"] = True |
76418 |
- DEFINES["NVALGRIND"] = True |
76419 |
- |
76420 |
-if CONFIG["MOZ_DEBUG"] == "1": |
76421 |
- |
76422 |
- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
76423 |
- DEFINES["_DEBUG"] = True |
76424 |
- |
76425 |
-if CONFIG["TARGET_CPU"] == "aarch64": |
76426 |
- |
76427 |
- DEFINES["WEBRTC_ARCH_ARM64"] = True |
76428 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
76429 |
- |
76430 |
-if CONFIG["TARGET_CPU"] == "arm": |
76431 |
- |
76432 |
- CXXFLAGS += [ |
76433 |
- "-mfpu=neon" |
76434 |
- ] |
76435 |
- |
76436 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76437 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76438 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
76439 |
- |
76440 |
- OS_LIBS += [ |
76441 |
- "unwind" |
76442 |
- ] |
76443 |
- |
76444 |
-if CONFIG["TARGET_CPU"] == "x86": |
76445 |
- |
76446 |
- CXXFLAGS += [ |
76447 |
- "-msse2" |
76448 |
- ] |
76449 |
- |
76450 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76451 |
- |
76452 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
76453 |
- |
76454 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76455 |
- |
76456 |
-Library("ifaddrs_android_gn") |
76457 |
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build |
76458 |
index 06009fc8668e..4f9eacbcf8a7 100644 |
76459 |
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build |
76460 |
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build |
76027 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
76461 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
76028 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76462 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76029 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
76463 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 76046-76052
index c2f9eb412bca..df8f9503cb8a 100644
Link Here
|
76046 |
|
76480 |
|
76047 |
FINAL_LIBRARY = "xul" |
76481 |
FINAL_LIBRARY = "xul" |
76048 |
|
76482 |
|
76049 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
76483 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
76050 |
if CONFIG["MOZ_DEBUG"] == "1": |
76484 |
if CONFIG["MOZ_DEBUG"] == "1": |
76051 |
|
76485 |
|
76052 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
76486 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 76065-76075
index c2f9eb412bca..df8f9503cb8a 100644
Link Here
|
76065 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
76499 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
76066 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76500 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76067 |
- |
76501 |
- |
76068 |
- OS_LIBS += [ |
|
|
76069 |
- "GLESv2", |
76070 |
- "log" |
76071 |
- ] |
76072 |
- |
76073 |
-if CONFIG["OS_TARGET"] == "Darwin": |
76502 |
-if CONFIG["OS_TARGET"] == "Darwin": |
76074 |
- |
76503 |
- |
76075 |
- DEFINES["WEBRTC_MAC"] = True |
76504 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 76135-76146
index c2f9eb412bca..df8f9503cb8a 100644
Link Here
|
76135 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
76564 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
76136 |
- DEFINES["_WINDOWS"] = True |
76565 |
- DEFINES["_WINDOWS"] = True |
76137 |
- DEFINES["__STD_C"] = True |
76566 |
- DEFINES["__STD_C"] = True |
76138 |
- |
|
|
76139 |
- OS_LIBS += [ |
76140 |
- "crypt32", |
76141 |
- "iphlpapi", |
76142 |
- "secur32" |
76143 |
- ] |
76144 |
+ DEFINES["_DEBUG"] = True |
76567 |
+ DEFINES["_DEBUG"] = True |
76145 |
|
76568 |
|
76146 |
if CONFIG["TARGET_CPU"] == "aarch64": |
76569 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 76150-76159
index c2f9eb412bca..df8f9503cb8a 100644
Link Here
|
76150 |
|
76573 |
|
76151 |
-if CONFIG["TARGET_CPU"] == "arm": |
76574 |
-if CONFIG["TARGET_CPU"] == "arm": |
76152 |
- |
76575 |
- |
76153 |
- CXXFLAGS += [ |
|
|
76154 |
- "-mfpu=neon" |
76155 |
- ] |
76156 |
- |
76157 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76576 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76158 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76577 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76159 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
76578 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 76170-76181
index c2f9eb412bca..df8f9503cb8a 100644
Link Here
|
76170 |
|
76589 |
|
76171 |
if CONFIG["TARGET_CPU"] == "x86": |
76590 |
if CONFIG["TARGET_CPU"] == "x86": |
76172 |
|
76591 |
|
76173 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76592 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
76174 |
- |
76593 |
|
76175 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
76594 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76176 |
- |
76595 |
|
76177 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
76178 |
- |
76179 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
76596 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
76180 |
- |
76597 |
- |
76181 |
- DEFINES["_DEBUG"] = True |
76598 |
- DEFINES["_DEBUG"] = True |
Lines 76197-76217
index c2f9eb412bca..df8f9503cb8a 100644
Link Here
|
76197 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
76614 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
76198 |
- |
76615 |
- |
76199 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
76616 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
76200 |
- |
76617 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
76201 |
- DEFINES["USE_X11"] = "1" |
76618 |
|
76202 |
- |
76619 |
DEFINES["USE_X11"] = "1" |
|
|
76620 |
|
76203 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
76621 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
76204 |
- |
76622 |
- |
76205 |
- OS_LIBS += [ |
76623 |
- OS_LIBS += [ |
76206 |
- "unwind" |
76624 |
- "unwind" |
76207 |
- ] |
76625 |
- ] |
76208 |
- |
76626 |
- |
76209 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
76210 |
- |
76211 |
CXXFLAGS += [ |
76212 |
"-msse2" |
76213 |
] |
76214 |
|
76215 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
76627 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
76216 |
- |
76628 |
- |
76217 |
- DEFINES["_GNU_SOURCE"] = True |
76629 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 76221-76254
index c2f9eb412bca..df8f9503cb8a 100644
Link Here
|
76221 |
- DEFINES["_GNU_SOURCE"] = True |
76633 |
- DEFINES["_GNU_SOURCE"] = True |
76222 |
- |
76634 |
- |
76223 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
76635 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
76224 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76636 |
- |
76225 |
|
|
|
76226 |
- CXXFLAGS += [ |
76227 |
- "-msse2" |
76228 |
- ] |
76229 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
76230 |
|
76231 |
- DEFINES["_GNU_SOURCE"] = True |
76637 |
- DEFINES["_GNU_SOURCE"] = True |
76232 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76638 |
- |
76233 |
|
|
|
76234 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
76639 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
76235 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
76640 |
- |
76236 |
|
|
|
76237 |
- DEFINES["_GNU_SOURCE"] = True |
76641 |
- DEFINES["_GNU_SOURCE"] = True |
76238 |
+ DEFINES["USE_X11"] = "1" |
76642 |
- |
76239 |
|
76643 |
Library("ignore_wundef_gn") |
76240 |
Library("ip_address_gn") |
76644 |
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build |
76241 |
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build |
76645 |
index c2f9eb412bca..df8f9503cb8a 100644 |
76242 |
index 2b47ed986c72..191af40a1a3f 100644 |
76646 |
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build |
76243 |
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build |
76647 |
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build |
76244 |
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build |
76648 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
76245 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
|
|
76246 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76649 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76247 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
76650 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
76248 |
DEFINES["RTC_ENABLE_VP9"] = True |
76651 |
DEFINES["RTC_ENABLE_VP9"] = True |
76249 |
+DEFINES["USE_GLIB"] = "1" |
76652 |
+DEFINES["USE_GLIB"] = "1" |
76250 |
+DEFINES["USE_OZONE"] = "1" |
76653 |
+DEFINES["USE_OZONE"] = "1" |
76251 |
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" |
|
|
76252 |
+DEFINES["WEBRTC_BSD"] = True |
76654 |
+DEFINES["WEBRTC_BSD"] = True |
76253 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
76655 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
76254 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
76656 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
Lines 76265-76271
index 2b47ed986c72..191af40a1a3f 100644
Link Here
|
76265 |
|
76667 |
|
76266 |
FINAL_LIBRARY = "xul" |
76668 |
FINAL_LIBRARY = "xul" |
76267 |
|
76669 |
|
76268 |
@@ -44,185 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
76670 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
76269 |
if CONFIG["MOZ_DEBUG"] == "1": |
76671 |
if CONFIG["MOZ_DEBUG"] == "1": |
76270 |
|
76672 |
|
76271 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
76673 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 76285-76290
index 2b47ed986c72..191af40a1a3f 100644
Link Here
|
76285 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76687 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76286 |
- |
76688 |
- |
76287 |
- OS_LIBS += [ |
76689 |
- OS_LIBS += [ |
|
|
76690 |
- "GLESv2", |
76288 |
- "log" |
76691 |
- "log" |
76289 |
- ] |
76692 |
- ] |
76290 |
- |
76693 |
- |
Lines 76357-76364
index 2b47ed986c72..191af40a1a3f 100644
Link Here
|
76357 |
- OS_LIBS += [ |
76760 |
- OS_LIBS += [ |
76358 |
- "crypt32", |
76761 |
- "crypt32", |
76359 |
- "iphlpapi", |
76762 |
- "iphlpapi", |
76360 |
- "secur32", |
76763 |
- "secur32" |
76361 |
- "winmm" |
|
|
76362 |
- ] |
76764 |
- ] |
76363 |
+ DEFINES["_DEBUG"] = True |
76765 |
+ DEFINES["_DEBUG"] = True |
76364 |
|
76766 |
|
Lines 76456-76472
index 2b47ed986c72..191af40a1a3f 100644
Link Here
|
76456 |
- DEFINES["_GNU_SOURCE"] = True |
76858 |
- DEFINES["_GNU_SOURCE"] = True |
76457 |
+ DEFINES["USE_X11"] = "1" |
76859 |
+ DEFINES["USE_X11"] = "1" |
76458 |
|
76860 |
|
76459 |
Library("logging_gn") |
76861 |
Library("ip_address_gn") |
76460 |
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build |
76862 |
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build |
76461 |
index 7a54f6369568..ae2eb48d37a1 100644 |
76863 |
index 2b47ed986c72..191af40a1a3f 100644 |
76462 |
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build |
76864 |
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build |
76463 |
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build |
76865 |
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build |
76464 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
76866 |
@@ -12,12 +12,22 @@ AllowCompilerWarnings() |
76465 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76867 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76466 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
76868 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
76467 |
DEFINES["RTC_ENABLE_VP9"] = True |
76869 |
DEFINES["RTC_ENABLE_VP9"] = True |
76468 |
+DEFINES["USE_GLIB"] = "1" |
76870 |
+DEFINES["USE_GLIB"] = "1" |
76469 |
+DEFINES["USE_OZONE"] = "1" |
76871 |
+DEFINES["USE_OZONE"] = "1" |
|
|
76872 |
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" |
76470 |
+DEFINES["WEBRTC_BSD"] = True |
76873 |
+DEFINES["WEBRTC_BSD"] = True |
76471 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
76874 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
76472 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
76875 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
Lines 76483-76489
index 7a54f6369568..ae2eb48d37a1 100644
Link Here
|
76483 |
|
76886 |
|
76484 |
FINAL_LIBRARY = "xul" |
76887 |
FINAL_LIBRARY = "xul" |
76485 |
|
76888 |
|
76486 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
76889 |
@@ -44,185 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: |
76487 |
if CONFIG["MOZ_DEBUG"] == "1": |
76890 |
if CONFIG["MOZ_DEBUG"] == "1": |
76488 |
|
76891 |
|
76489 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
76892 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 76502-76507
index 7a54f6369568..ae2eb48d37a1 100644
Link Here
|
76502 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
76905 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
76503 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76906 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76504 |
- |
76907 |
- |
|
|
76908 |
- OS_LIBS += [ |
76909 |
- "log" |
76910 |
- ] |
76911 |
- |
76505 |
-if CONFIG["OS_TARGET"] == "Darwin": |
76912 |
-if CONFIG["OS_TARGET"] == "Darwin": |
76506 |
- |
76913 |
- |
76507 |
- DEFINES["WEBRTC_MAC"] = True |
76914 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 76567-76572
index 7a54f6369568..ae2eb48d37a1 100644
Link Here
|
76567 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
76974 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
76568 |
- DEFINES["_WINDOWS"] = True |
76975 |
- DEFINES["_WINDOWS"] = True |
76569 |
- DEFINES["__STD_C"] = True |
76976 |
- DEFINES["__STD_C"] = True |
|
|
76977 |
- |
76978 |
- OS_LIBS += [ |
76979 |
- "crypt32", |
76980 |
- "iphlpapi", |
76981 |
- "secur32", |
76982 |
- "winmm" |
76983 |
- ] |
76570 |
+ DEFINES["_DEBUG"] = True |
76984 |
+ DEFINES["_DEBUG"] = True |
76571 |
|
76985 |
|
76572 |
if CONFIG["TARGET_CPU"] == "aarch64": |
76986 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 76576-76581
index 7a54f6369568..ae2eb48d37a1 100644
Link Here
|
76576 |
|
76990 |
|
76577 |
-if CONFIG["TARGET_CPU"] == "arm": |
76991 |
-if CONFIG["TARGET_CPU"] == "arm": |
76578 |
- |
76992 |
- |
|
|
76993 |
- CXXFLAGS += [ |
76994 |
- "-mfpu=neon" |
76995 |
- ] |
76996 |
- |
76579 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76997 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76580 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76998 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76581 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
76999 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 76592-76601
index 7a54f6369568..ae2eb48d37a1 100644
Link Here
|
76592 |
|
77010 |
|
76593 |
if CONFIG["TARGET_CPU"] == "x86": |
77011 |
if CONFIG["TARGET_CPU"] == "x86": |
76594 |
|
77012 |
|
76595 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
77013 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76596 |
|
77014 |
- |
76597 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77015 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
76598 |
|
77016 |
- |
|
|
77017 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77018 |
- |
76599 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
77019 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
76600 |
- |
77020 |
- |
76601 |
- DEFINES["_DEBUG"] = True |
77021 |
- DEFINES["_DEBUG"] = True |
Lines 76617-76632
index 7a54f6369568..ae2eb48d37a1 100644
Link Here
|
76617 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
77037 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
76618 |
- |
77038 |
- |
76619 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
77039 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
76620 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
77040 |
- |
76621 |
|
77041 |
- DEFINES["USE_X11"] = "1" |
76622 |
DEFINES["USE_X11"] = "1" |
77042 |
- |
76623 |
|
|
|
76624 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
77043 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
76625 |
- |
77044 |
- |
76626 |
- OS_LIBS += [ |
77045 |
- OS_LIBS += [ |
76627 |
- "unwind" |
77046 |
- "unwind" |
76628 |
- ] |
77047 |
- ] |
76629 |
- |
77048 |
- |
|
|
77049 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
77050 |
- |
77051 |
CXXFLAGS += [ |
77052 |
"-msse2" |
77053 |
] |
77054 |
|
76630 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
77055 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
76631 |
- |
77056 |
- |
76632 |
- DEFINES["_GNU_SOURCE"] = True |
77057 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 76636-76653
index 7a54f6369568..ae2eb48d37a1 100644
Link Here
|
76636 |
- DEFINES["_GNU_SOURCE"] = True |
77061 |
- DEFINES["_GNU_SOURCE"] = True |
76637 |
- |
77062 |
- |
76638 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
77063 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
76639 |
- |
77064 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
77065 |
|
77066 |
- CXXFLAGS += [ |
77067 |
- "-msse2" |
77068 |
- ] |
77069 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
77070 |
|
76640 |
- DEFINES["_GNU_SOURCE"] = True |
77071 |
- DEFINES["_GNU_SOURCE"] = True |
76641 |
- |
77072 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
77073 |
|
76642 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
77074 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
76643 |
- |
77075 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
77076 |
|
76644 |
- DEFINES["_GNU_SOURCE"] = True |
77077 |
- DEFINES["_GNU_SOURCE"] = True |
76645 |
- |
77078 |
+ DEFINES["USE_X11"] = "1" |
76646 |
Library("macromagic_gn") |
77079 |
|
76647 |
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build |
77080 |
Library("logging_gn") |
76648 |
index 06a17077bb82..21d3404240cd 100644 |
77081 |
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build |
76649 |
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build |
77082 |
index 7a54f6369568..ae2eb48d37a1 100644 |
76650 |
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build |
77083 |
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build |
|
|
77084 |
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build |
76651 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77085 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
76652 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77086 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76653 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
77087 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 76670-76676
index 06a17077bb82..21d3404240cd 100644
Link Here
|
76670 |
|
77104 |
|
76671 |
FINAL_LIBRARY = "xul" |
77105 |
FINAL_LIBRARY = "xul" |
76672 |
|
77106 |
|
76673 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
77107 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
76674 |
if CONFIG["MOZ_DEBUG"] == "1": |
77108 |
if CONFIG["MOZ_DEBUG"] == "1": |
76675 |
|
77109 |
|
76676 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
77110 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 76689-76698
index 06a17077bb82..21d3404240cd 100644
Link Here
|
76689 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
77123 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
76690 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
77124 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
76691 |
- |
77125 |
- |
76692 |
- OS_LIBS += [ |
|
|
76693 |
- "log" |
76694 |
- ] |
76695 |
- |
76696 |
-if CONFIG["OS_TARGET"] == "Darwin": |
77126 |
-if CONFIG["OS_TARGET"] == "Darwin": |
76697 |
- |
77127 |
- |
76698 |
- DEFINES["WEBRTC_MAC"] = True |
77128 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 76767-76776
index 06a17077bb82..21d3404240cd 100644
Link Here
|
76767 |
|
77197 |
|
76768 |
-if CONFIG["TARGET_CPU"] == "arm": |
77198 |
-if CONFIG["TARGET_CPU"] == "arm": |
76769 |
- |
77199 |
- |
76770 |
- CXXFLAGS += [ |
|
|
76771 |
- "-mfpu=neon" |
76772 |
- ] |
76773 |
- |
76774 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
77200 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76775 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
77201 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76776 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
77202 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 76787-76798
index 06a17077bb82..21d3404240cd 100644
Link Here
|
76787 |
|
77213 |
|
76788 |
if CONFIG["TARGET_CPU"] == "x86": |
77214 |
if CONFIG["TARGET_CPU"] == "x86": |
76789 |
|
77215 |
|
76790 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77216 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
76791 |
- |
77217 |
|
76792 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
77218 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76793 |
- |
77219 |
|
76794 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
76795 |
- |
76796 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
77220 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
76797 |
- |
77221 |
- |
76798 |
- DEFINES["_DEBUG"] = True |
77222 |
- DEFINES["_DEBUG"] = True |
Lines 76814-76834
index 06a17077bb82..21d3404240cd 100644
Link Here
|
76814 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
77238 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
76815 |
- |
77239 |
- |
76816 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
77240 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
76817 |
- |
77241 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
76818 |
- DEFINES["USE_X11"] = "1" |
77242 |
|
76819 |
- |
77243 |
DEFINES["USE_X11"] = "1" |
|
|
77244 |
|
76820 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
77245 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
76821 |
- |
77246 |
- |
76822 |
- OS_LIBS += [ |
77247 |
- OS_LIBS += [ |
76823 |
- "unwind" |
77248 |
- "unwind" |
76824 |
- ] |
77249 |
- ] |
76825 |
- |
77250 |
- |
76826 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
76827 |
- |
76828 |
CXXFLAGS += [ |
76829 |
"-msse2" |
76830 |
] |
76831 |
|
76832 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
77251 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
76833 |
- |
77252 |
- |
76834 |
- DEFINES["_GNU_SOURCE"] = True |
77253 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 76838-76864
index 06a17077bb82..21d3404240cd 100644
Link Here
|
76838 |
- DEFINES["_GNU_SOURCE"] = True |
77257 |
- DEFINES["_GNU_SOURCE"] = True |
76839 |
- |
77258 |
- |
76840 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
77259 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
76841 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77260 |
- |
76842 |
|
|
|
76843 |
- CXXFLAGS += [ |
76844 |
- "-msse2" |
76845 |
- ] |
76846 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
76847 |
|
76848 |
- DEFINES["_GNU_SOURCE"] = True |
77261 |
- DEFINES["_GNU_SOURCE"] = True |
76849 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77262 |
- |
76850 |
|
|
|
76851 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
77263 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
76852 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
77264 |
- |
76853 |
|
|
|
76854 |
- DEFINES["_GNU_SOURCE"] = True |
77265 |
- DEFINES["_GNU_SOURCE"] = True |
76855 |
+ DEFINES["USE_X11"] = "1" |
77266 |
- |
76856 |
|
77267 |
Library("macromagic_gn") |
76857 |
Library("aligned_malloc_gn") |
77268 |
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build |
76858 |
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build |
77269 |
index 06a17077bb82..21d3404240cd 100644 |
76859 |
index ea25143a15aa..da34908795f0 100644 |
77270 |
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build |
76860 |
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build |
77271 |
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build |
76861 |
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build |
|
|
76862 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77272 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
76863 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77273 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
76864 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
77274 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 76881-76887
index ea25143a15aa..da34908795f0 100644
Link Here
|
76881 |
|
77291 |
|
76882 |
FINAL_LIBRARY = "xul" |
77292 |
FINAL_LIBRARY = "xul" |
76883 |
|
77293 |
|
76884 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
77294 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
76885 |
if CONFIG["MOZ_DEBUG"] == "1": |
77295 |
if CONFIG["MOZ_DEBUG"] == "1": |
76886 |
|
77296 |
|
76887 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
77297 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 76978-76983
index ea25143a15aa..da34908795f0 100644
Link Here
|
76978 |
|
77388 |
|
76979 |
-if CONFIG["TARGET_CPU"] == "arm": |
77389 |
-if CONFIG["TARGET_CPU"] == "arm": |
76980 |
- |
77390 |
- |
|
|
77391 |
- CXXFLAGS += [ |
77392 |
- "-mfpu=neon" |
77393 |
- ] |
77394 |
- |
76981 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
77395 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
76982 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
77396 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
76983 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
77397 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 76994-77003
index ea25143a15aa..da34908795f0 100644
Link Here
|
76994 |
|
77408 |
|
76995 |
if CONFIG["TARGET_CPU"] == "x86": |
77409 |
if CONFIG["TARGET_CPU"] == "x86": |
76996 |
|
77410 |
|
76997 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
77411 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
76998 |
|
77412 |
- |
76999 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77413 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
77000 |
|
77414 |
- |
|
|
77415 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77416 |
- |
77001 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
77417 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
77002 |
- |
77418 |
- |
77003 |
- DEFINES["_DEBUG"] = True |
77419 |
- DEFINES["_DEBUG"] = True |
Lines 77019-77034
index ea25143a15aa..da34908795f0 100644
Link Here
|
77019 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
77435 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
77020 |
- |
77436 |
- |
77021 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
77437 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
77022 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
77438 |
- |
77023 |
|
77439 |
- DEFINES["USE_X11"] = "1" |
77024 |
DEFINES["USE_X11"] = "1" |
77440 |
- |
77025 |
|
|
|
77026 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
77441 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
77027 |
- |
77442 |
- |
77028 |
- OS_LIBS += [ |
77443 |
- OS_LIBS += [ |
77029 |
- "unwind" |
77444 |
- "unwind" |
77030 |
- ] |
77445 |
- ] |
77031 |
- |
77446 |
- |
|
|
77447 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
77448 |
- |
77449 |
CXXFLAGS += [ |
77450 |
"-msse2" |
77451 |
] |
77452 |
|
77032 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
77453 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
77033 |
- |
77454 |
- |
77034 |
- DEFINES["_GNU_SOURCE"] = True |
77455 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 77038-77055
index ea25143a15aa..da34908795f0 100644
Link Here
|
77038 |
- DEFINES["_GNU_SOURCE"] = True |
77459 |
- DEFINES["_GNU_SOURCE"] = True |
77039 |
- |
77460 |
- |
77040 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
77461 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
77041 |
- |
77462 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
77463 |
|
77464 |
- CXXFLAGS += [ |
77465 |
- "-msse2" |
77466 |
- ] |
77467 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
77468 |
|
77042 |
- DEFINES["_GNU_SOURCE"] = True |
77469 |
- DEFINES["_GNU_SOURCE"] = True |
77043 |
- |
77470 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
77471 |
|
77044 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
77472 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
77045 |
- |
77473 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
77474 |
|
77046 |
- DEFINES["_GNU_SOURCE"] = True |
77475 |
- DEFINES["_GNU_SOURCE"] = True |
77047 |
- |
77476 |
+ DEFINES["USE_X11"] = "1" |
77048 |
Library("mod_ops_gn") |
77477 |
|
77049 |
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build |
77478 |
Library("aligned_malloc_gn") |
77050 |
index 967e6e28ba29..60644d006ab2 100644 |
77479 |
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build |
77051 |
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build |
77480 |
index ea25143a15aa..da34908795f0 100644 |
77052 |
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build |
77481 |
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build |
|
|
77482 |
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build |
77053 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77483 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77054 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77484 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77055 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
77485 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 77236-77246
index 967e6e28ba29..60644d006ab2 100644
Link Here
|
77236 |
- |
77666 |
- |
77237 |
- DEFINES["_GNU_SOURCE"] = True |
77667 |
- DEFINES["_GNU_SOURCE"] = True |
77238 |
- |
77668 |
- |
77239 |
Library("moving_max_counter_gn") |
77669 |
Library("mod_ops_gn") |
77240 |
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build |
77670 |
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build |
77241 |
index 7c0cfcf806a7..2b89135329e6 100644 |
77671 |
index 967e6e28ba29..60644d006ab2 100644 |
77242 |
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build |
77672 |
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build |
77243 |
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build |
77673 |
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build |
77244 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77674 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77245 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77675 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77246 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
77676 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 77263-77269
index 7c0cfcf806a7..2b89135329e6 100644
Link Here
|
77263 |
|
77693 |
|
77264 |
FINAL_LIBRARY = "xul" |
77694 |
FINAL_LIBRARY = "xul" |
77265 |
|
77695 |
|
77266 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
77696 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
77267 |
if CONFIG["MOZ_DEBUG"] == "1": |
77697 |
if CONFIG["MOZ_DEBUG"] == "1": |
77268 |
|
77698 |
|
77269 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
77699 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 77283-77289
index 7c0cfcf806a7..2b89135329e6 100644
Link Here
|
77283 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
77713 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
77284 |
- |
77714 |
- |
77285 |
- OS_LIBS += [ |
77715 |
- OS_LIBS += [ |
77286 |
- "GLESv2", |
|
|
77287 |
- "log" |
77716 |
- "log" |
77288 |
- ] |
77717 |
- ] |
77289 |
- |
77718 |
- |
Lines 77352-77363
index 7c0cfcf806a7..2b89135329e6 100644
Link Here
|
77352 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
77781 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
77353 |
- DEFINES["_WINDOWS"] = True |
77782 |
- DEFINES["_WINDOWS"] = True |
77354 |
- DEFINES["__STD_C"] = True |
77783 |
- DEFINES["__STD_C"] = True |
77355 |
- |
|
|
77356 |
- OS_LIBS += [ |
77357 |
- "crypt32", |
77358 |
- "iphlpapi", |
77359 |
- "secur32" |
77360 |
- ] |
77361 |
+ DEFINES["_DEBUG"] = True |
77784 |
+ DEFINES["_DEBUG"] = True |
77362 |
|
77785 |
|
77363 |
if CONFIG["TARGET_CPU"] == "aarch64": |
77786 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 77367-77376
index 7c0cfcf806a7..2b89135329e6 100644
Link Here
|
77367 |
|
77790 |
|
77368 |
-if CONFIG["TARGET_CPU"] == "arm": |
77791 |
-if CONFIG["TARGET_CPU"] == "arm": |
77369 |
- |
77792 |
- |
77370 |
- CXXFLAGS += [ |
|
|
77371 |
- "-mfpu=neon" |
77372 |
- ] |
77373 |
- |
77374 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
77793 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
77375 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
77794 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
77376 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
77795 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 77387-77398
index 7c0cfcf806a7..2b89135329e6 100644
Link Here
|
77387 |
|
77806 |
|
77388 |
if CONFIG["TARGET_CPU"] == "x86": |
77807 |
if CONFIG["TARGET_CPU"] == "x86": |
77389 |
|
77808 |
|
77390 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77809 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
77391 |
- |
77810 |
|
77392 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
77811 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77393 |
- |
77812 |
|
77394 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
77395 |
- |
77396 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
77813 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
77397 |
- |
77814 |
- |
77398 |
- DEFINES["_DEBUG"] = True |
77815 |
- DEFINES["_DEBUG"] = True |
Lines 77414-77434
index 7c0cfcf806a7..2b89135329e6 100644
Link Here
|
77414 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
77831 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
77415 |
- |
77832 |
- |
77416 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
77833 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
77417 |
- |
77834 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
77418 |
- DEFINES["USE_X11"] = "1" |
77835 |
|
77419 |
- |
77836 |
DEFINES["USE_X11"] = "1" |
|
|
77837 |
|
77420 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
77838 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
77421 |
- |
77839 |
- |
77422 |
- OS_LIBS += [ |
77840 |
- OS_LIBS += [ |
77423 |
- "unwind" |
77841 |
- "unwind" |
77424 |
- ] |
77842 |
- ] |
77425 |
- |
77843 |
- |
77426 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
77427 |
- |
77428 |
CXXFLAGS += [ |
77429 |
"-msse2" |
77430 |
] |
77431 |
|
77432 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
77844 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
77433 |
- |
77845 |
- |
77434 |
- DEFINES["_GNU_SOURCE"] = True |
77846 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 77438-77464
index 7c0cfcf806a7..2b89135329e6 100644
Link Here
|
77438 |
- DEFINES["_GNU_SOURCE"] = True |
77850 |
- DEFINES["_GNU_SOURCE"] = True |
77439 |
- |
77851 |
- |
77440 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
77852 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
77441 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77853 |
- |
77442 |
|
|
|
77443 |
- CXXFLAGS += [ |
77444 |
- "-msse2" |
77445 |
- ] |
77446 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
77447 |
|
77448 |
- DEFINES["_GNU_SOURCE"] = True |
77854 |
- DEFINES["_GNU_SOURCE"] = True |
77449 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77855 |
- |
77450 |
|
|
|
77451 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
77856 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
77452 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
77857 |
- |
77453 |
|
|
|
77454 |
- DEFINES["_GNU_SOURCE"] = True |
77858 |
- DEFINES["_GNU_SOURCE"] = True |
77455 |
+ DEFINES["USE_X11"] = "1" |
77859 |
- |
77456 |
|
77860 |
Library("moving_max_counter_gn") |
77457 |
Library("net_helpers_gn") |
77861 |
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build |
77458 |
diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build |
77862 |
index 7c0cfcf806a7..2b89135329e6 100644 |
77459 |
index 9fb05f529e15..2c7aeb42782b 100644 |
77863 |
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build |
77460 |
--- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build |
77864 |
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build |
77461 |
+++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build |
|
|
77462 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77865 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77463 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77866 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77464 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
77867 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 77481-77487
index 9fb05f529e15..2c7aeb42782b 100644
Link Here
|
77481 |
|
77884 |
|
77482 |
FINAL_LIBRARY = "xul" |
77885 |
FINAL_LIBRARY = "xul" |
77483 |
|
77886 |
|
77484 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
77887 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
77485 |
if CONFIG["MOZ_DEBUG"] == "1": |
77888 |
if CONFIG["MOZ_DEBUG"] == "1": |
77486 |
|
77889 |
|
77487 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
77890 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 77500-77505
index 9fb05f529e15..2c7aeb42782b 100644
Link Here
|
77500 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
77903 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
77501 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
77904 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
77502 |
- |
77905 |
- |
|
|
77906 |
- OS_LIBS += [ |
77907 |
- "GLESv2", |
77908 |
- "log" |
77909 |
- ] |
77910 |
- |
77503 |
-if CONFIG["OS_TARGET"] == "Darwin": |
77911 |
-if CONFIG["OS_TARGET"] == "Darwin": |
77504 |
- |
77912 |
- |
77505 |
- DEFINES["WEBRTC_MAC"] = True |
77913 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 77565-77570
index 9fb05f529e15..2c7aeb42782b 100644
Link Here
|
77565 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
77973 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
77566 |
- DEFINES["_WINDOWS"] = True |
77974 |
- DEFINES["_WINDOWS"] = True |
77567 |
- DEFINES["__STD_C"] = True |
77975 |
- DEFINES["__STD_C"] = True |
|
|
77976 |
- |
77977 |
- OS_LIBS += [ |
77978 |
- "crypt32", |
77979 |
- "iphlpapi", |
77980 |
- "secur32" |
77981 |
- ] |
77568 |
+ DEFINES["_DEBUG"] = True |
77982 |
+ DEFINES["_DEBUG"] = True |
77569 |
|
77983 |
|
77570 |
if CONFIG["TARGET_CPU"] == "aarch64": |
77984 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 77574-77579
index 9fb05f529e15..2c7aeb42782b 100644
Link Here
|
77574 |
|
77988 |
|
77575 |
-if CONFIG["TARGET_CPU"] == "arm": |
77989 |
-if CONFIG["TARGET_CPU"] == "arm": |
77576 |
- |
77990 |
- |
|
|
77991 |
- CXXFLAGS += [ |
77992 |
- "-mfpu=neon" |
77993 |
- ] |
77994 |
- |
77577 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
77995 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
77578 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
77996 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
77579 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
77997 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 77590-77599
index 9fb05f529e15..2c7aeb42782b 100644
Link Here
|
77590 |
|
78008 |
|
77591 |
if CONFIG["TARGET_CPU"] == "x86": |
78009 |
if CONFIG["TARGET_CPU"] == "x86": |
77592 |
|
78010 |
|
77593 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
78011 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77594 |
|
78012 |
- |
77595 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
78013 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
77596 |
|
78014 |
- |
|
|
78015 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
78016 |
- |
77597 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
78017 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
77598 |
- |
78018 |
- |
77599 |
- DEFINES["_DEBUG"] = True |
78019 |
- DEFINES["_DEBUG"] = True |
Lines 77615-77630
index 9fb05f529e15..2c7aeb42782b 100644
Link Here
|
77615 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
78035 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
77616 |
- |
78036 |
- |
77617 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
78037 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
77618 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
78038 |
- |
77619 |
|
78039 |
- DEFINES["USE_X11"] = "1" |
77620 |
DEFINES["USE_X11"] = "1" |
78040 |
- |
77621 |
|
|
|
77622 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
78041 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
77623 |
- |
78042 |
- |
77624 |
- OS_LIBS += [ |
78043 |
- OS_LIBS += [ |
77625 |
- "unwind" |
78044 |
- "unwind" |
77626 |
- ] |
78045 |
- ] |
77627 |
- |
78046 |
- |
|
|
78047 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
78048 |
- |
78049 |
CXXFLAGS += [ |
78050 |
"-msse2" |
78051 |
] |
78052 |
|
77628 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
78053 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
77629 |
- |
78054 |
- |
77630 |
- DEFINES["_GNU_SOURCE"] = True |
78055 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 77634-77651
index 9fb05f529e15..2c7aeb42782b 100644
Link Here
|
77634 |
- DEFINES["_GNU_SOURCE"] = True |
78059 |
- DEFINES["_GNU_SOURCE"] = True |
77635 |
- |
78060 |
- |
77636 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
78061 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
77637 |
- |
78062 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
78063 |
|
78064 |
- CXXFLAGS += [ |
78065 |
- "-msse2" |
78066 |
- ] |
78067 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
78068 |
|
77638 |
- DEFINES["_GNU_SOURCE"] = True |
78069 |
- DEFINES["_GNU_SOURCE"] = True |
77639 |
- |
78070 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
78071 |
|
77640 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
78072 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
77641 |
- |
78073 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
78074 |
|
77642 |
- DEFINES["_GNU_SOURCE"] = True |
78075 |
- DEFINES["_GNU_SOURCE"] = True |
77643 |
- |
78076 |
+ DEFINES["USE_X11"] = "1" |
77644 |
Library("ecn_marking_gn") |
78077 |
|
77645 |
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build |
78078 |
Library("net_helpers_gn") |
77646 |
index 604cb9a5e8c8..63df6c684225 100644 |
78079 |
diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build |
77647 |
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build |
78080 |
index 9fb05f529e15..2c7aeb42782b 100644 |
77648 |
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build |
78081 |
--- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build |
|
|
78082 |
+++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build |
77649 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78083 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77650 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78084 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77651 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
78085 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 77668-77674
index 604cb9a5e8c8..63df6c684225 100644
Link Here
|
77668 |
|
78102 |
|
77669 |
FINAL_LIBRARY = "xul" |
78103 |
FINAL_LIBRARY = "xul" |
77670 |
|
78104 |
|
77671 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
78105 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
77672 |
if CONFIG["MOZ_DEBUG"] == "1": |
78106 |
if CONFIG["MOZ_DEBUG"] == "1": |
77673 |
|
78107 |
|
77674 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
78108 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 77761-77770
index 604cb9a5e8c8..63df6c684225 100644
Link Here
|
77761 |
|
78195 |
|
77762 |
-if CONFIG["TARGET_CPU"] == "arm": |
78196 |
-if CONFIG["TARGET_CPU"] == "arm": |
77763 |
- |
78197 |
- |
77764 |
- CXXFLAGS += [ |
|
|
77765 |
- "-mfpu=neon" |
77766 |
- ] |
77767 |
- |
77768 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
78198 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
77769 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
78199 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
77770 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
78200 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 77781-77792
index 604cb9a5e8c8..63df6c684225 100644
Link Here
|
77781 |
|
78211 |
|
77782 |
if CONFIG["TARGET_CPU"] == "x86": |
78212 |
if CONFIG["TARGET_CPU"] == "x86": |
77783 |
|
78213 |
|
77784 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
78214 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
77785 |
- |
78215 |
|
77786 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
78216 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
77787 |
- |
78217 |
|
77788 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
77789 |
- |
77790 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
78218 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
77791 |
- |
78219 |
- |
77792 |
- DEFINES["_DEBUG"] = True |
78220 |
- DEFINES["_DEBUG"] = True |
Lines 77808-77828
index 604cb9a5e8c8..63df6c684225 100644
Link Here
|
77808 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
78236 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
77809 |
- |
78237 |
- |
77810 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
78238 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
77811 |
- |
78239 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
77812 |
- DEFINES["USE_X11"] = "1" |
78240 |
|
77813 |
- |
78241 |
DEFINES["USE_X11"] = "1" |
|
|
78242 |
|
77814 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
78243 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
77815 |
- |
78244 |
- |
77816 |
- OS_LIBS += [ |
78245 |
- OS_LIBS += [ |
77817 |
- "unwind" |
78246 |
- "unwind" |
77818 |
- ] |
78247 |
- ] |
77819 |
- |
78248 |
- |
77820 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
77821 |
- |
77822 |
CXXFLAGS += [ |
77823 |
"-msse2" |
77824 |
] |
77825 |
|
77826 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
78249 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
77827 |
- |
78250 |
- |
77828 |
- DEFINES["_GNU_SOURCE"] = True |
78251 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 77832-77858
index 604cb9a5e8c8..63df6c684225 100644
Link Here
|
77832 |
- DEFINES["_GNU_SOURCE"] = True |
78255 |
- DEFINES["_GNU_SOURCE"] = True |
77833 |
- |
78256 |
- |
77834 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
78257 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
77835 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
78258 |
- |
77836 |
|
|
|
77837 |
- CXXFLAGS += [ |
77838 |
- "-msse2" |
77839 |
- ] |
77840 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
77841 |
|
77842 |
- DEFINES["_GNU_SOURCE"] = True |
78259 |
- DEFINES["_GNU_SOURCE"] = True |
77843 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
78260 |
- |
77844 |
|
|
|
77845 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
78261 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
77846 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
78262 |
- |
77847 |
|
|
|
77848 |
- DEFINES["_GNU_SOURCE"] = True |
78263 |
- DEFINES["_GNU_SOURCE"] = True |
77849 |
+ DEFINES["USE_X11"] = "1" |
78264 |
- |
77850 |
|
78265 |
Library("ecn_marking_gn") |
77851 |
Library("sent_packet_gn") |
78266 |
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build |
77852 |
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build |
78267 |
index 604cb9a5e8c8..63df6c684225 100644 |
77853 |
index eacf18519786..848db7fed53a 100644 |
78268 |
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build |
77854 |
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build |
78269 |
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build |
77855 |
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build |
|
|
77856 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78270 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
77857 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78271 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
77858 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
78272 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 77875-77881
index eacf18519786..848db7fed53a 100644
Link Here
|
77875 |
|
78289 |
|
77876 |
FINAL_LIBRARY = "xul" |
78290 |
FINAL_LIBRARY = "xul" |
77877 |
|
78291 |
|
77878 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
78292 |
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
77879 |
if CONFIG["MOZ_DEBUG"] == "1": |
78293 |
if CONFIG["MOZ_DEBUG"] == "1": |
77880 |
|
78294 |
|
77881 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
78295 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 77894-77903
index eacf18519786..848db7fed53a 100644
Link Here
|
77894 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
78308 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
77895 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
78309 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
77896 |
- |
78310 |
- |
77897 |
- OS_LIBS += [ |
|
|
77898 |
- "log" |
77899 |
- ] |
77900 |
- |
77901 |
-if CONFIG["OS_TARGET"] == "Darwin": |
78311 |
-if CONFIG["OS_TARGET"] == "Darwin": |
77902 |
- |
78312 |
- |
77903 |
- DEFINES["WEBRTC_MAC"] = True |
78313 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 78059-78069
index eacf18519786..848db7fed53a 100644
Link Here
|
78059 |
- DEFINES["_GNU_SOURCE"] = True |
78469 |
- DEFINES["_GNU_SOURCE"] = True |
78060 |
+ DEFINES["USE_X11"] = "1" |
78470 |
+ DEFINES["USE_X11"] = "1" |
78061 |
|
78471 |
|
78062 |
Library("network_constants_gn") |
78472 |
Library("sent_packet_gn") |
78063 |
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build |
78473 |
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build |
78064 |
index 2ae8cf3c3837..c32e0473a011 100644 |
78474 |
index eacf18519786..848db7fed53a 100644 |
78065 |
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build |
78475 |
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build |
78066 |
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build |
78476 |
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build |
78067 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78477 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78068 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78478 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78069 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
78479 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 78270-78280
index 2ae8cf3c3837..c32e0473a011 100644
Link Here
|
78270 |
- DEFINES["_GNU_SOURCE"] = True |
78680 |
- DEFINES["_GNU_SOURCE"] = True |
78271 |
+ DEFINES["USE_X11"] = "1" |
78681 |
+ DEFINES["USE_X11"] = "1" |
78272 |
|
78682 |
|
78273 |
Library("network_route_gn") |
78683 |
Library("network_constants_gn") |
78274 |
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build |
78684 |
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build |
78275 |
index da5eb5b49753..dd528ef3830e 100644 |
78685 |
index 2ae8cf3c3837..c32e0473a011 100644 |
78276 |
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build |
78686 |
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build |
78277 |
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build |
78687 |
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build |
78278 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78688 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78279 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78689 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78280 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
78690 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 78297-78303
index da5eb5b49753..dd528ef3830e 100644
Link Here
|
78297 |
|
78707 |
|
78298 |
FINAL_LIBRARY = "xul" |
78708 |
FINAL_LIBRARY = "xul" |
78299 |
|
78709 |
|
78300 |
@@ -43,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
78710 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
78301 |
if CONFIG["MOZ_DEBUG"] == "1": |
78711 |
if CONFIG["MOZ_DEBUG"] == "1": |
78302 |
|
78712 |
|
78303 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
78713 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 78317-78323
index da5eb5b49753..dd528ef3830e 100644
Link Here
|
78317 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
78727 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
78318 |
- |
78728 |
- |
78319 |
- OS_LIBS += [ |
78729 |
- OS_LIBS += [ |
78320 |
- "GLESv2", |
|
|
78321 |
- "log" |
78730 |
- "log" |
78322 |
- ] |
78731 |
- ] |
78323 |
- |
78732 |
- |
Lines 78386-78398
index da5eb5b49753..dd528ef3830e 100644
Link Here
|
78386 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
78795 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
78387 |
- DEFINES["_WINDOWS"] = True |
78796 |
- DEFINES["_WINDOWS"] = True |
78388 |
- DEFINES["__STD_C"] = True |
78797 |
- DEFINES["__STD_C"] = True |
78389 |
- |
|
|
78390 |
- OS_LIBS += [ |
78391 |
- "crypt32", |
78392 |
- "iphlpapi", |
78393 |
- "secur32", |
78394 |
- "winmm" |
78395 |
- ] |
78396 |
+ DEFINES["_DEBUG"] = True |
78798 |
+ DEFINES["_DEBUG"] = True |
78397 |
|
78799 |
|
78398 |
if CONFIG["TARGET_CPU"] == "aarch64": |
78800 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 78489-78499
index da5eb5b49753..dd528ef3830e 100644
Link Here
|
78489 |
- DEFINES["_GNU_SOURCE"] = True |
78891 |
- DEFINES["_GNU_SOURCE"] = True |
78490 |
+ DEFINES["USE_X11"] = "1" |
78892 |
+ DEFINES["USE_X11"] = "1" |
78491 |
|
78893 |
|
78492 |
Library("null_socket_server_gn") |
78894 |
Library("network_route_gn") |
78493 |
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build |
78895 |
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build |
78494 |
index 4de80444bef4..7d101ac9cbe4 100644 |
78896 |
index da5eb5b49753..dd528ef3830e 100644 |
78495 |
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build |
78897 |
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build |
78496 |
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build |
78898 |
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build |
78497 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78899 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78498 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78900 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78499 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
78901 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 78516-78522
index 4de80444bef4..7d101ac9cbe4 100644
Link Here
|
78516 |
|
78918 |
|
78517 |
FINAL_LIBRARY = "xul" |
78919 |
FINAL_LIBRARY = "xul" |
78518 |
|
78920 |
|
78519 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
78921 |
@@ -43,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
78520 |
if CONFIG["MOZ_DEBUG"] == "1": |
78922 |
if CONFIG["MOZ_DEBUG"] == "1": |
78521 |
|
78923 |
|
78522 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
78924 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 78536-78541
index 4de80444bef4..7d101ac9cbe4 100644
Link Here
|
78536 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
78938 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
78537 |
- |
78939 |
- |
78538 |
- OS_LIBS += [ |
78940 |
- OS_LIBS += [ |
|
|
78941 |
- "GLESv2", |
78539 |
- "log" |
78942 |
- "log" |
78540 |
- ] |
78943 |
- ] |
78541 |
- |
78944 |
- |
Lines 78604-78609
index 4de80444bef4..7d101ac9cbe4 100644
Link Here
|
78604 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
79007 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
78605 |
- DEFINES["_WINDOWS"] = True |
79008 |
- DEFINES["_WINDOWS"] = True |
78606 |
- DEFINES["__STD_C"] = True |
79009 |
- DEFINES["__STD_C"] = True |
|
|
79010 |
- |
79011 |
- OS_LIBS += [ |
79012 |
- "crypt32", |
79013 |
- "iphlpapi", |
79014 |
- "secur32", |
79015 |
- "winmm" |
79016 |
- ] |
78607 |
+ DEFINES["_DEBUG"] = True |
79017 |
+ DEFINES["_DEBUG"] = True |
78608 |
|
79018 |
|
78609 |
if CONFIG["TARGET_CPU"] == "aarch64": |
79019 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 78613-78618
index 4de80444bef4..7d101ac9cbe4 100644
Link Here
|
78613 |
|
79023 |
|
78614 |
-if CONFIG["TARGET_CPU"] == "arm": |
79024 |
-if CONFIG["TARGET_CPU"] == "arm": |
78615 |
- |
79025 |
- |
|
|
79026 |
- CXXFLAGS += [ |
79027 |
- "-mfpu=neon" |
79028 |
- ] |
79029 |
- |
78616 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
79030 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
78617 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
79031 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
78618 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
79032 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 78629-78638
index 4de80444bef4..7d101ac9cbe4 100644
Link Here
|
78629 |
|
79043 |
|
78630 |
if CONFIG["TARGET_CPU"] == "x86": |
79044 |
if CONFIG["TARGET_CPU"] == "x86": |
78631 |
|
79045 |
|
78632 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
79046 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
78633 |
|
79047 |
- |
78634 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79048 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
78635 |
|
79049 |
- |
|
|
79050 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79051 |
- |
78636 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
79052 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
78637 |
- |
79053 |
- |
78638 |
- DEFINES["_DEBUG"] = True |
79054 |
- DEFINES["_DEBUG"] = True |
Lines 78654-78669
index 4de80444bef4..7d101ac9cbe4 100644
Link Here
|
78654 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
79070 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
78655 |
- |
79071 |
- |
78656 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
79072 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
78657 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
79073 |
- |
78658 |
|
79074 |
- DEFINES["USE_X11"] = "1" |
78659 |
DEFINES["USE_X11"] = "1" |
79075 |
- |
78660 |
|
|
|
78661 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
79076 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
78662 |
- |
79077 |
- |
78663 |
- OS_LIBS += [ |
79078 |
- OS_LIBS += [ |
78664 |
- "unwind" |
79079 |
- "unwind" |
78665 |
- ] |
79080 |
- ] |
78666 |
- |
79081 |
- |
|
|
79082 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
79083 |
- |
79084 |
CXXFLAGS += [ |
79085 |
"-msse2" |
79086 |
] |
79087 |
|
78667 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
79088 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
78668 |
- |
79089 |
- |
78669 |
- DEFINES["_GNU_SOURCE"] = True |
79090 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 78673-78690
index 4de80444bef4..7d101ac9cbe4 100644
Link Here
|
78673 |
- DEFINES["_GNU_SOURCE"] = True |
79094 |
- DEFINES["_GNU_SOURCE"] = True |
78674 |
- |
79095 |
- |
78675 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
79096 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
78676 |
- |
79097 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
79098 |
|
79099 |
- CXXFLAGS += [ |
79100 |
- "-msse2" |
79101 |
- ] |
79102 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
79103 |
|
78677 |
- DEFINES["_GNU_SOURCE"] = True |
79104 |
- DEFINES["_GNU_SOURCE"] = True |
78678 |
- |
79105 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
79106 |
|
78679 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
79107 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
78680 |
- |
79108 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
79109 |
|
78681 |
- DEFINES["_GNU_SOURCE"] = True |
79110 |
- DEFINES["_GNU_SOURCE"] = True |
78682 |
- |
79111 |
+ DEFINES["USE_X11"] = "1" |
78683 |
Library("one_time_event_gn") |
79112 |
|
78684 |
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build |
79113 |
Library("null_socket_server_gn") |
78685 |
index 8c259b6765c4..4632206d50e3 100644 |
79114 |
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build |
78686 |
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build |
79115 |
index 4de80444bef4..7d101ac9cbe4 100644 |
78687 |
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build |
79116 |
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build |
|
|
79117 |
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build |
78688 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79118 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78689 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79119 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78690 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
79120 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 78707-78713
index 8c259b6765c4..4632206d50e3 100644
Link Here
|
78707 |
|
79137 |
|
78708 |
FINAL_LIBRARY = "xul" |
79138 |
FINAL_LIBRARY = "xul" |
78709 |
|
79139 |
|
78710 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
79140 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
78711 |
if CONFIG["MOZ_DEBUG"] == "1": |
79141 |
if CONFIG["MOZ_DEBUG"] == "1": |
78712 |
|
79142 |
|
78713 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
79143 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 78795-78807
index 8c259b6765c4..4632206d50e3 100644
Link Here
|
78795 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
79225 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
78796 |
- DEFINES["_WINDOWS"] = True |
79226 |
- DEFINES["_WINDOWS"] = True |
78797 |
- DEFINES["__STD_C"] = True |
79227 |
- DEFINES["__STD_C"] = True |
78798 |
- |
|
|
78799 |
- OS_LIBS += [ |
78800 |
- "crypt32", |
78801 |
- "iphlpapi", |
78802 |
- "secur32", |
78803 |
- "winmm" |
78804 |
- ] |
78805 |
+ DEFINES["_DEBUG"] = True |
79228 |
+ DEFINES["_DEBUG"] = True |
78806 |
|
79229 |
|
78807 |
if CONFIG["TARGET_CPU"] == "aarch64": |
79230 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 78811-78820
index 8c259b6765c4..4632206d50e3 100644
Link Here
|
78811 |
|
79234 |
|
78812 |
-if CONFIG["TARGET_CPU"] == "arm": |
79235 |
-if CONFIG["TARGET_CPU"] == "arm": |
78813 |
- |
79236 |
- |
78814 |
- CXXFLAGS += [ |
|
|
78815 |
- "-mfpu=neon" |
78816 |
- ] |
78817 |
- |
78818 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
79237 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
78819 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
79238 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
78820 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
79239 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 78831-78842
index 8c259b6765c4..4632206d50e3 100644
Link Here
|
78831 |
|
79250 |
|
78832 |
if CONFIG["TARGET_CPU"] == "x86": |
79251 |
if CONFIG["TARGET_CPU"] == "x86": |
78833 |
|
79252 |
|
78834 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79253 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
78835 |
- |
79254 |
|
78836 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
79255 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
78837 |
- |
79256 |
|
78838 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
78839 |
- |
78840 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
79257 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
78841 |
- |
79258 |
- |
78842 |
- DEFINES["_DEBUG"] = True |
79259 |
- DEFINES["_DEBUG"] = True |
Lines 78858-78878
index 8c259b6765c4..4632206d50e3 100644
Link Here
|
78858 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
79275 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
78859 |
- |
79276 |
- |
78860 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
79277 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
78861 |
- |
79278 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
78862 |
- DEFINES["USE_X11"] = "1" |
79279 |
|
78863 |
- |
79280 |
DEFINES["USE_X11"] = "1" |
|
|
79281 |
|
78864 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
79282 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
78865 |
- |
79283 |
- |
78866 |
- OS_LIBS += [ |
79284 |
- OS_LIBS += [ |
78867 |
- "unwind" |
79285 |
- "unwind" |
78868 |
- ] |
79286 |
- ] |
78869 |
- |
79287 |
- |
78870 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
78871 |
- |
78872 |
CXXFLAGS += [ |
78873 |
"-msse2" |
78874 |
] |
78875 |
|
78876 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
79288 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
78877 |
- |
79289 |
- |
78878 |
- DEFINES["_GNU_SOURCE"] = True |
79290 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 78882-78908
index 8c259b6765c4..4632206d50e3 100644
Link Here
|
78882 |
- DEFINES["_GNU_SOURCE"] = True |
79294 |
- DEFINES["_GNU_SOURCE"] = True |
78883 |
- |
79295 |
- |
78884 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
79296 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
78885 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79297 |
- |
78886 |
|
|
|
78887 |
- CXXFLAGS += [ |
78888 |
- "-msse2" |
78889 |
- ] |
78890 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
78891 |
|
78892 |
- DEFINES["_GNU_SOURCE"] = True |
79298 |
- DEFINES["_GNU_SOURCE"] = True |
78893 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79299 |
- |
78894 |
|
|
|
78895 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
79300 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
78896 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
79301 |
- |
78897 |
|
|
|
78898 |
- DEFINES["_GNU_SOURCE"] = True |
79302 |
- DEFINES["_GNU_SOURCE"] = True |
78899 |
+ DEFINES["USE_X11"] = "1" |
79303 |
- |
78900 |
|
79304 |
Library("one_time_event_gn") |
78901 |
Library("platform_thread_gn") |
79305 |
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build |
78902 |
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build |
79306 |
index 8c259b6765c4..4632206d50e3 100644 |
78903 |
index 09d6147ce17d..7ed2f4dad2ac 100644 |
79307 |
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build |
78904 |
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build |
79308 |
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build |
78905 |
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build |
|
|
78906 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79309 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
78907 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79310 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
78908 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
79311 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 78925-78931
index 09d6147ce17d..7ed2f4dad2ac 100644
Link Here
|
78925 |
|
79328 |
|
78926 |
FINAL_LIBRARY = "xul" |
79329 |
FINAL_LIBRARY = "xul" |
78927 |
|
79330 |
|
78928 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
79331 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
78929 |
if CONFIG["MOZ_DEBUG"] == "1": |
79332 |
if CONFIG["MOZ_DEBUG"] == "1": |
78930 |
|
79333 |
|
78931 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
79334 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 79013-79018
index 09d6147ce17d..7ed2f4dad2ac 100644
Link Here
|
79013 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
79416 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
79014 |
- DEFINES["_WINDOWS"] = True |
79417 |
- DEFINES["_WINDOWS"] = True |
79015 |
- DEFINES["__STD_C"] = True |
79418 |
- DEFINES["__STD_C"] = True |
|
|
79419 |
- |
79420 |
- OS_LIBS += [ |
79421 |
- "crypt32", |
79422 |
- "iphlpapi", |
79423 |
- "secur32", |
79424 |
- "winmm" |
79425 |
- ] |
79016 |
+ DEFINES["_DEBUG"] = True |
79426 |
+ DEFINES["_DEBUG"] = True |
79017 |
|
79427 |
|
79018 |
if CONFIG["TARGET_CPU"] == "aarch64": |
79428 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 79109-79119
index 09d6147ce17d..7ed2f4dad2ac 100644
Link Here
|
79109 |
- DEFINES["_GNU_SOURCE"] = True |
79519 |
- DEFINES["_GNU_SOURCE"] = True |
79110 |
+ DEFINES["USE_X11"] = "1" |
79520 |
+ DEFINES["USE_X11"] = "1" |
79111 |
|
79521 |
|
79112 |
Library("platform_thread_types_gn") |
79522 |
Library("platform_thread_gn") |
79113 |
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build |
79523 |
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build |
79114 |
index c2b0d4ce2f3a..e926b3f5ca8f 100644 |
79524 |
index 09d6147ce17d..7ed2f4dad2ac 100644 |
79115 |
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build |
79525 |
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build |
79116 |
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build |
79526 |
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build |
79117 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79527 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79118 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79528 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79119 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
79529 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 79136-79142
index c2b0d4ce2f3a..e926b3f5ca8f 100644
Link Here
|
79136 |
|
79546 |
|
79137 |
FINAL_LIBRARY = "xul" |
79547 |
FINAL_LIBRARY = "xul" |
79138 |
|
79548 |
|
79139 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
79549 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
79140 |
if CONFIG["MOZ_DEBUG"] == "1": |
79550 |
if CONFIG["MOZ_DEBUG"] == "1": |
79141 |
|
79551 |
|
79142 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
79552 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 79155-79160
index c2b0d4ce2f3a..e926b3f5ca8f 100644
Link Here
|
79155 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
79565 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
79156 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
79566 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
79157 |
- |
79567 |
- |
|
|
79568 |
- OS_LIBS += [ |
79569 |
- "log" |
79570 |
- ] |
79571 |
- |
79158 |
-if CONFIG["OS_TARGET"] == "Darwin": |
79572 |
-if CONFIG["OS_TARGET"] == "Darwin": |
79159 |
- |
79573 |
- |
79160 |
- DEFINES["WEBRTC_MAC"] = True |
79574 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 79229-79234
index c2b0d4ce2f3a..e926b3f5ca8f 100644
Link Here
|
79229 |
|
79643 |
|
79230 |
-if CONFIG["TARGET_CPU"] == "arm": |
79644 |
-if CONFIG["TARGET_CPU"] == "arm": |
79231 |
- |
79645 |
- |
|
|
79646 |
- CXXFLAGS += [ |
79647 |
- "-mfpu=neon" |
79648 |
- ] |
79649 |
- |
79232 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
79650 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
79233 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
79651 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
79234 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
79652 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 79245-79254
index c2b0d4ce2f3a..e926b3f5ca8f 100644
Link Here
|
79245 |
|
79663 |
|
79246 |
if CONFIG["TARGET_CPU"] == "x86": |
79664 |
if CONFIG["TARGET_CPU"] == "x86": |
79247 |
|
79665 |
|
79248 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
79666 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79249 |
|
79667 |
- |
79250 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79668 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
79251 |
|
79669 |
- |
|
|
79670 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79671 |
- |
79252 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
79672 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
79253 |
- |
79673 |
- |
79254 |
- DEFINES["_DEBUG"] = True |
79674 |
- DEFINES["_DEBUG"] = True |
Lines 79270-79285
index c2b0d4ce2f3a..e926b3f5ca8f 100644
Link Here
|
79270 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
79690 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
79271 |
- |
79691 |
- |
79272 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
79692 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
79273 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
79693 |
- |
79274 |
|
79694 |
- DEFINES["USE_X11"] = "1" |
79275 |
DEFINES["USE_X11"] = "1" |
79695 |
- |
79276 |
|
|
|
79277 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
79696 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
79278 |
- |
79697 |
- |
79279 |
- OS_LIBS += [ |
79698 |
- OS_LIBS += [ |
79280 |
- "unwind" |
79699 |
- "unwind" |
79281 |
- ] |
79700 |
- ] |
79282 |
- |
79701 |
- |
|
|
79702 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
79703 |
- |
79704 |
CXXFLAGS += [ |
79705 |
"-msse2" |
79706 |
] |
79707 |
|
79283 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
79708 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
79284 |
- |
79709 |
- |
79285 |
- DEFINES["_GNU_SOURCE"] = True |
79710 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 79289-79306
index c2b0d4ce2f3a..e926b3f5ca8f 100644
Link Here
|
79289 |
- DEFINES["_GNU_SOURCE"] = True |
79714 |
- DEFINES["_GNU_SOURCE"] = True |
79290 |
- |
79715 |
- |
79291 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
79716 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
79292 |
- |
79717 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
79718 |
|
79719 |
- CXXFLAGS += [ |
79720 |
- "-msse2" |
79721 |
- ] |
79722 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
79723 |
|
79293 |
- DEFINES["_GNU_SOURCE"] = True |
79724 |
- DEFINES["_GNU_SOURCE"] = True |
79294 |
- |
79725 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
79726 |
|
79295 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
79727 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
79296 |
- |
79728 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
79729 |
|
79297 |
- DEFINES["_GNU_SOURCE"] = True |
79730 |
- DEFINES["_GNU_SOURCE"] = True |
79298 |
- |
79731 |
+ DEFINES["USE_X11"] = "1" |
79299 |
Library("protobuf_utils_gn") |
79732 |
|
79300 |
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build |
79733 |
Library("platform_thread_types_gn") |
79301 |
index 1fef37a2babc..74fad97cb21c 100644 |
79734 |
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build |
79302 |
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build |
79735 |
index c2b0d4ce2f3a..e926b3f5ca8f 100644 |
79303 |
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build |
79736 |
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build |
|
|
79737 |
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build |
79304 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79738 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79305 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79739 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79306 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
79740 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 79323-79329
index 1fef37a2babc..74fad97cb21c 100644
Link Here
|
79323 |
|
79757 |
|
79324 |
FINAL_LIBRARY = "xul" |
79758 |
FINAL_LIBRARY = "xul" |
79325 |
|
79759 |
|
79326 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
79760 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
79327 |
if CONFIG["MOZ_DEBUG"] == "1": |
79761 |
if CONFIG["MOZ_DEBUG"] == "1": |
79328 |
|
79762 |
|
79329 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
79763 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 79342-79351
index 1fef37a2babc..74fad97cb21c 100644
Link Here
|
79342 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
79776 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
79343 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
79777 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
79344 |
- |
79778 |
- |
79345 |
- OS_LIBS += [ |
|
|
79346 |
- "log" |
79347 |
- ] |
79348 |
- |
79349 |
-if CONFIG["OS_TARGET"] == "Darwin": |
79779 |
-if CONFIG["OS_TARGET"] == "Darwin": |
79350 |
- |
79780 |
- |
79351 |
- DEFINES["WEBRTC_MAC"] = True |
79781 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 79420-79429
index 1fef37a2babc..74fad97cb21c 100644
Link Here
|
79420 |
|
79850 |
|
79421 |
-if CONFIG["TARGET_CPU"] == "arm": |
79851 |
-if CONFIG["TARGET_CPU"] == "arm": |
79422 |
- |
79852 |
- |
79423 |
- CXXFLAGS += [ |
|
|
79424 |
- "-mfpu=neon" |
79425 |
- ] |
79426 |
- |
79427 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
79853 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
79428 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
79854 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
79429 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
79855 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 79440-79451
index 1fef37a2babc..74fad97cb21c 100644
Link Here
|
79440 |
|
79866 |
|
79441 |
if CONFIG["TARGET_CPU"] == "x86": |
79867 |
if CONFIG["TARGET_CPU"] == "x86": |
79442 |
|
79868 |
|
79443 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79869 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
79444 |
- |
79870 |
|
79445 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
79871 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79446 |
- |
79872 |
|
79447 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
79448 |
- |
79449 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
79873 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
79450 |
- |
79874 |
- |
79451 |
- DEFINES["_DEBUG"] = True |
79875 |
- DEFINES["_DEBUG"] = True |
Lines 79467-79487
index 1fef37a2babc..74fad97cb21c 100644
Link Here
|
79467 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
79891 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
79468 |
- |
79892 |
- |
79469 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
79893 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
79470 |
- |
79894 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
79471 |
- DEFINES["USE_X11"] = "1" |
79895 |
|
79472 |
- |
79896 |
DEFINES["USE_X11"] = "1" |
|
|
79897 |
|
79473 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
79898 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
79474 |
- |
79899 |
- |
79475 |
- OS_LIBS += [ |
79900 |
- OS_LIBS += [ |
79476 |
- "unwind" |
79901 |
- "unwind" |
79477 |
- ] |
79902 |
- ] |
79478 |
- |
79903 |
- |
79479 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
79480 |
- |
79481 |
CXXFLAGS += [ |
79482 |
"-msse2" |
79483 |
] |
79484 |
|
79485 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
79904 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
79486 |
- |
79905 |
- |
79487 |
- DEFINES["_GNU_SOURCE"] = True |
79906 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 79491-79517
index 1fef37a2babc..74fad97cb21c 100644
Link Here
|
79491 |
- DEFINES["_GNU_SOURCE"] = True |
79910 |
- DEFINES["_GNU_SOURCE"] = True |
79492 |
- |
79911 |
- |
79493 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
79912 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
79494 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79913 |
- |
79495 |
|
|
|
79496 |
- CXXFLAGS += [ |
79497 |
- "-msse2" |
79498 |
- ] |
79499 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
79500 |
|
79501 |
- DEFINES["_GNU_SOURCE"] = True |
79914 |
- DEFINES["_GNU_SOURCE"] = True |
79502 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
79915 |
- |
79503 |
|
|
|
79504 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
79916 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
79505 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
79917 |
- |
79506 |
|
|
|
79507 |
- DEFINES["_GNU_SOURCE"] = True |
79918 |
- DEFINES["_GNU_SOURCE"] = True |
79508 |
+ DEFINES["USE_X11"] = "1" |
79919 |
- |
79509 |
|
79920 |
Library("protobuf_utils_gn") |
79510 |
Library("race_checker_gn") |
79921 |
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build |
79511 |
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build |
79922 |
index 1fef37a2babc..74fad97cb21c 100644 |
79512 |
index 6c9b369317a5..1046794552e2 100644 |
79923 |
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build |
79513 |
--- third_party/libwebrtc/rtc_base/random_gn/moz.build |
79924 |
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build |
79514 |
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build |
|
|
79515 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79925 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79516 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79926 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79517 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
79927 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 79718-79728
index 6c9b369317a5..1046794552e2 100644
Link Here
|
79718 |
- DEFINES["_GNU_SOURCE"] = True |
80128 |
- DEFINES["_GNU_SOURCE"] = True |
79719 |
+ DEFINES["USE_X11"] = "1" |
80129 |
+ DEFINES["USE_X11"] = "1" |
79720 |
|
80130 |
|
79721 |
Library("random_gn") |
80131 |
Library("race_checker_gn") |
79722 |
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build |
80132 |
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build |
79723 |
index 586fc513dc7e..64b9286d41ca 100644 |
80133 |
index 6c9b369317a5..1046794552e2 100644 |
79724 |
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build |
80134 |
--- third_party/libwebrtc/rtc_base/random_gn/moz.build |
79725 |
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build |
80135 |
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build |
79726 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80136 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79727 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80137 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79728 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
80138 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 79745-79751
index 586fc513dc7e..64b9286d41ca 100644
Link Here
|
79745 |
|
80155 |
|
79746 |
FINAL_LIBRARY = "xul" |
80156 |
FINAL_LIBRARY = "xul" |
79747 |
|
80157 |
|
79748 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
80158 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
79749 |
if CONFIG["MOZ_DEBUG"] == "1": |
80159 |
if CONFIG["MOZ_DEBUG"] == "1": |
79750 |
|
80160 |
|
79751 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
80161 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 79793-79802
index 586fc513dc7e..64b9286d41ca 100644
Link Here
|
79793 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
80203 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
79794 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
80204 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
79795 |
- |
80205 |
- |
79796 |
- OS_LIBS += [ |
|
|
79797 |
- "rt" |
79798 |
- ] |
79799 |
- |
79800 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
80206 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
79801 |
- |
80207 |
- |
79802 |
- DEFINES["USE_GLIB"] = "1" |
80208 |
- DEFINES["USE_GLIB"] = "1" |
Lines 79837-79849
index 586fc513dc7e..64b9286d41ca 100644
Link Here
|
79837 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
80243 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
79838 |
- DEFINES["_WINDOWS"] = True |
80244 |
- DEFINES["_WINDOWS"] = True |
79839 |
- DEFINES["__STD_C"] = True |
80245 |
- DEFINES["__STD_C"] = True |
79840 |
- |
|
|
79841 |
- OS_LIBS += [ |
79842 |
- "crypt32", |
79843 |
- "iphlpapi", |
79844 |
- "secur32", |
79845 |
- "winmm" |
79846 |
- ] |
79847 |
+ DEFINES["_DEBUG"] = True |
80246 |
+ DEFINES["_DEBUG"] = True |
79848 |
|
80247 |
|
79849 |
if CONFIG["TARGET_CPU"] == "aarch64": |
80248 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 79940-79950
index 586fc513dc7e..64b9286d41ca 100644
Link Here
|
79940 |
- DEFINES["_GNU_SOURCE"] = True |
80339 |
- DEFINES["_GNU_SOURCE"] = True |
79941 |
+ DEFINES["USE_X11"] = "1" |
80340 |
+ DEFINES["USE_X11"] = "1" |
79942 |
|
80341 |
|
79943 |
Library("rate_limiter_gn") |
80342 |
Library("random_gn") |
79944 |
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build |
80343 |
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build |
79945 |
index 76d4f9d980ae..64ffc5e8413b 100644 |
80344 |
index 586fc513dc7e..64b9286d41ca 100644 |
79946 |
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build |
80345 |
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build |
79947 |
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build |
80346 |
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build |
79948 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80347 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
79949 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80348 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
79950 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
80349 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 79967-79973
index 76d4f9d980ae..64ffc5e8413b 100644
Link Here
|
79967 |
|
80366 |
|
79968 |
FINAL_LIBRARY = "xul" |
80367 |
FINAL_LIBRARY = "xul" |
79969 |
|
80368 |
|
79970 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
80369 |
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
79971 |
if CONFIG["MOZ_DEBUG"] == "1": |
80370 |
if CONFIG["MOZ_DEBUG"] == "1": |
79972 |
|
80371 |
|
79973 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
80372 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 80015-80020
index 76d4f9d980ae..64ffc5e8413b 100644
Link Here
|
80015 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
80414 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
80016 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
80415 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
80017 |
- |
80416 |
- |
|
|
80417 |
- OS_LIBS += [ |
80418 |
- "rt" |
80419 |
- ] |
80420 |
- |
80018 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
80421 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
80019 |
- |
80422 |
- |
80020 |
- DEFINES["USE_GLIB"] = "1" |
80423 |
- DEFINES["USE_GLIB"] = "1" |
Lines 80158-80168
index 76d4f9d980ae..64ffc5e8413b 100644
Link Here
|
80158 |
- DEFINES["_GNU_SOURCE"] = True |
80561 |
- DEFINES["_GNU_SOURCE"] = True |
80159 |
+ DEFINES["USE_X11"] = "1" |
80562 |
+ DEFINES["USE_X11"] = "1" |
80160 |
|
80563 |
|
80161 |
Library("rate_statistics_gn") |
80564 |
Library("rate_limiter_gn") |
80162 |
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build |
80565 |
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build |
80163 |
index c381e91cdc55..0a743006bcf0 100644 |
80566 |
index 76d4f9d980ae..64ffc5e8413b 100644 |
80164 |
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build |
80567 |
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build |
80165 |
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build |
80568 |
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build |
80166 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80569 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80167 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80570 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80168 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
80571 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 80376-80386
index c381e91cdc55..0a743006bcf0 100644
Link Here
|
80376 |
- DEFINES["_GNU_SOURCE"] = True |
80779 |
- DEFINES["_GNU_SOURCE"] = True |
80377 |
+ DEFINES["USE_X11"] = "1" |
80780 |
+ DEFINES["USE_X11"] = "1" |
80378 |
|
80781 |
|
80379 |
Library("rate_tracker_gn") |
80782 |
Library("rate_statistics_gn") |
80380 |
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build |
80783 |
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build |
80381 |
index 4059c66e7135..ab2a71dd87dc 100644 |
80784 |
index c381e91cdc55..0a743006bcf0 100644 |
80382 |
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build |
80785 |
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build |
80383 |
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build |
80786 |
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build |
80384 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80787 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80385 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80788 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80386 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
80789 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 80403-80409
index 4059c66e7135..ab2a71dd87dc 100644
Link Here
|
80403 |
|
80806 |
|
80404 |
FINAL_LIBRARY = "xul" |
80807 |
FINAL_LIBRARY = "xul" |
80405 |
|
80808 |
|
80406 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
80809 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
80407 |
if CONFIG["MOZ_DEBUG"] == "1": |
80810 |
if CONFIG["MOZ_DEBUG"] == "1": |
80408 |
|
80811 |
|
80409 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
80812 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 80422-80427
index 4059c66e7135..ab2a71dd87dc 100644
Link Here
|
80422 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
80825 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
80423 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
80826 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
80424 |
- |
80827 |
- |
|
|
80828 |
- OS_LIBS += [ |
80829 |
- "log" |
80830 |
- ] |
80831 |
- |
80425 |
-if CONFIG["OS_TARGET"] == "Darwin": |
80832 |
-if CONFIG["OS_TARGET"] == "Darwin": |
80426 |
- |
80833 |
- |
80427 |
- DEFINES["WEBRTC_MAC"] = True |
80834 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 80487-80492
index 4059c66e7135..ab2a71dd87dc 100644
Link Here
|
80487 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
80894 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
80488 |
- DEFINES["_WINDOWS"] = True |
80895 |
- DEFINES["_WINDOWS"] = True |
80489 |
- DEFINES["__STD_C"] = True |
80896 |
- DEFINES["__STD_C"] = True |
|
|
80897 |
- |
80898 |
- OS_LIBS += [ |
80899 |
- "crypt32", |
80900 |
- "iphlpapi", |
80901 |
- "secur32", |
80902 |
- "winmm" |
80903 |
- ] |
80490 |
+ DEFINES["_DEBUG"] = True |
80904 |
+ DEFINES["_DEBUG"] = True |
80491 |
|
80905 |
|
80492 |
if CONFIG["TARGET_CPU"] == "aarch64": |
80906 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 80496-80501
index 4059c66e7135..ab2a71dd87dc 100644
Link Here
|
80496 |
|
80910 |
|
80497 |
-if CONFIG["TARGET_CPU"] == "arm": |
80911 |
-if CONFIG["TARGET_CPU"] == "arm": |
80498 |
- |
80912 |
- |
|
|
80913 |
- CXXFLAGS += [ |
80914 |
- "-mfpu=neon" |
80915 |
- ] |
80916 |
- |
80499 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
80917 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
80500 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
80918 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
80501 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
80919 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 80512-80521
index 4059c66e7135..ab2a71dd87dc 100644
Link Here
|
80512 |
|
80930 |
|
80513 |
if CONFIG["TARGET_CPU"] == "x86": |
80931 |
if CONFIG["TARGET_CPU"] == "x86": |
80514 |
|
80932 |
|
80515 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
80933 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
80516 |
|
80934 |
- |
80517 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
80935 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
80518 |
|
80936 |
- |
|
|
80937 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
80938 |
- |
80519 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
80939 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
80520 |
- |
80940 |
- |
80521 |
- DEFINES["_DEBUG"] = True |
80941 |
- DEFINES["_DEBUG"] = True |
Lines 80537-80552
index 4059c66e7135..ab2a71dd87dc 100644
Link Here
|
80537 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
80957 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
80538 |
- |
80958 |
- |
80539 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
80959 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
80540 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
80960 |
- |
80541 |
|
80961 |
- DEFINES["USE_X11"] = "1" |
80542 |
DEFINES["USE_X11"] = "1" |
80962 |
- |
80543 |
|
|
|
80544 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
80963 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
80545 |
- |
80964 |
- |
80546 |
- OS_LIBS += [ |
80965 |
- OS_LIBS += [ |
80547 |
- "unwind" |
80966 |
- "unwind" |
80548 |
- ] |
80967 |
- ] |
80549 |
- |
80968 |
- |
|
|
80969 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
80970 |
- |
80971 |
CXXFLAGS += [ |
80972 |
"-msse2" |
80973 |
] |
80974 |
|
80550 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
80975 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
80551 |
- |
80976 |
- |
80552 |
- DEFINES["_GNU_SOURCE"] = True |
80977 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 80556-80573
index 4059c66e7135..ab2a71dd87dc 100644
Link Here
|
80556 |
- DEFINES["_GNU_SOURCE"] = True |
80981 |
- DEFINES["_GNU_SOURCE"] = True |
80557 |
- |
80982 |
- |
80558 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
80983 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
80559 |
- |
80984 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
80985 |
|
80986 |
- CXXFLAGS += [ |
80987 |
- "-msse2" |
80988 |
- ] |
80989 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
80990 |
|
80560 |
- DEFINES["_GNU_SOURCE"] = True |
80991 |
- DEFINES["_GNU_SOURCE"] = True |
80561 |
- |
80992 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
80993 |
|
80562 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
80994 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
80563 |
- |
80995 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
80996 |
|
80564 |
- DEFINES["_GNU_SOURCE"] = True |
80997 |
- DEFINES["_GNU_SOURCE"] = True |
80565 |
- |
80998 |
+ DEFINES["USE_X11"] = "1" |
80566 |
Library("refcount_gn") |
80999 |
|
80567 |
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build |
81000 |
Library("rate_tracker_gn") |
80568 |
index c8e14d5996e0..07964d2b4972 100644 |
81001 |
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build |
80569 |
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build |
81002 |
index 4059c66e7135..ab2a71dd87dc 100644 |
80570 |
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build |
81003 |
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build |
|
|
81004 |
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build |
80571 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81005 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80572 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81006 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80573 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
81007 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 80590-80596
index c8e14d5996e0..07964d2b4972 100644
Link Here
|
80590 |
|
81024 |
|
80591 |
FINAL_LIBRARY = "xul" |
81025 |
FINAL_LIBRARY = "xul" |
80592 |
|
81026 |
|
80593 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
81027 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
80594 |
if CONFIG["MOZ_DEBUG"] == "1": |
81028 |
if CONFIG["MOZ_DEBUG"] == "1": |
80595 |
|
81029 |
|
80596 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
81030 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 80609-80618
index c8e14d5996e0..07964d2b4972 100644
Link Here
|
80609 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
81043 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
80610 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
81044 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
80611 |
- |
81045 |
- |
80612 |
- OS_LIBS += [ |
|
|
80613 |
- "log" |
80614 |
- ] |
80615 |
- |
80616 |
-if CONFIG["OS_TARGET"] == "Darwin": |
81046 |
-if CONFIG["OS_TARGET"] == "Darwin": |
80617 |
- |
81047 |
- |
80618 |
- DEFINES["WEBRTC_MAC"] = True |
81048 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 80703-80709
index c8e14d5996e0..07964d2b4972 100644
Link Here
|
80703 |
|
81133 |
|
80704 |
if CONFIG["TARGET_CPU"] == "x86": |
81134 |
if CONFIG["TARGET_CPU"] == "x86": |
80705 |
|
81135 |
|
80706 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
81136 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
80707 |
|
81137 |
|
80708 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81138 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
80709 |
|
81139 |
|
Lines 80754-80764
index c8e14d5996e0..07964d2b4972 100644
Link Here
|
80754 |
- |
81184 |
- |
80755 |
- DEFINES["_GNU_SOURCE"] = True |
81185 |
- DEFINES["_GNU_SOURCE"] = True |
80756 |
- |
81186 |
- |
80757 |
Library("rolling_accumulator_gn") |
81187 |
Library("refcount_gn") |
80758 |
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build |
81188 |
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build |
80759 |
index a1b2840da3ea..6279462eabf7 100644 |
81189 |
index c8e14d5996e0..07964d2b4972 100644 |
80760 |
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build |
81190 |
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build |
80761 |
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build |
81191 |
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build |
80762 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81192 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80763 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81193 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80764 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
81194 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 80781-80787
index a1b2840da3ea..6279462eabf7 100644
Link Here
|
80781 |
|
81211 |
|
80782 |
FINAL_LIBRARY = "xul" |
81212 |
FINAL_LIBRARY = "xul" |
80783 |
|
81213 |
|
80784 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
81214 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
80785 |
if CONFIG["MOZ_DEBUG"] == "1": |
81215 |
if CONFIG["MOZ_DEBUG"] == "1": |
80786 |
|
81216 |
|
80787 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
81217 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 80869-80881
index a1b2840da3ea..6279462eabf7 100644
Link Here
|
80869 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
81299 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
80870 |
- DEFINES["_WINDOWS"] = True |
81300 |
- DEFINES["_WINDOWS"] = True |
80871 |
- DEFINES["__STD_C"] = True |
81301 |
- DEFINES["__STD_C"] = True |
80872 |
- |
|
|
80873 |
- OS_LIBS += [ |
80874 |
- "crypt32", |
80875 |
- "iphlpapi", |
80876 |
- "secur32", |
80877 |
- "winmm" |
80878 |
- ] |
80879 |
+ DEFINES["_DEBUG"] = True |
81302 |
+ DEFINES["_DEBUG"] = True |
80880 |
|
81303 |
|
80881 |
if CONFIG["TARGET_CPU"] == "aarch64": |
81304 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 80885-80894
index a1b2840da3ea..6279462eabf7 100644
Link Here
|
80885 |
|
81308 |
|
80886 |
-if CONFIG["TARGET_CPU"] == "arm": |
81309 |
-if CONFIG["TARGET_CPU"] == "arm": |
80887 |
- |
81310 |
- |
80888 |
- CXXFLAGS += [ |
|
|
80889 |
- "-mfpu=neon" |
80890 |
- ] |
80891 |
- |
80892 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
81311 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
80893 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
81312 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
80894 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
81313 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 80905-80916
index a1b2840da3ea..6279462eabf7 100644
Link Here
|
80905 |
|
81324 |
|
80906 |
if CONFIG["TARGET_CPU"] == "x86": |
81325 |
if CONFIG["TARGET_CPU"] == "x86": |
80907 |
|
81326 |
|
80908 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81327 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
80909 |
- |
81328 |
|
80910 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
81329 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
80911 |
- |
81330 |
|
80912 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
80913 |
- |
80914 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
81331 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
80915 |
- |
81332 |
- |
80916 |
- DEFINES["_DEBUG"] = True |
81333 |
- DEFINES["_DEBUG"] = True |
Lines 80932-80952
index a1b2840da3ea..6279462eabf7 100644
Link Here
|
80932 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
81349 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
80933 |
- |
81350 |
- |
80934 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
81351 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
80935 |
- |
81352 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
80936 |
- DEFINES["USE_X11"] = "1" |
81353 |
|
80937 |
- |
81354 |
DEFINES["USE_X11"] = "1" |
|
|
81355 |
|
80938 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
81356 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
80939 |
- |
81357 |
- |
80940 |
- OS_LIBS += [ |
81358 |
- OS_LIBS += [ |
80941 |
- "unwind" |
81359 |
- "unwind" |
80942 |
- ] |
81360 |
- ] |
80943 |
- |
81361 |
- |
80944 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
80945 |
- |
80946 |
CXXFLAGS += [ |
80947 |
"-msse2" |
80948 |
] |
80949 |
|
80950 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
81362 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
80951 |
- |
81363 |
- |
80952 |
- DEFINES["_GNU_SOURCE"] = True |
81364 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 80956-80982
index a1b2840da3ea..6279462eabf7 100644
Link Here
|
80956 |
- DEFINES["_GNU_SOURCE"] = True |
81368 |
- DEFINES["_GNU_SOURCE"] = True |
80957 |
- |
81369 |
- |
80958 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
81370 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
80959 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81371 |
- |
80960 |
|
|
|
80961 |
- CXXFLAGS += [ |
80962 |
- "-msse2" |
80963 |
- ] |
80964 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
80965 |
|
80966 |
- DEFINES["_GNU_SOURCE"] = True |
81372 |
- DEFINES["_GNU_SOURCE"] = True |
80967 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81373 |
- |
80968 |
|
|
|
80969 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
81374 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
80970 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
81375 |
- |
80971 |
|
|
|
80972 |
- DEFINES["_GNU_SOURCE"] = True |
81376 |
- DEFINES["_GNU_SOURCE"] = True |
80973 |
+ DEFINES["USE_X11"] = "1" |
81377 |
- |
80974 |
|
81378 |
Library("rolling_accumulator_gn") |
80975 |
Library("rtc_event_gn") |
81379 |
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build |
80976 |
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build |
81380 |
index a1b2840da3ea..6279462eabf7 100644 |
80977 |
index 6bcce7ecf591..0127c502b6f6 100644 |
81381 |
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build |
80978 |
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build |
81382 |
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build |
80979 |
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build |
|
|
80980 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81383 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
80981 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81384 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
80982 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
81385 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 80999-81005
index 6bcce7ecf591..0127c502b6f6 100644
Link Here
|
80999 |
|
81402 |
|
81000 |
FINAL_LIBRARY = "xul" |
81403 |
FINAL_LIBRARY = "xul" |
81001 |
|
81404 |
|
81002 |
@@ -45,178 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: |
81405 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
81003 |
if CONFIG["MOZ_DEBUG"] == "1": |
81406 |
if CONFIG["MOZ_DEBUG"] == "1": |
81004 |
|
81407 |
|
81005 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
81408 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 81087-81092
index 6bcce7ecf591..0127c502b6f6 100644
Link Here
|
81087 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
81490 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
81088 |
- DEFINES["_WINDOWS"] = True |
81491 |
- DEFINES["_WINDOWS"] = True |
81089 |
- DEFINES["__STD_C"] = True |
81492 |
- DEFINES["__STD_C"] = True |
|
|
81493 |
- |
81494 |
- OS_LIBS += [ |
81495 |
- "crypt32", |
81496 |
- "iphlpapi", |
81497 |
- "secur32", |
81498 |
- "winmm" |
81499 |
- ] |
81090 |
+ DEFINES["_DEBUG"] = True |
81500 |
+ DEFINES["_DEBUG"] = True |
81091 |
|
81501 |
|
81092 |
if CONFIG["TARGET_CPU"] == "aarch64": |
81502 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 81183-81193
index 6bcce7ecf591..0127c502b6f6 100644
Link Here
|
81183 |
- DEFINES["_GNU_SOURCE"] = True |
81593 |
- DEFINES["_GNU_SOURCE"] = True |
81184 |
+ DEFINES["USE_X11"] = "1" |
81594 |
+ DEFINES["USE_X11"] = "1" |
81185 |
|
81595 |
|
81186 |
Library("rtc_numerics_gn") |
81596 |
Library("rtc_event_gn") |
81187 |
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build |
81597 |
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build |
81188 |
index 1e381892f367..8fc4c2183d80 100644 |
81598 |
index 6bcce7ecf591..0127c502b6f6 100644 |
81189 |
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build |
81599 |
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build |
81190 |
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build |
81600 |
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build |
81191 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81601 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81192 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81602 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81193 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
81603 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 81210-81216
index 1e381892f367..8fc4c2183d80 100644
Link Here
|
81210 |
|
81620 |
|
81211 |
FINAL_LIBRARY = "xul" |
81621 |
FINAL_LIBRARY = "xul" |
81212 |
|
81622 |
|
81213 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
81623 |
@@ -45,178 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: |
81214 |
if CONFIG["MOZ_DEBUG"] == "1": |
81624 |
if CONFIG["MOZ_DEBUG"] == "1": |
81215 |
|
81625 |
|
81216 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
81626 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 81229-81234
index 1e381892f367..8fc4c2183d80 100644
Link Here
|
81229 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
81639 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
81230 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
81640 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
81231 |
- |
81641 |
- |
|
|
81642 |
- OS_LIBS += [ |
81643 |
- "log" |
81644 |
- ] |
81645 |
- |
81232 |
-if CONFIG["OS_TARGET"] == "Darwin": |
81646 |
-if CONFIG["OS_TARGET"] == "Darwin": |
81233 |
- |
81647 |
- |
81234 |
- DEFINES["WEBRTC_MAC"] = True |
81648 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 81303-81308
index 1e381892f367..8fc4c2183d80 100644
Link Here
|
81303 |
|
81717 |
|
81304 |
-if CONFIG["TARGET_CPU"] == "arm": |
81718 |
-if CONFIG["TARGET_CPU"] == "arm": |
81305 |
- |
81719 |
- |
|
|
81720 |
- CXXFLAGS += [ |
81721 |
- "-mfpu=neon" |
81722 |
- ] |
81723 |
- |
81306 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
81724 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
81307 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
81725 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
81308 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
81726 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 81319-81328
index 1e381892f367..8fc4c2183d80 100644
Link Here
|
81319 |
|
81737 |
|
81320 |
if CONFIG["TARGET_CPU"] == "x86": |
81738 |
if CONFIG["TARGET_CPU"] == "x86": |
81321 |
|
81739 |
|
81322 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
81740 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81323 |
|
81741 |
- |
81324 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81742 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
81325 |
|
81743 |
- |
|
|
81744 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81745 |
- |
81326 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
81746 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
81327 |
- |
81747 |
- |
81328 |
- DEFINES["_DEBUG"] = True |
81748 |
- DEFINES["_DEBUG"] = True |
Lines 81344-81359
index 1e381892f367..8fc4c2183d80 100644
Link Here
|
81344 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
81764 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
81345 |
- |
81765 |
- |
81346 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
81766 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
81347 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
81767 |
- |
81348 |
|
81768 |
- DEFINES["USE_X11"] = "1" |
81349 |
DEFINES["USE_X11"] = "1" |
81769 |
- |
81350 |
|
|
|
81351 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
81770 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
81352 |
- |
81771 |
- |
81353 |
- OS_LIBS += [ |
81772 |
- OS_LIBS += [ |
81354 |
- "unwind" |
81773 |
- "unwind" |
81355 |
- ] |
81774 |
- ] |
81356 |
- |
81775 |
- |
|
|
81776 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
81777 |
- |
81778 |
CXXFLAGS += [ |
81779 |
"-msse2" |
81780 |
] |
81781 |
|
81357 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
81782 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
81358 |
- |
81783 |
- |
81359 |
- DEFINES["_GNU_SOURCE"] = True |
81784 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 81363-81380
index 1e381892f367..8fc4c2183d80 100644
Link Here
|
81363 |
- DEFINES["_GNU_SOURCE"] = True |
81788 |
- DEFINES["_GNU_SOURCE"] = True |
81364 |
- |
81789 |
- |
81365 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
81790 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
81366 |
- |
81791 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
81792 |
|
81793 |
- CXXFLAGS += [ |
81794 |
- "-msse2" |
81795 |
- ] |
81796 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
81797 |
|
81367 |
- DEFINES["_GNU_SOURCE"] = True |
81798 |
- DEFINES["_GNU_SOURCE"] = True |
81368 |
- |
81799 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
81800 |
|
81369 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
81801 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
81370 |
- |
81802 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
81803 |
|
81371 |
- DEFINES["_GNU_SOURCE"] = True |
81804 |
- DEFINES["_GNU_SOURCE"] = True |
81372 |
- |
81805 |
+ DEFINES["USE_X11"] = "1" |
81373 |
Library("safe_compare_gn") |
81806 |
|
81374 |
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build |
81807 |
Library("rtc_numerics_gn") |
81375 |
index f409a3834780..3ba803fa49d4 100644 |
81808 |
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build |
81376 |
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build |
81809 |
index 1e381892f367..8fc4c2183d80 100644 |
81377 |
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build |
81810 |
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build |
|
|
81811 |
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build |
81378 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81812 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81379 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81813 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81380 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
81814 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 81397-81403
index f409a3834780..3ba803fa49d4 100644
Link Here
|
81397 |
|
81831 |
|
81398 |
FINAL_LIBRARY = "xul" |
81832 |
FINAL_LIBRARY = "xul" |
81399 |
|
81833 |
|
81400 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
81834 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
81401 |
if CONFIG["MOZ_DEBUG"] == "1": |
81835 |
if CONFIG["MOZ_DEBUG"] == "1": |
81402 |
|
81836 |
|
81403 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
81837 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 81416-81425
index f409a3834780..3ba803fa49d4 100644
Link Here
|
81416 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
81850 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
81417 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
81851 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
81418 |
- |
81852 |
- |
81419 |
- OS_LIBS += [ |
|
|
81420 |
- "log" |
81421 |
- ] |
81422 |
- |
81423 |
-if CONFIG["OS_TARGET"] == "Darwin": |
81853 |
-if CONFIG["OS_TARGET"] == "Darwin": |
81424 |
- |
81854 |
- |
81425 |
- DEFINES["WEBRTC_MAC"] = True |
81855 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 81510-81516
index f409a3834780..3ba803fa49d4 100644
Link Here
|
81510 |
|
81940 |
|
81511 |
if CONFIG["TARGET_CPU"] == "x86": |
81941 |
if CONFIG["TARGET_CPU"] == "x86": |
81512 |
|
81942 |
|
81513 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
81943 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
81514 |
|
81944 |
|
81515 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81945 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81516 |
|
81946 |
|
Lines 81561-81571
index f409a3834780..3ba803fa49d4 100644
Link Here
|
81561 |
- |
81991 |
- |
81562 |
- DEFINES["_GNU_SOURCE"] = True |
81992 |
- DEFINES["_GNU_SOURCE"] = True |
81563 |
- |
81993 |
- |
81564 |
Library("safe_conversions_gn") |
81994 |
Library("safe_compare_gn") |
81565 |
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build |
81995 |
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build |
81566 |
index 31299792ebeb..a03b4cdd095d 100644 |
81996 |
index f409a3834780..3ba803fa49d4 100644 |
81567 |
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build |
81997 |
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build |
81568 |
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build |
81998 |
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build |
81569 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81999 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81570 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82000 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81571 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
82001 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 81752-81762
index 31299792ebeb..a03b4cdd095d 100644
Link Here
|
81752 |
- |
82182 |
- |
81753 |
- DEFINES["_GNU_SOURCE"] = True |
82183 |
- DEFINES["_GNU_SOURCE"] = True |
81754 |
- |
82184 |
- |
81755 |
Library("safe_minmax_gn") |
82185 |
Library("safe_conversions_gn") |
81756 |
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build |
82186 |
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build |
81757 |
index 0657de77c15b..fc147e94f56f 100644 |
82187 |
index 31299792ebeb..a03b4cdd095d 100644 |
81758 |
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build |
82188 |
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build |
81759 |
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build |
82189 |
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build |
81760 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82190 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81761 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82191 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81762 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
82192 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 81779-81785
index 0657de77c15b..fc147e94f56f 100644
Link Here
|
81779 |
|
82209 |
|
81780 |
FINAL_LIBRARY = "xul" |
82210 |
FINAL_LIBRARY = "xul" |
81781 |
|
82211 |
|
81782 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
82212 |
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
81783 |
if CONFIG["MOZ_DEBUG"] == "1": |
82213 |
if CONFIG["MOZ_DEBUG"] == "1": |
81784 |
|
82214 |
|
81785 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
82215 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 81876-81885
index 0657de77c15b..fc147e94f56f 100644
Link Here
|
81876 |
|
82306 |
|
81877 |
-if CONFIG["TARGET_CPU"] == "arm": |
82307 |
-if CONFIG["TARGET_CPU"] == "arm": |
81878 |
- |
82308 |
- |
81879 |
- CXXFLAGS += [ |
|
|
81880 |
- "-mfpu=neon" |
81881 |
- ] |
81882 |
- |
81883 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82309 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
81884 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82310 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
81885 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
82311 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 81896-81907
index 0657de77c15b..fc147e94f56f 100644
Link Here
|
81896 |
|
82322 |
|
81897 |
if CONFIG["TARGET_CPU"] == "x86": |
82323 |
if CONFIG["TARGET_CPU"] == "x86": |
81898 |
|
82324 |
|
81899 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82325 |
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
81900 |
- |
82326 |
|
81901 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
82327 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
81902 |
- |
82328 |
|
81903 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
81904 |
- |
81905 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82329 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
81906 |
- |
82330 |
- |
81907 |
- DEFINES["_DEBUG"] = True |
82331 |
- DEFINES["_DEBUG"] = True |
Lines 81923-81943
index 0657de77c15b..fc147e94f56f 100644
Link Here
|
81923 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82347 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
81924 |
- |
82348 |
- |
81925 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82349 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
81926 |
- |
82350 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
81927 |
- DEFINES["USE_X11"] = "1" |
82351 |
|
81928 |
- |
82352 |
DEFINES["USE_X11"] = "1" |
|
|
82353 |
|
81929 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82354 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
81930 |
- |
82355 |
- |
81931 |
- OS_LIBS += [ |
82356 |
- OS_LIBS += [ |
81932 |
- "unwind" |
82357 |
- "unwind" |
81933 |
- ] |
82358 |
- ] |
81934 |
- |
82359 |
- |
81935 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
81936 |
- |
81937 |
CXXFLAGS += [ |
81938 |
"-msse2" |
81939 |
] |
81940 |
|
81941 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82360 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
81942 |
- |
82361 |
- |
81943 |
- DEFINES["_GNU_SOURCE"] = True |
82362 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 81947-81973
index 0657de77c15b..fc147e94f56f 100644
Link Here
|
81947 |
- DEFINES["_GNU_SOURCE"] = True |
82366 |
- DEFINES["_GNU_SOURCE"] = True |
81948 |
- |
82367 |
- |
81949 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82368 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
81950 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82369 |
- |
81951 |
|
|
|
81952 |
- CXXFLAGS += [ |
81953 |
- "-msse2" |
81954 |
- ] |
81955 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
81956 |
|
81957 |
- DEFINES["_GNU_SOURCE"] = True |
82370 |
- DEFINES["_GNU_SOURCE"] = True |
81958 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82371 |
- |
81959 |
|
|
|
81960 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82372 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
81961 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
82373 |
- |
81962 |
|
|
|
81963 |
- DEFINES["_GNU_SOURCE"] = True |
82374 |
- DEFINES["_GNU_SOURCE"] = True |
81964 |
+ DEFINES["USE_X11"] = "1" |
82375 |
- |
81965 |
|
82376 |
Library("safe_minmax_gn") |
81966 |
Library("sample_counter_gn") |
82377 |
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build |
81967 |
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build |
82378 |
index 0657de77c15b..fc147e94f56f 100644 |
81968 |
index dcdcffdd8ef4..fb6cf9adbb71 100644 |
82379 |
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build |
81969 |
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build |
82380 |
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build |
81970 |
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build |
|
|
81971 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82381 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
81972 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82382 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
81973 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
82383 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 81990-81996
index dcdcffdd8ef4..fb6cf9adbb71 100644
Link Here
|
81990 |
|
82400 |
|
81991 |
FINAL_LIBRARY = "xul" |
82401 |
FINAL_LIBRARY = "xul" |
81992 |
|
82402 |
|
81993 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
82403 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
81994 |
if CONFIG["MOZ_DEBUG"] == "1": |
82404 |
if CONFIG["MOZ_DEBUG"] == "1": |
81995 |
|
82405 |
|
81996 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
82406 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 82009-82014
index dcdcffdd8ef4..fb6cf9adbb71 100644
Link Here
|
82009 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
82419 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
82010 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
82420 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
82011 |
- |
82421 |
- |
|
|
82422 |
- OS_LIBS += [ |
82423 |
- "log" |
82424 |
- ] |
82425 |
- |
82012 |
-if CONFIG["OS_TARGET"] == "Darwin": |
82426 |
-if CONFIG["OS_TARGET"] == "Darwin": |
82013 |
- |
82427 |
- |
82014 |
- DEFINES["WEBRTC_MAC"] = True |
82428 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 82083-82088
index dcdcffdd8ef4..fb6cf9adbb71 100644
Link Here
|
82083 |
|
82497 |
|
82084 |
-if CONFIG["TARGET_CPU"] == "arm": |
82498 |
-if CONFIG["TARGET_CPU"] == "arm": |
82085 |
- |
82499 |
- |
|
|
82500 |
- CXXFLAGS += [ |
82501 |
- "-mfpu=neon" |
82502 |
- ] |
82503 |
- |
82086 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82504 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82087 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82505 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82088 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
82506 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 82099-82108
index dcdcffdd8ef4..fb6cf9adbb71 100644
Link Here
|
82099 |
|
82517 |
|
82100 |
if CONFIG["TARGET_CPU"] == "x86": |
82518 |
if CONFIG["TARGET_CPU"] == "x86": |
82101 |
|
82519 |
|
82102 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
82520 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82103 |
|
82521 |
- |
82104 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82522 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
82105 |
|
82523 |
- |
|
|
82524 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82525 |
- |
82106 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82526 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82107 |
- |
82527 |
- |
82108 |
- DEFINES["_DEBUG"] = True |
82528 |
- DEFINES["_DEBUG"] = True |
Lines 82124-82139
index dcdcffdd8ef4..fb6cf9adbb71 100644
Link Here
|
82124 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82544 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82125 |
- |
82545 |
- |
82126 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82546 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82127 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
82547 |
- |
82128 |
|
82548 |
- DEFINES["USE_X11"] = "1" |
82129 |
DEFINES["USE_X11"] = "1" |
82549 |
- |
82130 |
|
|
|
82131 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82550 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82132 |
- |
82551 |
- |
82133 |
- OS_LIBS += [ |
82552 |
- OS_LIBS += [ |
82134 |
- "unwind" |
82553 |
- "unwind" |
82135 |
- ] |
82554 |
- ] |
82136 |
- |
82555 |
- |
|
|
82556 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
82557 |
- |
82558 |
CXXFLAGS += [ |
82559 |
"-msse2" |
82560 |
] |
82561 |
|
82137 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82562 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82138 |
- |
82563 |
- |
82139 |
- DEFINES["_GNU_SOURCE"] = True |
82564 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 82143-82160
index dcdcffdd8ef4..fb6cf9adbb71 100644
Link Here
|
82143 |
- DEFINES["_GNU_SOURCE"] = True |
82568 |
- DEFINES["_GNU_SOURCE"] = True |
82144 |
- |
82569 |
- |
82145 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82570 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82146 |
- |
82571 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
82572 |
|
82573 |
- CXXFLAGS += [ |
82574 |
- "-msse2" |
82575 |
- ] |
82576 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
82577 |
|
82147 |
- DEFINES["_GNU_SOURCE"] = True |
82578 |
- DEFINES["_GNU_SOURCE"] = True |
82148 |
- |
82579 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
82580 |
|
82149 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82581 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82150 |
- |
82582 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
82583 |
|
82151 |
- DEFINES["_GNU_SOURCE"] = True |
82584 |
- DEFINES["_GNU_SOURCE"] = True |
82152 |
- |
82585 |
+ DEFINES["USE_X11"] = "1" |
82153 |
Library("sanitizer_gn") |
82586 |
|
82154 |
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build |
82587 |
Library("sample_counter_gn") |
82155 |
index 2e5c00378acd..78d31c99625b 100644 |
82588 |
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build |
82156 |
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build |
82589 |
index dcdcffdd8ef4..fb6cf9adbb71 100644 |
82157 |
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build |
82590 |
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build |
|
|
82591 |
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build |
82158 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82592 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82159 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82593 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82160 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
82594 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 82177-82183
index 2e5c00378acd..78d31c99625b 100644
Link Here
|
82177 |
|
82611 |
|
82178 |
FINAL_LIBRARY = "xul" |
82612 |
FINAL_LIBRARY = "xul" |
82179 |
|
82613 |
|
82180 |
@@ -43,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
82614 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
82181 |
if CONFIG["MOZ_DEBUG"] == "1": |
82615 |
if CONFIG["MOZ_DEBUG"] == "1": |
82182 |
|
82616 |
|
82183 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
82617 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 82196-82206
index 2e5c00378acd..78d31c99625b 100644
Link Here
|
82196 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
82630 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
82197 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
82631 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
82198 |
- |
82632 |
- |
82199 |
- OS_LIBS += [ |
|
|
82200 |
- "GLESv2", |
82201 |
- "log" |
82202 |
- ] |
82203 |
- |
82204 |
-if CONFIG["OS_TARGET"] == "Darwin": |
82633 |
-if CONFIG["OS_TARGET"] == "Darwin": |
82205 |
- |
82634 |
- |
82206 |
- DEFINES["WEBRTC_MAC"] = True |
82635 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 82266-82278
index 2e5c00378acd..78d31c99625b 100644
Link Here
|
82266 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
82695 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
82267 |
- DEFINES["_WINDOWS"] = True |
82696 |
- DEFINES["_WINDOWS"] = True |
82268 |
- DEFINES["__STD_C"] = True |
82697 |
- DEFINES["__STD_C"] = True |
82269 |
- |
|
|
82270 |
- OS_LIBS += [ |
82271 |
- "crypt32", |
82272 |
- "iphlpapi", |
82273 |
- "secur32", |
82274 |
- "winmm" |
82275 |
- ] |
82276 |
+ DEFINES["_DEBUG"] = True |
82698 |
+ DEFINES["_DEBUG"] = True |
82277 |
|
82699 |
|
82278 |
if CONFIG["TARGET_CPU"] == "aarch64": |
82700 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 82282-82291
index 2e5c00378acd..78d31c99625b 100644
Link Here
|
82282 |
|
82704 |
|
82283 |
-if CONFIG["TARGET_CPU"] == "arm": |
82705 |
-if CONFIG["TARGET_CPU"] == "arm": |
82284 |
- |
82706 |
- |
82285 |
- CXXFLAGS += [ |
|
|
82286 |
- "-mfpu=neon" |
82287 |
- ] |
82288 |
- |
82289 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82707 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82290 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82708 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82291 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
82709 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 82302-82313
index 2e5c00378acd..78d31c99625b 100644
Link Here
|
82302 |
|
82720 |
|
82303 |
if CONFIG["TARGET_CPU"] == "x86": |
82721 |
if CONFIG["TARGET_CPU"] == "x86": |
82304 |
|
82722 |
|
82305 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82723 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
82306 |
- |
82724 |
|
82307 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
82725 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82308 |
- |
82726 |
|
82309 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
82310 |
- |
82311 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82727 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82312 |
- |
82728 |
- |
82313 |
- DEFINES["_DEBUG"] = True |
82729 |
- DEFINES["_DEBUG"] = True |
Lines 82329-82349
index 2e5c00378acd..78d31c99625b 100644
Link Here
|
82329 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82745 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82330 |
- |
82746 |
- |
82331 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82747 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82332 |
- |
82748 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
82333 |
- DEFINES["USE_X11"] = "1" |
82749 |
|
82334 |
- |
82750 |
DEFINES["USE_X11"] = "1" |
|
|
82751 |
|
82335 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82752 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82336 |
- |
82753 |
- |
82337 |
- OS_LIBS += [ |
82754 |
- OS_LIBS += [ |
82338 |
- "unwind" |
82755 |
- "unwind" |
82339 |
- ] |
82756 |
- ] |
82340 |
- |
82757 |
- |
82341 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
82342 |
- |
82343 |
CXXFLAGS += [ |
82344 |
"-msse2" |
82345 |
] |
82346 |
|
82347 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82758 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82348 |
- |
82759 |
- |
82349 |
- DEFINES["_GNU_SOURCE"] = True |
82760 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 82353-82379
index 2e5c00378acd..78d31c99625b 100644
Link Here
|
82353 |
- DEFINES["_GNU_SOURCE"] = True |
82764 |
- DEFINES["_GNU_SOURCE"] = True |
82354 |
- |
82765 |
- |
82355 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82766 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82356 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82767 |
- |
82357 |
|
|
|
82358 |
- CXXFLAGS += [ |
82359 |
- "-msse2" |
82360 |
- ] |
82361 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
82362 |
|
82363 |
- DEFINES["_GNU_SOURCE"] = True |
82768 |
- DEFINES["_GNU_SOURCE"] = True |
82364 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82769 |
- |
82365 |
|
|
|
82366 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82770 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82367 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
82771 |
- |
82368 |
|
|
|
82369 |
- DEFINES["_GNU_SOURCE"] = True |
82772 |
- DEFINES["_GNU_SOURCE"] = True |
82370 |
+ DEFINES["USE_X11"] = "1" |
82773 |
- |
82371 |
|
82774 |
Library("sanitizer_gn") |
82372 |
Library("socket_address_gn") |
82775 |
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build |
82373 |
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build |
82776 |
index 2e5c00378acd..78d31c99625b 100644 |
82374 |
index 572b2f62b08c..23ceff9330b2 100644 |
82777 |
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build |
82375 |
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build |
82778 |
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build |
82376 |
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build |
|
|
82377 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82779 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82378 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82780 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82379 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
82781 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 82396-82402
index 572b2f62b08c..23ceff9330b2 100644
Link Here
|
82396 |
|
82798 |
|
82397 |
FINAL_LIBRARY = "xul" |
82799 |
FINAL_LIBRARY = "xul" |
82398 |
|
82800 |
|
82399 |
@@ -39,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
82801 |
@@ -43,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
82400 |
if CONFIG["MOZ_DEBUG"] == "1": |
82802 |
if CONFIG["MOZ_DEBUG"] == "1": |
82401 |
|
82803 |
|
82402 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
82804 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 82501-82506
index 572b2f62b08c..23ceff9330b2 100644
Link Here
|
82501 |
|
82903 |
|
82502 |
-if CONFIG["TARGET_CPU"] == "arm": |
82904 |
-if CONFIG["TARGET_CPU"] == "arm": |
82503 |
- |
82905 |
- |
|
|
82906 |
- CXXFLAGS += [ |
82907 |
- "-mfpu=neon" |
82908 |
- ] |
82909 |
- |
82504 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82910 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82505 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82911 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82506 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
82912 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 82517-82526
index 572b2f62b08c..23ceff9330b2 100644
Link Here
|
82517 |
|
82923 |
|
82518 |
if CONFIG["TARGET_CPU"] == "x86": |
82924 |
if CONFIG["TARGET_CPU"] == "x86": |
82519 |
|
82925 |
|
82520 |
@@ -161,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
82926 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82521 |
|
82927 |
- |
82522 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82928 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
82523 |
|
82929 |
- |
|
|
82930 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82931 |
- |
82524 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82932 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82525 |
- |
82933 |
- |
82526 |
- DEFINES["_DEBUG"] = True |
82934 |
- DEFINES["_DEBUG"] = True |
Lines 82542-82557
index 572b2f62b08c..23ceff9330b2 100644
Link Here
|
82542 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82950 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82543 |
- |
82951 |
- |
82544 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82952 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82545 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
82953 |
- |
82546 |
|
82954 |
- DEFINES["USE_X11"] = "1" |
82547 |
DEFINES["USE_X11"] = "1" |
82955 |
- |
82548 |
|
|
|
82549 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82956 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82550 |
- |
82957 |
- |
82551 |
- OS_LIBS += [ |
82958 |
- OS_LIBS += [ |
82552 |
- "unwind" |
82959 |
- "unwind" |
82553 |
- ] |
82960 |
- ] |
82554 |
- |
82961 |
- |
|
|
82962 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
82963 |
- |
82964 |
CXXFLAGS += [ |
82965 |
"-msse2" |
82966 |
] |
82967 |
|
82555 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82968 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82556 |
- |
82969 |
- |
82557 |
- DEFINES["_GNU_SOURCE"] = True |
82970 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 82561-82578
index 572b2f62b08c..23ceff9330b2 100644
Link Here
|
82561 |
- DEFINES["_GNU_SOURCE"] = True |
82974 |
- DEFINES["_GNU_SOURCE"] = True |
82562 |
- |
82975 |
- |
82563 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82976 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82564 |
- |
82977 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
82978 |
|
82979 |
- CXXFLAGS += [ |
82980 |
- "-msse2" |
82981 |
- ] |
82982 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
82983 |
|
82565 |
- DEFINES["_GNU_SOURCE"] = True |
82984 |
- DEFINES["_GNU_SOURCE"] = True |
82566 |
- |
82985 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
82986 |
|
82567 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82987 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82568 |
- |
82988 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
82989 |
|
82569 |
- DEFINES["_GNU_SOURCE"] = True |
82990 |
- DEFINES["_GNU_SOURCE"] = True |
82570 |
- |
82991 |
+ DEFINES["USE_X11"] = "1" |
82571 |
Library("socket_factory_gn") |
82992 |
|
82572 |
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build |
82993 |
Library("socket_address_gn") |
82573 |
index 4b08aeb0de91..d8dcd1ca715e 100644 |
82994 |
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build |
82574 |
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build |
82995 |
index 572b2f62b08c..23ceff9330b2 100644 |
82575 |
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build |
82996 |
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build |
|
|
82997 |
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build |
82576 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82998 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82577 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82999 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82578 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
83000 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 82595-82601
index 4b08aeb0de91..d8dcd1ca715e 100644
Link Here
|
82595 |
|
83017 |
|
82596 |
FINAL_LIBRARY = "xul" |
83018 |
FINAL_LIBRARY = "xul" |
82597 |
|
83019 |
|
82598 |
@@ -43,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
83020 |
@@ -39,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
82599 |
if CONFIG["MOZ_DEBUG"] == "1": |
83021 |
if CONFIG["MOZ_DEBUG"] == "1": |
82600 |
|
83022 |
|
82601 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
83023 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 82700-82709
index 4b08aeb0de91..d8dcd1ca715e 100644
Link Here
|
82700 |
|
83122 |
|
82701 |
-if CONFIG["TARGET_CPU"] == "arm": |
83123 |
-if CONFIG["TARGET_CPU"] == "arm": |
82702 |
- |
83124 |
- |
82703 |
- CXXFLAGS += [ |
|
|
82704 |
- "-mfpu=neon" |
82705 |
- ] |
82706 |
- |
82707 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
83125 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82708 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
83126 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82709 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
83127 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 82720-82731
index 4b08aeb0de91..d8dcd1ca715e 100644
Link Here
|
82720 |
|
83138 |
|
82721 |
if CONFIG["TARGET_CPU"] == "x86": |
83139 |
if CONFIG["TARGET_CPU"] == "x86": |
82722 |
|
83140 |
|
82723 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
83141 |
@@ -161,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
82724 |
- |
83142 |
|
82725 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
83143 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82726 |
- |
83144 |
|
82727 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
82728 |
- |
82729 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
83145 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82730 |
- |
83146 |
- |
82731 |
- DEFINES["_DEBUG"] = True |
83147 |
- DEFINES["_DEBUG"] = True |
Lines 82747-82767
index 4b08aeb0de91..d8dcd1ca715e 100644
Link Here
|
82747 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
83163 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82748 |
- |
83164 |
- |
82749 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
83165 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82750 |
- |
83166 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
82751 |
- DEFINES["USE_X11"] = "1" |
83167 |
|
82752 |
- |
83168 |
DEFINES["USE_X11"] = "1" |
|
|
83169 |
|
82753 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
83170 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82754 |
- |
83171 |
- |
82755 |
- OS_LIBS += [ |
83172 |
- OS_LIBS += [ |
82756 |
- "unwind" |
83173 |
- "unwind" |
82757 |
- ] |
83174 |
- ] |
82758 |
- |
83175 |
- |
82759 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
|
|
82760 |
- |
82761 |
CXXFLAGS += [ |
82762 |
"-msse2" |
82763 |
] |
82764 |
|
82765 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
83176 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82766 |
- |
83177 |
- |
82767 |
- DEFINES["_GNU_SOURCE"] = True |
83178 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 82771-82797
index 4b08aeb0de91..d8dcd1ca715e 100644
Link Here
|
82771 |
- DEFINES["_GNU_SOURCE"] = True |
83182 |
- DEFINES["_GNU_SOURCE"] = True |
82772 |
- |
83183 |
- |
82773 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
83184 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82774 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
83185 |
- |
82775 |
|
|
|
82776 |
- CXXFLAGS += [ |
82777 |
- "-msse2" |
82778 |
- ] |
82779 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
82780 |
|
82781 |
- DEFINES["_GNU_SOURCE"] = True |
83186 |
- DEFINES["_GNU_SOURCE"] = True |
82782 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
83187 |
- |
82783 |
|
|
|
82784 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
83188 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82785 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
83189 |
- |
82786 |
|
|
|
82787 |
- DEFINES["_GNU_SOURCE"] = True |
83190 |
- DEFINES["_GNU_SOURCE"] = True |
82788 |
+ DEFINES["USE_X11"] = "1" |
83191 |
- |
82789 |
|
83192 |
Library("socket_factory_gn") |
82790 |
Library("socket_gn") |
83193 |
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build |
82791 |
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build |
83194 |
index 4b08aeb0de91..d8dcd1ca715e 100644 |
82792 |
index d4654af6fc1f..265a05693776 100644 |
83195 |
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build |
82793 |
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build |
83196 |
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build |
82794 |
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build |
|
|
82795 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
83197 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82796 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
83198 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82797 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
83199 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 82814-82820
index d4654af6fc1f..265a05693776 100644
Link Here
|
82814 |
|
83216 |
|
82815 |
FINAL_LIBRARY = "xul" |
83217 |
FINAL_LIBRARY = "xul" |
82816 |
|
83218 |
|
82817 |
@@ -39,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
83219 |
@@ -43,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
82818 |
if CONFIG["MOZ_DEBUG"] == "1": |
83220 |
if CONFIG["MOZ_DEBUG"] == "1": |
82819 |
|
83221 |
|
82820 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
83222 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 82919-82924
index d4654af6fc1f..265a05693776 100644
Link Here
|
82919 |
|
83321 |
|
82920 |
-if CONFIG["TARGET_CPU"] == "arm": |
83322 |
-if CONFIG["TARGET_CPU"] == "arm": |
82921 |
- |
83323 |
- |
|
|
83324 |
- CXXFLAGS += [ |
83325 |
- "-mfpu=neon" |
83326 |
- ] |
83327 |
- |
82922 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
83328 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
82923 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
83329 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
82924 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
83330 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
Lines 82935-82944
index d4654af6fc1f..265a05693776 100644
Link Here
|
82935 |
|
83341 |
|
82936 |
if CONFIG["TARGET_CPU"] == "x86": |
83342 |
if CONFIG["TARGET_CPU"] == "x86": |
82937 |
|
83343 |
|
82938 |
@@ -161,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
83344 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
82939 |
|
83345 |
- |
82940 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
83346 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
82941 |
|
83347 |
- |
|
|
83348 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
83349 |
- |
82942 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
83350 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
82943 |
- |
83351 |
- |
82944 |
- DEFINES["_DEBUG"] = True |
83352 |
- DEFINES["_DEBUG"] = True |
Lines 82960-82975
index d4654af6fc1f..265a05693776 100644
Link Here
|
82960 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
83368 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
82961 |
- |
83369 |
- |
82962 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
83370 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
82963 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
83371 |
- |
82964 |
|
83372 |
- DEFINES["USE_X11"] = "1" |
82965 |
DEFINES["USE_X11"] = "1" |
83373 |
- |
82966 |
|
|
|
82967 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
83374 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
82968 |
- |
83375 |
- |
82969 |
- OS_LIBS += [ |
83376 |
- OS_LIBS += [ |
82970 |
- "unwind" |
83377 |
- "unwind" |
82971 |
- ] |
83378 |
- ] |
82972 |
- |
83379 |
- |
|
|
83380 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
83381 |
- |
83382 |
CXXFLAGS += [ |
83383 |
"-msse2" |
83384 |
] |
83385 |
|
82973 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
83386 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
82974 |
- |
83387 |
- |
82975 |
- DEFINES["_GNU_SOURCE"] = True |
83388 |
- DEFINES["_GNU_SOURCE"] = True |
Lines 82979-82996
index d4654af6fc1f..265a05693776 100644
Link Here
|
82979 |
- DEFINES["_GNU_SOURCE"] = True |
83392 |
- DEFINES["_GNU_SOURCE"] = True |
82980 |
- |
83393 |
- |
82981 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
83394 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
82982 |
- |
83395 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
83396 |
|
83397 |
- CXXFLAGS += [ |
83398 |
- "-msse2" |
83399 |
- ] |
83400 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
83401 |
|
82983 |
- DEFINES["_GNU_SOURCE"] = True |
83402 |
- DEFINES["_GNU_SOURCE"] = True |
82984 |
- |
83403 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
|
|
83404 |
|
82985 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
83405 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
82986 |
- |
83406 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
|
|
83407 |
|
82987 |
- DEFINES["_GNU_SOURCE"] = True |
83408 |
- DEFINES["_GNU_SOURCE"] = True |
82988 |
- |
83409 |
+ DEFINES["USE_X11"] = "1" |
82989 |
Library("socket_server_gn") |
83410 |
|
82990 |
diff --git third_party/libwebrtc/rtc_base/ssl_gn/moz.build third_party/libwebrtc/rtc_base/ssl_gn/moz.build |
83411 |
Library("socket_gn") |
82991 |
index 599001039a48..a2cf5b7c9ecd 100644 |
83412 |
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build |
82992 |
--- third_party/libwebrtc/rtc_base/ssl_gn/moz.build |
83413 |
index d4654af6fc1f..265a05693776 100644 |
82993 |
+++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build |
83414 |
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build |
|
|
83415 |
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build |
82994 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
83416 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
82995 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
83417 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
82996 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
83418 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 83013-83019
index 599001039a48..a2cf5b7c9ecd 100644
Link Here
|
83013 |
|
83435 |
|
83014 |
FINAL_LIBRARY = "xul" |
83436 |
FINAL_LIBRARY = "xul" |
83015 |
|
83437 |
|
83016 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
83438 |
@@ -39,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
83017 |
if CONFIG["MOZ_DEBUG"] == "1": |
83439 |
if CONFIG["MOZ_DEBUG"] == "1": |
83018 |
|
83440 |
|
83019 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
83441 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 83032-83037
index 599001039a48..a2cf5b7c9ecd 100644
Link Here
|
83032 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
83454 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
83033 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
83455 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
83034 |
- |
83456 |
- |
|
|
83457 |
- OS_LIBS += [ |
83458 |
- "GLESv2", |
83459 |
- "log" |
83460 |
- ] |
83461 |
- |
83035 |
-if CONFIG["OS_TARGET"] == "Darwin": |
83462 |
-if CONFIG["OS_TARGET"] == "Darwin": |
83036 |
- |
83463 |
- |
83037 |
- DEFINES["WEBRTC_MAC"] = True |
83464 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 83097-83102
index 599001039a48..a2cf5b7c9ecd 100644
Link Here
|
83097 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
83524 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
83098 |
- DEFINES["_WINDOWS"] = True |
83525 |
- DEFINES["_WINDOWS"] = True |
83099 |
- DEFINES["__STD_C"] = True |
83526 |
- DEFINES["__STD_C"] = True |
|
|
83527 |
- |
83528 |
- OS_LIBS += [ |
83529 |
- "crypt32", |
83530 |
- "iphlpapi", |
83531 |
- "secur32", |
83532 |
- "winmm" |
83533 |
- ] |
83100 |
+ DEFINES["_DEBUG"] = True |
83534 |
+ DEFINES["_DEBUG"] = True |
83101 |
|
83535 |
|
83102 |
if CONFIG["TARGET_CPU"] == "aarch64": |
83536 |
if CONFIG["TARGET_CPU"] == "aarch64": |
Lines 83122-83128
index 599001039a48..a2cf5b7c9ecd 100644
Link Here
|
83122 |
|
83556 |
|
83123 |
if CONFIG["TARGET_CPU"] == "x86": |
83557 |
if CONFIG["TARGET_CPU"] == "x86": |
83124 |
|
83558 |
|
83125 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
83559 |
@@ -161,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
83126 |
|
83560 |
|
83127 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
83561 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
83128 |
|
83562 |
|
Lines 83173-83183
index 599001039a48..a2cf5b7c9ecd 100644
Link Here
|
83173 |
- |
83607 |
- |
83174 |
- DEFINES["_GNU_SOURCE"] = True |
83608 |
- DEFINES["_GNU_SOURCE"] = True |
83175 |
- |
83609 |
- |
83176 |
Library("ssl_gn") |
83610 |
Library("socket_server_gn") |
83177 |
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build |
83611 |
diff --git third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build |
83178 |
index 5016b4fce059..44112c834b87 100644 |
83612 |
index 66251b8e86a1..a920e0e0e95b 100644 |
83179 |
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build |
83613 |
--- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build |
83180 |
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build |
83614 |
+++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build |
83181 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
83615 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
83182 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
83616 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
83183 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
83617 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 83200-83206
index 5016b4fce059..44112c834b87 100644
Link Here
|
83200 |
|
83634 |
|
83201 |
FINAL_LIBRARY = "xul" |
83635 |
FINAL_LIBRARY = "xul" |
83202 |
|
83636 |
|
83203 |
@@ -47,178 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
83637 |
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: |
83204 |
if CONFIG["MOZ_DEBUG"] == "1": |
83638 |
if CONFIG["MOZ_DEBUG"] == "1": |
83205 |
|
83639 |
|
83206 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
83640 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 83219-83228
index 5016b4fce059..44112c834b87 100644
Link Here
|
83219 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
83653 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
83220 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
83654 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
83221 |
- |
83655 |
- |
83222 |
- OS_LIBS += [ |
83656 |
-if CONFIG["OS_TARGET"] == "Darwin": |
83223 |
- "log" |
83657 |
- |
83224 |
- ] |
83658 |
- DEFINES["WEBRTC_MAC"] = True |
83225 |
- |
83659 |
- DEFINES["WEBRTC_POSIX"] = True |
|
|
83660 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
83661 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
83662 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
83663 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
83664 |
- |
83665 |
-if CONFIG["OS_TARGET"] == "Linux": |
83666 |
- |
83667 |
- DEFINES["USE_AURA"] = "1" |
83668 |
- DEFINES["USE_GLIB"] = "1" |
83669 |
- DEFINES["USE_NSS_CERTS"] = "1" |
83670 |
- DEFINES["USE_OZONE"] = "1" |
83671 |
- DEFINES["USE_UDEV"] = True |
83672 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
83673 |
- DEFINES["WEBRTC_LINUX"] = True |
83674 |
- DEFINES["WEBRTC_POSIX"] = True |
83675 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
83676 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
83677 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
83678 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
83679 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
83680 |
- |
83681 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
83682 |
- |
83683 |
- DEFINES["USE_GLIB"] = "1" |
83684 |
- DEFINES["USE_OZONE"] = "1" |
83685 |
- DEFINES["USE_X11"] = "1" |
83686 |
- DEFINES["WEBRTC_BSD"] = True |
83687 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
83688 |
- DEFINES["WEBRTC_POSIX"] = True |
83689 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
83690 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
83691 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
83692 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
83693 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
83694 |
- |
83695 |
-if CONFIG["OS_TARGET"] == "WINNT": |
83696 |
- |
83697 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
83698 |
- DEFINES["NOMINMAX"] = True |
83699 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
83700 |
- DEFINES["PSAPI_VERSION"] = "2" |
83701 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
83702 |
- DEFINES["UNICODE"] = True |
83703 |
- DEFINES["USE_AURA"] = "1" |
83704 |
- DEFINES["WEBRTC_WIN"] = True |
83705 |
- DEFINES["WIN32"] = True |
83706 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
83707 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
83708 |
- DEFINES["WINVER"] = "0x0A00" |
83709 |
- DEFINES["_ATL_NO_OPENGL"] = True |
83710 |
- DEFINES["_CRT_RAND_S"] = True |
83711 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
83712 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
83713 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
83714 |
- DEFINES["_HAS_NODISCARD"] = True |
83715 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
83716 |
- DEFINES["_SECURE_ATL"] = True |
83717 |
- DEFINES["_UNICODE"] = True |
83718 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
83719 |
- DEFINES["_WINDOWS"] = True |
83720 |
- DEFINES["__STD_C"] = True |
83721 |
+ DEFINES["_DEBUG"] = True |
83722 |
|
83723 |
if CONFIG["TARGET_CPU"] == "aarch64": |
83724 |
|
83725 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
83726 |
DEFINES["WEBRTC_HAS_NEON"] = True |
83727 |
|
83728 |
-if CONFIG["TARGET_CPU"] == "arm": |
83729 |
- |
83730 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
83731 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
83732 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
83733 |
- |
83734 |
if CONFIG["TARGET_CPU"] == "mips32": |
83735 |
|
83736 |
DEFINES["MIPS32_LE"] = True |
83737 |
DEFINES["MIPS_FPU_LE"] = True |
83738 |
- DEFINES["_GNU_SOURCE"] = True |
83739 |
- |
83740 |
-if CONFIG["TARGET_CPU"] == "mips64": |
83741 |
- |
83742 |
- DEFINES["_GNU_SOURCE"] = True |
83743 |
|
83744 |
if CONFIG["TARGET_CPU"] == "x86": |
83745 |
|
83746 |
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": |
83747 |
|
83748 |
DEFINES["WEBRTC_ENABLE_AVX2"] = True |
83749 |
|
83750 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
83751 |
- |
83752 |
- DEFINES["_DEBUG"] = True |
83753 |
- |
83754 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
83755 |
- |
83756 |
- DEFINES["_DEBUG"] = True |
83757 |
- |
83758 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
83759 |
- |
83760 |
- DEFINES["_DEBUG"] = True |
83761 |
- |
83762 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
83763 |
- |
83764 |
- DEFINES["_DEBUG"] = True |
83765 |
- |
83766 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
83767 |
- |
83768 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
83769 |
- |
83770 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
83771 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
83772 |
|
83773 |
DEFINES["USE_X11"] = "1" |
83774 |
|
83775 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
83776 |
- |
83777 |
- OS_LIBS += [ |
83778 |
- "unwind" |
83779 |
- ] |
83780 |
- |
83781 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
83782 |
- |
83783 |
- DEFINES["_GNU_SOURCE"] = True |
83784 |
- |
83785 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
83786 |
- |
83787 |
- DEFINES["_GNU_SOURCE"] = True |
83788 |
- |
83789 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
83790 |
- |
83791 |
- DEFINES["_GNU_SOURCE"] = True |
83792 |
- |
83793 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
83794 |
- |
83795 |
- DEFINES["_GNU_SOURCE"] = True |
83796 |
- |
83797 |
Library("ssl_adapter_gn") |
83798 |
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build |
83799 |
index 5016b4fce059..44112c834b87 100644 |
83800 |
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build |
83801 |
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build |
83802 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
83803 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
83804 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
83805 |
DEFINES["RTC_ENABLE_VP9"] = True |
83806 |
+DEFINES["USE_GLIB"] = "1" |
83807 |
+DEFINES["USE_OZONE"] = "1" |
83808 |
+DEFINES["WEBRTC_BSD"] = True |
83809 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
83810 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
83811 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
83812 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
83813 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
83814 |
+DEFINES["WEBRTC_POSIX"] = True |
83815 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
83816 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
83817 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
83818 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
83819 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
83820 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
83821 |
|
83822 |
FINAL_LIBRARY = "xul" |
83823 |
|
83824 |
@@ -47,178 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
83825 |
if CONFIG["MOZ_DEBUG"] == "1": |
83826 |
|
83827 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
83828 |
- |
83829 |
-if CONFIG["OS_TARGET"] == "Android": |
83830 |
- |
83831 |
- DEFINES["ANDROID"] = True |
83832 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
83833 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
83834 |
- DEFINES["WEBRTC_ANDROID"] = True |
83835 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
83836 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
83837 |
- DEFINES["WEBRTC_LINUX"] = True |
83838 |
- DEFINES["WEBRTC_POSIX"] = True |
83839 |
- DEFINES["_GNU_SOURCE"] = True |
83840 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
83841 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
83842 |
- |
83843 |
- OS_LIBS += [ |
83844 |
- "log" |
83845 |
- ] |
83846 |
- |
83226 |
-if CONFIG["OS_TARGET"] == "Darwin": |
83847 |
-if CONFIG["OS_TARGET"] == "Darwin": |
83227 |
- |
83848 |
- |
83228 |
- DEFINES["WEBRTC_MAC"] = True |
83849 |
- DEFINES["WEBRTC_MAC"] = True |
Lines 89249-89255
index 30aa20ae3ede..c5bb79c454fc 100644
Link Here
|
89249 |
|
89870 |
|
89250 |
FINAL_LIBRARY = "xul" |
89871 |
FINAL_LIBRARY = "xul" |
89251 |
|
89872 |
|
89252 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
89873 |
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
|
|
89874 |
if CONFIG["MOZ_DEBUG"] == "1": |
89875 |
|
89876 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
89877 |
- |
89878 |
-if CONFIG["OS_TARGET"] == "Android": |
89879 |
- |
89880 |
- DEFINES["ANDROID"] = True |
89881 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
89882 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
89883 |
- DEFINES["WEBRTC_ANDROID"] = True |
89884 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
89885 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
89886 |
- DEFINES["WEBRTC_LINUX"] = True |
89887 |
- DEFINES["WEBRTC_POSIX"] = True |
89888 |
- DEFINES["_GNU_SOURCE"] = True |
89889 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89890 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89891 |
- |
89892 |
- OS_LIBS += [ |
89893 |
- "log" |
89894 |
- ] |
89895 |
- |
89896 |
-if CONFIG["OS_TARGET"] == "Darwin": |
89897 |
- |
89898 |
- DEFINES["WEBRTC_MAC"] = True |
89899 |
- DEFINES["WEBRTC_POSIX"] = True |
89900 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
89901 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
89902 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89903 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89904 |
- |
89905 |
-if CONFIG["OS_TARGET"] == "Linux": |
89906 |
- |
89907 |
- DEFINES["USE_AURA"] = "1" |
89908 |
- DEFINES["USE_GLIB"] = "1" |
89909 |
- DEFINES["USE_NSS_CERTS"] = "1" |
89910 |
- DEFINES["USE_OZONE"] = "1" |
89911 |
- DEFINES["USE_UDEV"] = True |
89912 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
89913 |
- DEFINES["WEBRTC_LINUX"] = True |
89914 |
- DEFINES["WEBRTC_POSIX"] = True |
89915 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
89916 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
89917 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
89918 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89919 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89920 |
- |
89921 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
89922 |
- |
89923 |
- DEFINES["USE_GLIB"] = "1" |
89924 |
- DEFINES["USE_OZONE"] = "1" |
89925 |
- DEFINES["USE_X11"] = "1" |
89926 |
- DEFINES["WEBRTC_BSD"] = True |
89927 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
89928 |
- DEFINES["WEBRTC_POSIX"] = True |
89929 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
89930 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
89931 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
89932 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89933 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89934 |
- |
89935 |
-if CONFIG["OS_TARGET"] == "WINNT": |
89936 |
- |
89937 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
89938 |
- DEFINES["NOMINMAX"] = True |
89939 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
89940 |
- DEFINES["PSAPI_VERSION"] = "2" |
89941 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
89942 |
- DEFINES["UNICODE"] = True |
89943 |
- DEFINES["USE_AURA"] = "1" |
89944 |
- DEFINES["WEBRTC_WIN"] = True |
89945 |
- DEFINES["WIN32"] = True |
89946 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
89947 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
89948 |
- DEFINES["WINVER"] = "0x0A00" |
89949 |
- DEFINES["_ATL_NO_OPENGL"] = True |
89950 |
- DEFINES["_CRT_RAND_S"] = True |
89951 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
89952 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
89953 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
89954 |
- DEFINES["_HAS_NODISCARD"] = True |
89955 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
89956 |
- DEFINES["_SECURE_ATL"] = True |
89957 |
- DEFINES["_UNICODE"] = True |
89958 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
89959 |
- DEFINES["_WINDOWS"] = True |
89960 |
- DEFINES["__STD_C"] = True |
89961 |
- |
89962 |
- OS_LIBS += [ |
89963 |
- "crypt32", |
89964 |
- "iphlpapi", |
89965 |
- "secur32", |
89966 |
- "winmm" |
89967 |
- ] |
89968 |
+ DEFINES["_DEBUG"] = True |
89969 |
|
89970 |
if CONFIG["TARGET_CPU"] == "aarch64": |
89971 |
|
89972 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
89973 |
DEFINES["WEBRTC_HAS_NEON"] = True |
89974 |
|
89975 |
-if CONFIG["TARGET_CPU"] == "arm": |
89976 |
- |
89977 |
- CXXFLAGS += [ |
89978 |
- "-mfpu=neon" |
89979 |
- ] |
89980 |
- |
89981 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
89982 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
89983 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
89984 |
- |
89985 |
if CONFIG["TARGET_CPU"] == "mips32": |
89986 |
|
89987 |
DEFINES["MIPS32_LE"] = True |
89988 |
DEFINES["MIPS_FPU_LE"] = True |
89989 |
- DEFINES["_GNU_SOURCE"] = True |
89990 |
- |
89991 |
-if CONFIG["TARGET_CPU"] == "mips64": |
89992 |
- |
89993 |
- DEFINES["_GNU_SOURCE"] = True |
89994 |
|
89995 |
if CONFIG["TARGET_CPU"] == "x86": |
89996 |
|
89997 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
89998 |
- |
89999 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
90000 |
- |
90001 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
90002 |
- |
90003 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
90004 |
- |
90005 |
- DEFINES["_DEBUG"] = True |
90006 |
- |
90007 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
90008 |
- |
90009 |
- DEFINES["_DEBUG"] = True |
90010 |
- |
90011 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
90012 |
- |
90013 |
- DEFINES["_DEBUG"] = True |
90014 |
- |
90015 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
90016 |
- |
90017 |
- DEFINES["_DEBUG"] = True |
90018 |
- |
90019 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
90020 |
- |
90021 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
90022 |
- |
90023 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
90024 |
- |
90025 |
- DEFINES["USE_X11"] = "1" |
90026 |
- |
90027 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
90028 |
- |
90029 |
- OS_LIBS += [ |
90030 |
- "unwind" |
90031 |
- ] |
90032 |
- |
90033 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
90034 |
- |
90035 |
CXXFLAGS += [ |
90036 |
"-msse2" |
90037 |
] |
90038 |
|
90039 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
90040 |
- |
90041 |
- DEFINES["_GNU_SOURCE"] = True |
90042 |
- |
90043 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
90044 |
- |
90045 |
- DEFINES["_GNU_SOURCE"] = True |
90046 |
- |
90047 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
90048 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
90049 |
|
90050 |
- CXXFLAGS += [ |
90051 |
- "-msse2" |
90052 |
- ] |
90053 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
90054 |
|
90055 |
- DEFINES["_GNU_SOURCE"] = True |
90056 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
90057 |
|
90058 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
90059 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
90060 |
|
90061 |
- DEFINES["_GNU_SOURCE"] = True |
90062 |
+ DEFINES["USE_X11"] = "1" |
90063 |
|
90064 |
Library("field_trial_gn") |
90065 |
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build |
90066 |
index 2347fbcbacf5..31a75cc714e1 100644 |
90067 |
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build |
90068 |
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build |
90069 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
90070 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
90071 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
90072 |
DEFINES["RTC_ENABLE_VP9"] = True |
90073 |
+DEFINES["USE_GLIB"] = "1" |
90074 |
+DEFINES["USE_OZONE"] = "1" |
90075 |
+DEFINES["WEBRTC_BSD"] = True |
90076 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
90077 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
90078 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
90079 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
90080 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
90081 |
+DEFINES["WEBRTC_POSIX"] = True |
90082 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
90083 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
90084 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
90085 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
90086 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
90087 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
90088 |
|
90089 |
FINAL_LIBRARY = "xul" |
90090 |
|
90091 |
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: |
90092 |
if CONFIG["MOZ_DEBUG"] == "1": |
90093 |
|
90094 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
90095 |
- |
90096 |
-if CONFIG["OS_TARGET"] == "Android": |
90097 |
- |
90098 |
- DEFINES["ANDROID"] = True |
90099 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
90100 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
90101 |
- DEFINES["WEBRTC_ANDROID"] = True |
90102 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
90103 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
90104 |
- DEFINES["WEBRTC_LINUX"] = True |
90105 |
- DEFINES["WEBRTC_POSIX"] = True |
90106 |
- DEFINES["_GNU_SOURCE"] = True |
90107 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
90108 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
90109 |
- |
90110 |
- OS_LIBS += [ |
90111 |
- "log" |
90112 |
- ] |
90113 |
- |
90114 |
-if CONFIG["OS_TARGET"] == "Darwin": |
90115 |
- |
90116 |
- DEFINES["WEBRTC_MAC"] = True |
90117 |
- DEFINES["WEBRTC_POSIX"] = True |
90118 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
90119 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
90120 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
90121 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
90122 |
- |
90123 |
-if CONFIG["OS_TARGET"] == "Linux": |
90124 |
- |
90125 |
- DEFINES["USE_AURA"] = "1" |
90126 |
- DEFINES["USE_GLIB"] = "1" |
90127 |
- DEFINES["USE_NSS_CERTS"] = "1" |
90128 |
- DEFINES["USE_OZONE"] = "1" |
90129 |
- DEFINES["USE_UDEV"] = True |
90130 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
90131 |
- DEFINES["WEBRTC_LINUX"] = True |
90132 |
- DEFINES["WEBRTC_POSIX"] = True |
90133 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
90134 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
90135 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
90136 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
90137 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
90138 |
- |
90139 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
90140 |
- |
90141 |
- DEFINES["USE_GLIB"] = "1" |
90142 |
- DEFINES["USE_OZONE"] = "1" |
90143 |
- DEFINES["USE_X11"] = "1" |
90144 |
- DEFINES["WEBRTC_BSD"] = True |
90145 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
90146 |
- DEFINES["WEBRTC_POSIX"] = True |
90147 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
90148 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
90149 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
90150 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
90151 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
90152 |
- |
90153 |
-if CONFIG["OS_TARGET"] == "WINNT": |
90154 |
- |
90155 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
90156 |
- DEFINES["NOMINMAX"] = True |
90157 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
90158 |
- DEFINES["PSAPI_VERSION"] = "2" |
90159 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
90160 |
- DEFINES["UNICODE"] = True |
90161 |
- DEFINES["USE_AURA"] = "1" |
90162 |
- DEFINES["WEBRTC_WIN"] = True |
90163 |
- DEFINES["WIN32"] = True |
90164 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
90165 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
90166 |
- DEFINES["WINVER"] = "0x0A00" |
90167 |
- DEFINES["_ATL_NO_OPENGL"] = True |
90168 |
- DEFINES["_CRT_RAND_S"] = True |
90169 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
90170 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
90171 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
90172 |
- DEFINES["_HAS_NODISCARD"] = True |
90173 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
90174 |
- DEFINES["_SECURE_ATL"] = True |
90175 |
- DEFINES["_UNICODE"] = True |
90176 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
90177 |
- DEFINES["_WINDOWS"] = True |
90178 |
- DEFINES["__STD_C"] = True |
90179 |
+ DEFINES["_DEBUG"] = True |
90180 |
|
90181 |
if CONFIG["TARGET_CPU"] == "aarch64": |
90182 |
|
90183 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
90184 |
DEFINES["WEBRTC_HAS_NEON"] = True |
90185 |
|
90186 |
-if CONFIG["TARGET_CPU"] == "arm": |
90187 |
- |
90188 |
- CXXFLAGS += [ |
90189 |
- "-mfpu=neon" |
90190 |
- ] |
90191 |
- |
90192 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
90193 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
90194 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
90195 |
- |
90196 |
if CONFIG["TARGET_CPU"] == "mips32": |
90197 |
|
90198 |
DEFINES["MIPS32_LE"] = True |
90199 |
DEFINES["MIPS_FPU_LE"] = True |
90200 |
- DEFINES["_GNU_SOURCE"] = True |
90201 |
- |
90202 |
-if CONFIG["TARGET_CPU"] == "mips64": |
90203 |
- |
90204 |
- DEFINES["_GNU_SOURCE"] = True |
90205 |
|
90206 |
if CONFIG["TARGET_CPU"] == "x86": |
90207 |
|
90208 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
90209 |
- |
90210 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
90211 |
- |
90212 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
90213 |
- |
90214 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
90215 |
- |
90216 |
- DEFINES["_DEBUG"] = True |
90217 |
- |
90218 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
90219 |
- |
90220 |
- DEFINES["_DEBUG"] = True |
90221 |
- |
90222 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
90223 |
- |
90224 |
- DEFINES["_DEBUG"] = True |
90225 |
- |
90226 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
90227 |
- |
90228 |
- DEFINES["_DEBUG"] = True |
90229 |
- |
90230 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
90231 |
- |
90232 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
90233 |
- |
90234 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
90235 |
- |
90236 |
- DEFINES["USE_X11"] = "1" |
90237 |
- |
90238 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
90239 |
- |
90240 |
- OS_LIBS += [ |
90241 |
- "unwind" |
90242 |
- ] |
90243 |
- |
90244 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
90245 |
- |
90246 |
CXXFLAGS += [ |
90247 |
"-msse2" |
90248 |
] |
90249 |
|
90250 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
90251 |
- |
90252 |
- DEFINES["_GNU_SOURCE"] = True |
90253 |
- |
90254 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
90255 |
- |
90256 |
- DEFINES["_GNU_SOURCE"] = True |
90257 |
- |
90258 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
90259 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
90260 |
|
90261 |
- CXXFLAGS += [ |
90262 |
- "-msse2" |
90263 |
- ] |
90264 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
90265 |
|
90266 |
- DEFINES["_GNU_SOURCE"] = True |
90267 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
90268 |
|
90269 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
90270 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
90271 |
|
90272 |
- DEFINES["_GNU_SOURCE"] = True |
90273 |
+ DEFINES["USE_X11"] = "1" |
90274 |
|
90275 |
Library("metrics_gn") |
90276 |
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build |
90277 |
index 161fe336d913..ade9b1212194 100644 |
90278 |
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build |
90279 |
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build |
90280 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
90281 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
90282 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
90283 |
DEFINES["RTC_ENABLE_VP9"] = True |
90284 |
+DEFINES["USE_GLIB"] = "1" |
90285 |
+DEFINES["USE_OZONE"] = "1" |
90286 |
+DEFINES["WEBRTC_BSD"] = True |
90287 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
90288 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
90289 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
90290 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
90291 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
90292 |
+DEFINES["WEBRTC_POSIX"] = True |
90293 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
90294 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
90295 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
90296 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
90297 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
90298 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
90299 |
|
90300 |
FINAL_LIBRARY = "xul" |
90301 |
|
90302 |
@@ -47,199 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
89253 |
if CONFIG["MOZ_DEBUG"] == "1": |
90303 |
if CONFIG["MOZ_DEBUG"] == "1": |
89254 |
|
90304 |
|
89255 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
90305 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
Lines 89268-89273
index 30aa20ae3ede..c5bb79c454fc 100644
Link Here
|
89268 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
90318 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89269 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
90319 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89270 |
- |
90320 |
- |
|
|
90321 |
- LOCAL_INCLUDES += [ |
90322 |
- "/config/external/nspr/", |
90323 |
- "/nsprpub/lib/ds/", |
90324 |
- "/nsprpub/pr/include/" |
90325 |
- ] |
90326 |
- |
89271 |
- OS_LIBS += [ |
90327 |
- OS_LIBS += [ |
89272 |
- "log" |
90328 |
- "log" |
89273 |
- ] |
90329 |
- ] |
Lines 89297-89302
index 30aa20ae3ede..c5bb79c454fc 100644
Link Here
|
89297 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
90353 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89298 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
90354 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89299 |
- |
90355 |
- |
|
|
90356 |
- OS_LIBS += [ |
90357 |
- "rt" |
90358 |
- ] |
90359 |
- |
90360 |
- UNIFIED_SOURCES += [ |
90361 |
- "/third_party/libwebrtc/system_wrappers/source/cpu_features_linux.cc" |
90362 |
- ] |
90363 |
- |
89300 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
90364 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
89301 |
- |
90365 |
- |
89302 |
- DEFINES["USE_GLIB"] = "1" |
90366 |
- DEFINES["USE_GLIB"] = "1" |
Lines 89440-89450
index 30aa20ae3ede..c5bb79c454fc 100644
Link Here
|
89440 |
- DEFINES["_GNU_SOURCE"] = True |
90504 |
- DEFINES["_GNU_SOURCE"] = True |
89441 |
+ DEFINES["USE_X11"] = "1" |
90505 |
+ DEFINES["USE_X11"] = "1" |
89442 |
|
90506 |
|
89443 |
Library("field_trial_gn") |
90507 |
Library("system_wrappers_gn") |
89444 |
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build |
90508 |
diff --git third_party/libwebrtc/test/network/simulated_network_gn/moz.build third_party/libwebrtc/test/network/simulated_network_gn/moz.build |
89445 |
index 2347fbcbacf5..31a75cc714e1 100644 |
90509 |
index 26939945bfb9..bda1c894e9e1 100644 |
89446 |
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build |
90510 |
--- third_party/libwebrtc/test/network/simulated_network_gn/moz.build |
89447 |
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build |
90511 |
+++ third_party/libwebrtc/test/network/simulated_network_gn/moz.build |
89448 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
90512 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
89449 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
90513 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
89450 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
90514 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
Lines 89651-89889
index 2347fbcbacf5..31a75cc714e1 100644
Link Here
|
89651 |
- DEFINES["_GNU_SOURCE"] = True |
90715 |
- DEFINES["_GNU_SOURCE"] = True |
89652 |
+ DEFINES["USE_X11"] = "1" |
90716 |
+ DEFINES["USE_X11"] = "1" |
89653 |
|
90717 |
|
89654 |
Library("metrics_gn") |
90718 |
Library("simulated_network_gn") |
89655 |
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build |
|
|
89656 |
index 161fe336d913..ade9b1212194 100644 |
89657 |
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build |
89658 |
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build |
89659 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
89660 |
DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" |
89661 |
DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True |
89662 |
DEFINES["RTC_ENABLE_VP9"] = True |
89663 |
+DEFINES["USE_GLIB"] = "1" |
89664 |
+DEFINES["USE_OZONE"] = "1" |
89665 |
+DEFINES["WEBRTC_BSD"] = True |
89666 |
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
89667 |
DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" |
89668 |
DEFINES["WEBRTC_LIBRARY_IMPL"] = True |
89669 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
89670 |
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" |
89671 |
+DEFINES["WEBRTC_POSIX"] = True |
89672 |
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" |
89673 |
+DEFINES["_FILE_OFFSET_BITS"] = "64" |
89674 |
+DEFINES["_LARGEFILE64_SOURCE"] = True |
89675 |
+DEFINES["_LARGEFILE_SOURCE"] = True |
89676 |
+DEFINES["__STDC_CONSTANT_MACROS"] = True |
89677 |
+DEFINES["__STDC_FORMAT_MACROS"] = True |
89678 |
|
89679 |
FINAL_LIBRARY = "xul" |
89680 |
|
89681 |
@@ -47,199 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: |
89682 |
if CONFIG["MOZ_DEBUG"] == "1": |
89683 |
|
89684 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
89685 |
- |
89686 |
-if CONFIG["OS_TARGET"] == "Android": |
89687 |
- |
89688 |
- DEFINES["ANDROID"] = True |
89689 |
- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" |
89690 |
- DEFINES["HAVE_SYS_UIO_H"] = True |
89691 |
- DEFINES["WEBRTC_ANDROID"] = True |
89692 |
- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
89693 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
89694 |
- DEFINES["WEBRTC_LINUX"] = True |
89695 |
- DEFINES["WEBRTC_POSIX"] = True |
89696 |
- DEFINES["_GNU_SOURCE"] = True |
89697 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89698 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89699 |
- |
89700 |
- LOCAL_INCLUDES += [ |
89701 |
- "/config/external/nspr/", |
89702 |
- "/nsprpub/lib/ds/", |
89703 |
- "/nsprpub/pr/include/" |
89704 |
- ] |
89705 |
- |
89706 |
- OS_LIBS += [ |
89707 |
- "log" |
89708 |
- ] |
89709 |
- |
89710 |
-if CONFIG["OS_TARGET"] == "Darwin": |
89711 |
- |
89712 |
- DEFINES["WEBRTC_MAC"] = True |
89713 |
- DEFINES["WEBRTC_POSIX"] = True |
89714 |
- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True |
89715 |
- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" |
89716 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89717 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89718 |
- |
89719 |
-if CONFIG["OS_TARGET"] == "Linux": |
89720 |
- |
89721 |
- DEFINES["USE_AURA"] = "1" |
89722 |
- DEFINES["USE_GLIB"] = "1" |
89723 |
- DEFINES["USE_NSS_CERTS"] = "1" |
89724 |
- DEFINES["USE_OZONE"] = "1" |
89725 |
- DEFINES["USE_UDEV"] = True |
89726 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
89727 |
- DEFINES["WEBRTC_LINUX"] = True |
89728 |
- DEFINES["WEBRTC_POSIX"] = True |
89729 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
89730 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
89731 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
89732 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89733 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89734 |
- |
89735 |
- OS_LIBS += [ |
89736 |
- "rt" |
89737 |
- ] |
89738 |
- |
89739 |
- UNIFIED_SOURCES += [ |
89740 |
- "/third_party/libwebrtc/system_wrappers/source/cpu_features_linux.cc" |
89741 |
- ] |
89742 |
- |
89743 |
-if CONFIG["OS_TARGET"] == "OpenBSD": |
89744 |
- |
89745 |
- DEFINES["USE_GLIB"] = "1" |
89746 |
- DEFINES["USE_OZONE"] = "1" |
89747 |
- DEFINES["USE_X11"] = "1" |
89748 |
- DEFINES["WEBRTC_BSD"] = True |
89749 |
- DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True |
89750 |
- DEFINES["WEBRTC_POSIX"] = True |
89751 |
- DEFINES["_FILE_OFFSET_BITS"] = "64" |
89752 |
- DEFINES["_LARGEFILE64_SOURCE"] = True |
89753 |
- DEFINES["_LARGEFILE_SOURCE"] = True |
89754 |
- DEFINES["__STDC_CONSTANT_MACROS"] = True |
89755 |
- DEFINES["__STDC_FORMAT_MACROS"] = True |
89756 |
- |
89757 |
-if CONFIG["OS_TARGET"] == "WINNT": |
89758 |
- |
89759 |
- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
89760 |
- DEFINES["NOMINMAX"] = True |
89761 |
- DEFINES["NTDDI_VERSION"] = "0x0A000000" |
89762 |
- DEFINES["PSAPI_VERSION"] = "2" |
89763 |
- DEFINES["RTC_ENABLE_WIN_WGC"] = True |
89764 |
- DEFINES["UNICODE"] = True |
89765 |
- DEFINES["USE_AURA"] = "1" |
89766 |
- DEFINES["WEBRTC_WIN"] = True |
89767 |
- DEFINES["WIN32"] = True |
89768 |
- DEFINES["WIN32_LEAN_AND_MEAN"] = True |
89769 |
- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" |
89770 |
- DEFINES["WINVER"] = "0x0A00" |
89771 |
- DEFINES["_ATL_NO_OPENGL"] = True |
89772 |
- DEFINES["_CRT_RAND_S"] = True |
89773 |
- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True |
89774 |
- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True |
89775 |
- DEFINES["_HAS_EXCEPTIONS"] = "0" |
89776 |
- DEFINES["_HAS_NODISCARD"] = True |
89777 |
- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True |
89778 |
- DEFINES["_SECURE_ATL"] = True |
89779 |
- DEFINES["_UNICODE"] = True |
89780 |
- DEFINES["_WIN32_WINNT"] = "0x0A00" |
89781 |
- DEFINES["_WINDOWS"] = True |
89782 |
- DEFINES["__STD_C"] = True |
89783 |
- |
89784 |
- OS_LIBS += [ |
89785 |
- "crypt32", |
89786 |
- "iphlpapi", |
89787 |
- "secur32", |
89788 |
- "winmm" |
89789 |
- ] |
89790 |
+ DEFINES["_DEBUG"] = True |
89791 |
|
89792 |
if CONFIG["TARGET_CPU"] == "aarch64": |
89793 |
|
89794 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
89795 |
DEFINES["WEBRTC_HAS_NEON"] = True |
89796 |
|
89797 |
-if CONFIG["TARGET_CPU"] == "arm": |
89798 |
- |
89799 |
- CXXFLAGS += [ |
89800 |
- "-mfpu=neon" |
89801 |
- ] |
89802 |
- |
89803 |
- DEFINES["WEBRTC_ARCH_ARM"] = True |
89804 |
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
89805 |
- DEFINES["WEBRTC_HAS_NEON"] = True |
89806 |
- |
89807 |
if CONFIG["TARGET_CPU"] == "mips32": |
89808 |
|
89809 |
DEFINES["MIPS32_LE"] = True |
89810 |
DEFINES["MIPS_FPU_LE"] = True |
89811 |
- DEFINES["_GNU_SOURCE"] = True |
89812 |
- |
89813 |
-if CONFIG["TARGET_CPU"] == "mips64": |
89814 |
- |
89815 |
- DEFINES["_GNU_SOURCE"] = True |
89816 |
|
89817 |
if CONFIG["TARGET_CPU"] == "x86": |
89818 |
|
89819 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
89820 |
- |
89821 |
-if CONFIG["TARGET_CPU"] == "x86_64": |
89822 |
- |
89823 |
- DEFINES["WEBRTC_ENABLE_AVX2"] = True |
89824 |
- |
89825 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
89826 |
- |
89827 |
- DEFINES["_DEBUG"] = True |
89828 |
- |
89829 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": |
89830 |
- |
89831 |
- DEFINES["_DEBUG"] = True |
89832 |
- |
89833 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
89834 |
- |
89835 |
- DEFINES["_DEBUG"] = True |
89836 |
- |
89837 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
89838 |
- |
89839 |
- DEFINES["_DEBUG"] = True |
89840 |
- |
89841 |
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
89842 |
- |
89843 |
- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
89844 |
- |
89845 |
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": |
89846 |
- |
89847 |
- DEFINES["USE_X11"] = "1" |
89848 |
- |
89849 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": |
89850 |
- |
89851 |
- OS_LIBS += [ |
89852 |
- "unwind" |
89853 |
- ] |
89854 |
- |
89855 |
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": |
89856 |
- |
89857 |
CXXFLAGS += [ |
89858 |
"-msse2" |
89859 |
] |
89860 |
|
89861 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": |
89862 |
- |
89863 |
- DEFINES["_GNU_SOURCE"] = True |
89864 |
- |
89865 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": |
89866 |
- |
89867 |
- DEFINES["_GNU_SOURCE"] = True |
89868 |
- |
89869 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": |
89870 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
89871 |
|
89872 |
- CXXFLAGS += [ |
89873 |
- "-msse2" |
89874 |
- ] |
89875 |
+if CONFIG["TARGET_CPU"] == "x86_64": |
89876 |
|
89877 |
- DEFINES["_GNU_SOURCE"] = True |
89878 |
+ DEFINES["WEBRTC_ENABLE_AVX2"] = True |
89879 |
|
89880 |
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": |
89881 |
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
89882 |
|
89883 |
- DEFINES["_GNU_SOURCE"] = True |
89884 |
+ DEFINES["USE_X11"] = "1" |
89885 |
|
89886 |
Library("system_wrappers_gn") |
89887 |
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build |
90719 |
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build |
89888 |
index 5a0d4a3984ef..020143107080 100644 |
90720 |
index 5a0d4a3984ef..020143107080 100644 |
89889 |
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build |
90721 |
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build |
Lines 94865-94871
index b10b4c330ef8..3703f7ef3366 100644
Link Here
|
94865 |
|
95697 |
|
94866 |
Library("rnn_vad_gn") |
95698 |
Library("rnn_vad_gn") |
94867 |
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build |
95699 |
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build |
94868 |
index 4bbb3e4e624c..62040f7084c2 100644 |
95700 |
index 54334034a290..771396806039 100644 |
94869 |
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build |
95701 |
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build |
94870 |
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build |
95702 |
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build |
94871 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
95703 |
@@ -12,11 +12,21 @@ AllowCompilerWarnings() |
Lines 94890-94896
index 4bbb3e4e624c..62040f7084c2 100644
Link Here
|
94890 |
|
95722 |
|
94891 |
FINAL_LIBRARY = "xul" |
95723 |
FINAL_LIBRARY = "xul" |
94892 |
|
95724 |
|
94893 |
@@ -52,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: |
95725 |
@@ -51,190 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: |
94894 |
if CONFIG["MOZ_DEBUG"] == "1": |
95726 |
if CONFIG["MOZ_DEBUG"] == "1": |
94895 |
|
95727 |
|
94896 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
95728 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
94897 |
- |
|
|