FreeBSD Bugzilla – Attachment 191546 Details for
Bug 226476
www/firefox: update to 60.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
beta4
ff60.diff (text/plain), 434.22 KB, created by
Jan Beich
on 2018-03-16 11:27:22 UTC
(
hide
)
Description:
beta4
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2018-03-16 11:27:22 UTC
Size:
434.22 KB
patch
obsolete
>From cfa927e2681cafe28607ff6980c20a2009be7d63 Mon Sep 17 00:00:00 2001 >From: jbeich <jbeich@35697150-7ecd-e111-bb59-0022644237b5> >Date: Tue, 6 Mar 2018 00:56:50 +0000 >Subject: [PATCH] www/firefox: update to 60.0 > >- Drop libv4l support to reduce maintenance > >Changes: https://www.mozilla.org/firefox/60.0/releasenotes/ >PR: 226476 >Tested by: ? >Security: 5aefc41e-d304-4ec8-8c82-824f84f08244 >MFH: 2018Q2 >--- > Mk/Uses/gecko.mk | 4 +- > Mk/bsd.gecko.mk | 2 +- > www/firefox-i18n/Makefile | 4 +- > www/firefox-i18n/Makefile.lang | 5 +- > www/firefox-i18n/Makefile.option | 2 + > www/firefox-i18n/distinfo | 390 +- > www/firefox/Makefile | 18 +- > www/firefox/distinfo | 4 +- > www/firefox/files/patch-bug1021761 | 6 +- > www/firefox/files/patch-bug1418162 | 58 + > www/firefox/files/patch-bug1433747 | 24 - > www/firefox/files/patch-bug1437670 | 11036 ++++++++++++++++++++++++++++++++++ > www/firefox/files/patch-bug1442791 | 33 + > www/firefox/files/patch-bug1444074 | 34 - > www/firefox/files/patch-bug1444083 | 17 - > www/firefox/files/patch-bug826985 | 171 - > www/firefox/files/patch-z-bug517422 | 24 +- > 17 files changed, 11359 insertions(+), 473 deletions(-) > create mode 100644 www/firefox/files/patch-bug1418162 > delete mode 100644 www/firefox/files/patch-bug1433747 > create mode 100644 www/firefox/files/patch-bug1437670 > create mode 100644 www/firefox/files/patch-bug1442791 > delete mode 100644 www/firefox/files/patch-bug1444074 > delete mode 100644 www/firefox/files/patch-bug1444083 > delete mode 100644 www/firefox/files/patch-bug826985 > >diff --git a/Mk/Uses/gecko.mk b/Mk/Uses/gecko.mk >index d07d0a07c4fe..9df59c251201 100644 >--- a/Mk/Uses/gecko.mk >+++ b/Mk/Uses/gecko.mk >@@ -37,12 +37,12 @@ RUN_DEPENDS+= libxul>=45:www/libxul > .elif ${gecko_ARGS:Mfirefox} > > _GECKO_DEFAULT_VERSION= 52 >-_GECKO_VERSIONS= 52 59 >+_GECKO_VERSIONS= 52 60 > _GECKO_TYPE= firefox > > # Dependence lines for different Firefox versions > 52_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox-esr >-59_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox >+60_DEPENDS= ${LOCALBASE}/lib/firefox/firefox:www/firefox > > .if exists(${LOCALBASE}/bin/firefox) > _GECKO_INSTALLED_VER!= ${LOCALBASE}/bin/firefox --version 2>/dev/null >diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk >index fd8ef59e793c..186eb785e1a8 100644 >--- a/Mk/bsd.gecko.mk >+++ b/Mk/bsd.gecko.mk >@@ -375,7 +375,7 @@ post-patch-SNDIO-on: > .endif > > .if ${PORT_OPTIONS:MRUST} || ${MOZILLA_VER:R:R} >= 54 >-BUILD_DEPENDS+= ${RUST_PORT:T}>=1.22.1:${RUST_PORT} >+BUILD_DEPENDS+= ${RUST_PORT:T}>=1.24:${RUST_PORT} > RUST_PORT?= lang/rust > . if ${MOZILLA_VER:R:R} < 54 > MOZ_OPTIONS+= --enable-rust >diff --git a/www/firefox-i18n/Makefile b/www/firefox-i18n/Makefile >index 03accc7fa82b..a4287688542f 100644 >--- a/www/firefox-i18n/Makefile >+++ b/www/firefox-i18n/Makefile >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= firefox-i18n >-PORTVERSION= 59.0.1 >+PORTVERSION= 60.0b4 > CATEGORIES= www > MASTER_SITES= MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \ > MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/linux-i686/xpi >@@ -15,7 +15,7 @@ COMMENT= Localized interface for Firefox > > EXTRACT_DEPENDS= zip:archivers/zip > >-USES= zip:infozip gecko:firefox,59,build >+USES= zip:infozip gecko:firefox,60,build > USE_XPI= firefox > > NO_ARCH= yes >diff --git a/www/firefox-i18n/Makefile.lang b/www/firefox-i18n/Makefile.lang >index a73f94452926..25b432860d28 100644 >--- a/www/firefox-i18n/Makefile.lang >+++ b/www/firefox-i18n/Makefile.lang >@@ -6,7 +6,7 @@ FIREFOX_I18N_ALL_= ach af an ar as ast az be bg bn-BD bn-IN br bs ca cak \ > es-ES es-MX et eu fa ff fi fr fy-NL ga-IE gd gl gn \ > gu-IN he hi-IN hr hsb hu hy-AM ia id is it ja ka kab \ > kk km kn ko lij lt lv mai mk ml mr ms my nb-NO ne-NP nl \ >- nn-NO or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son \ >+ nn-NO oc or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son \ > sq sr sv-SE ta te th tr uk ur uz vi xh zh-CN zh-TW > > .if defined(FIREFOX_I18N_ALL) || defined(PACKAGE_BUILDING) || target(package) >@@ -225,6 +225,9 @@ FIREFOX_I18N+= nl > .if ${PORT_OPTIONS:MLANG_NN} > FIREFOX_I18N+= nn-NO > .endif >+.if ${PORT_OPTIONS:MLANG_OC} >+FIREFOX_I18N+= oc >+.endif > .if ${PORT_OPTIONS:MLANG_OR} > FIREFOX_I18N+= or > .endif >diff --git a/www/firefox-i18n/Makefile.option b/www/firefox-i18n/Makefile.option >index 082aa76465ba..49e0d6f4adc6 100644 >--- a/www/firefox-i18n/Makefile.option >+++ b/www/firefox-i18n/Makefile.option >@@ -73,6 +73,7 @@ OPTIONS_DEFINE= LANG_ACH \ > LANG_NE \ > LANG_NL \ > LANG_NN \ >+ LANG_OC \ > LANG_OR \ > LANG_PA \ > LANG_PL \ >@@ -122,6 +123,7 @@ LANG_LIJ_DESC?= Ligurian (Genoa) language support > LANG_MS_DESC?= Malay language support > LANG_MY_DESC?= Burmese language support > LANG_NE_DESC?= Nepali language support >+LANG_OC_DESC?= Occitan (lengadocian) language support > LANG_SW_DESC?= Swahili language support > LANG_UR_DESC?= Urdu (Pakistan) language support > LANG_UZ_DESC?= Uzbek language support >diff --git a/www/firefox-i18n/distinfo b/www/firefox-i18n/distinfo >index 422a967c02a8..8c310156918c 100644 >--- a/www/firefox-i18n/distinfo >+++ b/www/firefox-i18n/distinfo >@@ -1,195 +1,197 @@ > TIMESTAMP = 1521151925 >-SHA256 (xpi/firefox-i18n-59.0.1/ach.xpi) = ecd1ba29435dd19943d2bdd38af4d65de1499e2a237e6d3a79288b9d141bb56a >-SIZE (xpi/firefox-i18n-59.0.1/ach.xpi) = 439227 >-SHA256 (xpi/firefox-i18n-59.0.1/af.xpi) = 917d879386cf361976fc0ee7bd1c0e0595066b4d4ce69aeb5f22f4ab3ababf6d >-SIZE (xpi/firefox-i18n-59.0.1/af.xpi) = 436731 >-SHA256 (xpi/firefox-i18n-59.0.1/an.xpi) = 7b0201eb9da4606f27381d684a15b5684a2db3251e7e97c27e3bc1ee2f109fbe >-SIZE (xpi/firefox-i18n-59.0.1/an.xpi) = 463405 >-SHA256 (xpi/firefox-i18n-59.0.1/ar.xpi) = 0674aa88c32b67c70d089bcf2798f9b5e407cb660da2cd3ddd8809da25be1692 >-SIZE (xpi/firefox-i18n-59.0.1/ar.xpi) = 486633 >-SHA256 (xpi/firefox-i18n-59.0.1/as.xpi) = d413a03fb978ee2eabaf120522fd673d1ce428b8ee6cfc0fc07a31bef26609f5 >-SIZE (xpi/firefox-i18n-59.0.1/as.xpi) = 483301 >-SHA256 (xpi/firefox-i18n-59.0.1/ast.xpi) = 956449e1fded28144ab8e318bc1a5f3567cef659d02a7a962cf61aa0b64d54a0 >-SIZE (xpi/firefox-i18n-59.0.1/ast.xpi) = 454342 >-SHA256 (xpi/firefox-i18n-59.0.1/az.xpi) = 257266c1a8a8498722eacb20dc37ccdea9da50a3069762f756f0539c235e6a1d >-SIZE (xpi/firefox-i18n-59.0.1/az.xpi) = 464270 >-SHA256 (xpi/firefox-i18n-59.0.1/be.xpi) = a83112c8d36c659ef733a47fc40e64d9015ed70e213814954d5761633c2cf30b >-SIZE (xpi/firefox-i18n-59.0.1/be.xpi) = 517059 >-SHA256 (xpi/firefox-i18n-59.0.1/bg.xpi) = 303749c1af03c5eb5304135849513f066d4ed2b276667edafe63405a85fa4a84 >-SIZE (xpi/firefox-i18n-59.0.1/bg.xpi) = 508613 >-SHA256 (xpi/firefox-i18n-59.0.1/bn-BD.xpi) = 13cc00f1bcb4feb573f2d2e68e556af4e01e3240c038b2e3b4b03ee6befc8f85 >-SIZE (xpi/firefox-i18n-59.0.1/bn-BD.xpi) = 526352 >-SHA256 (xpi/firefox-i18n-59.0.1/bn-IN.xpi) = 9075e2b278805451b4b52456ee954cea22740ceb63b82304b22cefd0b82b6848 >-SIZE (xpi/firefox-i18n-59.0.1/bn-IN.xpi) = 510797 >-SHA256 (xpi/firefox-i18n-59.0.1/br.xpi) = 74a20a0dbff85f72af70fa988990c7deadf38ba034c0706500538debf3545e84 >-SIZE (xpi/firefox-i18n-59.0.1/br.xpi) = 451719 >-SHA256 (xpi/firefox-i18n-59.0.1/bs.xpi) = 28f0a46f87dfebda97dafdc299164d6b24379019a82c458e68dfa3e8363faf03 >-SIZE (xpi/firefox-i18n-59.0.1/bs.xpi) = 457859 >-SHA256 (xpi/firefox-i18n-59.0.1/ca.xpi) = 97953e7ef3bdbadb386ef306d8be8f5ec28f9c012e48f9875855c25c044dc270 >-SIZE (xpi/firefox-i18n-59.0.1/ca.xpi) = 464912 >-SHA256 (xpi/firefox-i18n-59.0.1/cak.xpi) = fc12b006bf3f2f4d476c89f227b03ff59b51c81e4c3c0726e3cdb3016d0997bd >-SIZE (xpi/firefox-i18n-59.0.1/cak.xpi) = 475234 >-SHA256 (xpi/firefox-i18n-59.0.1/cs.xpi) = 63e37c027b27207ea3d3651d7b712ba4e2d661d4e5286e1a6ec8bb4469c3c30b >-SIZE (xpi/firefox-i18n-59.0.1/cs.xpi) = 471575 >-SHA256 (xpi/firefox-i18n-59.0.1/cy.xpi) = 357962244e13fea93e88bf486099b5c4cc117bf324ba8933d11a4f5fff61f852 >-SIZE (xpi/firefox-i18n-59.0.1/cy.xpi) = 454433 >-SHA256 (xpi/firefox-i18n-59.0.1/da.xpi) = a15f383e39f4b11e0fe014063224145f45429ae8b51d731db872e1b52b4ad749 >-SIZE (xpi/firefox-i18n-59.0.1/da.xpi) = 446949 >-SHA256 (xpi/firefox-i18n-59.0.1/de.xpi) = aa1d03f9aada0f5d575a021ea0944fce026a34a8ecf03a5b18077e2dcd7797a1 >-SIZE (xpi/firefox-i18n-59.0.1/de.xpi) = 466273 >-SHA256 (xpi/firefox-i18n-59.0.1/dsb.xpi) = 572b856c971bf7d99867fb462039f698dc5f068a49f3b564d7dd732d6b1d758d >-SIZE (xpi/firefox-i18n-59.0.1/dsb.xpi) = 478975 >-SHA256 (xpi/firefox-i18n-59.0.1/el.xpi) = 7378eed475cccfe541c65f8634ff24e8dc3bc62553b396e9f68da5821b417bed >-SIZE (xpi/firefox-i18n-59.0.1/el.xpi) = 531408 >-SHA256 (xpi/firefox-i18n-59.0.1/en-GB.xpi) = 92d00ee7eed2c099d3588227ba1ca172371f07b388fc866d20e4a3c22e7d3cc2 >-SIZE (xpi/firefox-i18n-59.0.1/en-GB.xpi) = 434300 >-SHA256 (xpi/firefox-i18n-59.0.1/en-US.xpi) = 6b78a5ba462f877fe1d64c9bf2e8db3e4426e66aaa5ad3151f8a429d46e988e0 >-SIZE (xpi/firefox-i18n-59.0.1/en-US.xpi) = 432749 >-SHA256 (xpi/firefox-i18n-59.0.1/en-ZA.xpi) = d084a136f8358f2c0709b983ceebded40cedb2249ef438a8ec1e1fb5e358e7ff >-SIZE (xpi/firefox-i18n-59.0.1/en-ZA.xpi) = 427365 >-SHA256 (xpi/firefox-i18n-59.0.1/eo.xpi) = 7bee8c904213fbfc33b2a8ddcace8d63b85fee996b753a49d7d77cc85152086a >-SIZE (xpi/firefox-i18n-59.0.1/eo.xpi) = 453367 >-SHA256 (xpi/firefox-i18n-59.0.1/es-AR.xpi) = 1835efdc6145a47e0d4fe94bcd5eb5904c0435d2d09c8673eaa981521a529ce6 >-SIZE (xpi/firefox-i18n-59.0.1/es-AR.xpi) = 461797 >-SHA256 (xpi/firefox-i18n-59.0.1/es-CL.xpi) = e8a31cb6715335f811565ba00dff5580e04139981344fd3ec91f92c028cdafa4 >-SIZE (xpi/firefox-i18n-59.0.1/es-CL.xpi) = 464654 >-SHA256 (xpi/firefox-i18n-59.0.1/es-ES.xpi) = bfb6038c30d18faa11490750ae19ecccbf61dfd25f8172792e99321e619230ad >-SIZE (xpi/firefox-i18n-59.0.1/es-ES.xpi) = 348463 >-SHA256 (xpi/firefox-i18n-59.0.1/es-MX.xpi) = f92ea0e49ed3e052228a84685cde361f7ddb222bca6c7d50ecbee013994df910 >-SIZE (xpi/firefox-i18n-59.0.1/es-MX.xpi) = 466313 >-SHA256 (xpi/firefox-i18n-59.0.1/et.xpi) = 0abf3c5686c301775ad9ffa6411c219d2d4d620589ff930ec1714123f48f6881 >-SIZE (xpi/firefox-i18n-59.0.1/et.xpi) = 445394 >-SHA256 (xpi/firefox-i18n-59.0.1/eu.xpi) = 1df512fac2219dd3decd48ea5aa7c5af6ba1eb65348d122020afaf237a04b238 >-SIZE (xpi/firefox-i18n-59.0.1/eu.xpi) = 455236 >-SHA256 (xpi/firefox-i18n-59.0.1/fa.xpi) = 83cf18e8fc6599b0f4fd3a4991ab01b99da4ecb65708c92848749cf2a7ef0867 >-SIZE (xpi/firefox-i18n-59.0.1/fa.xpi) = 508098 >-SHA256 (xpi/firefox-i18n-59.0.1/ff.xpi) = 1f90aa31ca2b9b93fe80a25a03d5a304c30cdcba9c77cf10bd1a4eff43bd0a91 >-SIZE (xpi/firefox-i18n-59.0.1/ff.xpi) = 455026 >-SHA256 (xpi/firefox-i18n-59.0.1/fi.xpi) = af9fb470144b4d524d27f683116bf40388b37e8a88266a53fc17d22978f88dd1 >-SIZE (xpi/firefox-i18n-59.0.1/fi.xpi) = 445182 >-SHA256 (xpi/firefox-i18n-59.0.1/fr.xpi) = 0df0b098a41723f4e950dc0e88d041ee89efdc984cb317c250f63cf0bb9d12a7 >-SIZE (xpi/firefox-i18n-59.0.1/fr.xpi) = 473593 >-SHA256 (xpi/firefox-i18n-59.0.1/fy-NL.xpi) = dbe46d9218b4b2ad83e678d2ab70422e779bde1b6254b10006d621a59a5af30b >-SIZE (xpi/firefox-i18n-59.0.1/fy-NL.xpi) = 462918 >-SHA256 (xpi/firefox-i18n-59.0.1/ga-IE.xpi) = 7efe47e0b58eb6acab98a7846a8100ead9e12666524cc90c63dc2a87ab1dd34c >-SIZE (xpi/firefox-i18n-59.0.1/ga-IE.xpi) = 471909 >-SHA256 (xpi/firefox-i18n-59.0.1/gd.xpi) = e72f3c50f114e2a697baafbf427e2a0372d74e73186925051f9a2a3647e80c91 >-SIZE (xpi/firefox-i18n-59.0.1/gd.xpi) = 461297 >-SHA256 (xpi/firefox-i18n-59.0.1/gl.xpi) = d6f18916ce2ac2cc9f15c9a05fc0f83bbbe2d092fbd06d1b46b7101cf0aae03b >-SIZE (xpi/firefox-i18n-59.0.1/gl.xpi) = 441615 >-SHA256 (xpi/firefox-i18n-59.0.1/gn.xpi) = 861f7023de8630e2d0daf69b333cf212d84c3389044eea500655729197a5457b >-SIZE (xpi/firefox-i18n-59.0.1/gn.xpi) = 469397 >-SHA256 (xpi/firefox-i18n-59.0.1/gu-IN.xpi) = fbbf3b4eb0527a01e6182128e1153d9ecafda1ecf0b6c48456c087a532281127 >-SIZE (xpi/firefox-i18n-59.0.1/gu-IN.xpi) = 521804 >-SHA256 (xpi/firefox-i18n-59.0.1/he.xpi) = ab2d7b59c2a6d09438efa7f712dc1a636e15f3e6da52fc00e9de3ce4fb2baa28 >-SIZE (xpi/firefox-i18n-59.0.1/he.xpi) = 472771 >-SHA256 (xpi/firefox-i18n-59.0.1/hi-IN.xpi) = b3fb9886a427a4b1849326ed94528bb157489fa778cb82eae724e7d91df59732 >-SIZE (xpi/firefox-i18n-59.0.1/hi-IN.xpi) = 524280 >-SHA256 (xpi/firefox-i18n-59.0.1/hr.xpi) = 3ad1dc76bc9afcc5ad7cf4e2f53c005d4861b79d00fb080c6487585e72a5380f >-SIZE (xpi/firefox-i18n-59.0.1/hr.xpi) = 459978 >-SHA256 (xpi/firefox-i18n-59.0.1/hsb.xpi) = 9cded87c1ee19a762f545efee71894db30ca66c35cacf8fc5cbe38207700be90 >-SIZE (xpi/firefox-i18n-59.0.1/hsb.xpi) = 475941 >-SHA256 (xpi/firefox-i18n-59.0.1/hu.xpi) = 072c5d90e274deb3d0398445561b78bbf4dee1ee03f0c0ecbdeaf4e2968727dd >-SIZE (xpi/firefox-i18n-59.0.1/hu.xpi) = 476896 >-SHA256 (xpi/firefox-i18n-59.0.1/hy-AM.xpi) = aa34c99ecc61ed34ff627d3fe77c4f1b8b0ff7eebf0cdec0d0ae28960547379e >-SIZE (xpi/firefox-i18n-59.0.1/hy-AM.xpi) = 508168 >-SHA256 (xpi/firefox-i18n-59.0.1/ia.xpi) = 1d52d87927398bb31f7f454aa9dc9114520b81145620b80b672132c5b67b31f6 >-SIZE (xpi/firefox-i18n-59.0.1/ia.xpi) = 448829 >-SHA256 (xpi/firefox-i18n-59.0.1/id.xpi) = c74e45cabffb0bce1e2c0b4a79d552f4b74d5307a1fb40e62ae9e213b1bbde1e >-SIZE (xpi/firefox-i18n-59.0.1/id.xpi) = 441952 >-SHA256 (xpi/firefox-i18n-59.0.1/is.xpi) = 305edff9a994bf7bc3be53223db00e5a893caeb8d9e9175eea60c5bd41a923ab >-SIZE (xpi/firefox-i18n-59.0.1/is.xpi) = 451373 >-SHA256 (xpi/firefox-i18n-59.0.1/it.xpi) = e282a584bc092d31839c277a471858715b616288c28255420bf41663af806dac >-SIZE (xpi/firefox-i18n-59.0.1/it.xpi) = 342524 >-SHA256 (xpi/firefox-i18n-59.0.1/ja.xpi) = a69ec46ff61841ef415e252be752ca9ec343d1cf30a73ac9c0e63598bf1d8fe7 >-SIZE (xpi/firefox-i18n-59.0.1/ja.xpi) = 508147 >-SHA256 (xpi/firefox-i18n-59.0.1/ka.xpi) = c06ba278e86d214a55cc582da20c2f277986d4e52e99fedee5cd19f4a7f5b3f1 >-SIZE (xpi/firefox-i18n-59.0.1/ka.xpi) = 492569 >-SHA256 (xpi/firefox-i18n-59.0.1/kab.xpi) = 5bba366b527907301a54817fd3c95d4d6617c9169cf20cf94b5292825dd8ca23 >-SIZE (xpi/firefox-i18n-59.0.1/kab.xpi) = 461841 >-SHA256 (xpi/firefox-i18n-59.0.1/kk.xpi) = 06c927cb3919d60bcb595b8e7690148613215ab92eb345a3775b856e5590b2cf >-SIZE (xpi/firefox-i18n-59.0.1/kk.xpi) = 517584 >-SHA256 (xpi/firefox-i18n-59.0.1/km.xpi) = 10a185cf715bccb9cf2c00a15384e6feb7df2adfadcf144751bee4d03496c9c5 >-SIZE (xpi/firefox-i18n-59.0.1/km.xpi) = 526359 >-SHA256 (xpi/firefox-i18n-59.0.1/kn.xpi) = 36a5d63ccbce763756d1aa145339794315e9ddd653420fe2fb1256b017da7b98 >-SIZE (xpi/firefox-i18n-59.0.1/kn.xpi) = 527879 >-SHA256 (xpi/firefox-i18n-59.0.1/ko.xpi) = f3b83409bd4d742ef6c6c5cfd0d8d463bf1cdd21608f8439f2f86901e95b5b4d >-SIZE (xpi/firefox-i18n-59.0.1/ko.xpi) = 487661 >-SHA256 (xpi/firefox-i18n-59.0.1/lij.xpi) = 62f4d6631b60b420954f1a7c42b5cc383801548c5780bf7badb67f1f0b4c7fb2 >-SIZE (xpi/firefox-i18n-59.0.1/lij.xpi) = 446606 >-SHA256 (xpi/firefox-i18n-59.0.1/lt.xpi) = 3c28029fb78c90726cf6dca3a22f80e45d855ad16aee431c008e0bf08fb77ce4 >-SIZE (xpi/firefox-i18n-59.0.1/lt.xpi) = 475142 >-SHA256 (xpi/firefox-i18n-59.0.1/lv.xpi) = b618edf282a60d6a64dac68f796d45cd8fe79dc497176b5c821907eb50720e47 >-SIZE (xpi/firefox-i18n-59.0.1/lv.xpi) = 463655 >-SHA256 (xpi/firefox-i18n-59.0.1/mai.xpi) = b622a93edf7341d11a23df83d155b86f45a4af769f2ff45996701431c36707e2 >-SIZE (xpi/firefox-i18n-59.0.1/mai.xpi) = 499910 >-SHA256 (xpi/firefox-i18n-59.0.1/mk.xpi) = 996df991c2945d7591c9b90633e83eef72be4533ab55e3ba48745232b0e83430 >-SIZE (xpi/firefox-i18n-59.0.1/mk.xpi) = 484075 >-SHA256 (xpi/firefox-i18n-59.0.1/ml.xpi) = fe75a2f4885b7c4538a7447a650de9f338169549e5451d1e5fe2a70d6c26cfa1 >-SIZE (xpi/firefox-i18n-59.0.1/ml.xpi) = 539735 >-SHA256 (xpi/firefox-i18n-59.0.1/mr.xpi) = 9f9a053dda0e1a7f15dd2bb5564582d6c10f465b20d9165210c487f1816e52a8 >-SIZE (xpi/firefox-i18n-59.0.1/mr.xpi) = 517962 >-SHA256 (xpi/firefox-i18n-59.0.1/ms.xpi) = 1a40eb19a6f607434d5180474925ab903bd0d8e12c5861713b3de574fda2673d >-SIZE (xpi/firefox-i18n-59.0.1/ms.xpi) = 450075 >-SHA256 (xpi/firefox-i18n-59.0.1/my.xpi) = 7b0a1e894808bb4f17d6012ba978b180dd0f4825733e357d63708f2298fdb278 >-SIZE (xpi/firefox-i18n-59.0.1/my.xpi) = 511894 >-SHA256 (xpi/firefox-i18n-59.0.1/nb-NO.xpi) = 390904624102a0c5c1be82712954a57ee628a170361a57fda0e5e6dd5e4b9f56 >-SIZE (xpi/firefox-i18n-59.0.1/nb-NO.xpi) = 450277 >-SHA256 (xpi/firefox-i18n-59.0.1/ne-NP.xpi) = 4acaaa5ee3746176dd1349ea51d47b99cbd965d8aff21b44169235b5798e6d04 >-SIZE (xpi/firefox-i18n-59.0.1/ne-NP.xpi) = 509177 >-SHA256 (xpi/firefox-i18n-59.0.1/nl.xpi) = 938f70cd0452f87ca4da3f1ed17802aad48e581b8fe7cb214f9c579bb647b795 >-SIZE (xpi/firefox-i18n-59.0.1/nl.xpi) = 458128 >-SHA256 (xpi/firefox-i18n-59.0.1/nn-NO.xpi) = eeeea6999c44df8e6657e65e07c96f741bef6530b8198f79547c36867ad3e694 >-SIZE (xpi/firefox-i18n-59.0.1/nn-NO.xpi) = 451471 >-SHA256 (xpi/firefox-i18n-59.0.1/or.xpi) = de8adc3a0a20bc650739a1a39c55140c0b5f5f5a078a6a2414a7602561bfd798 >-SIZE (xpi/firefox-i18n-59.0.1/or.xpi) = 493181 >-SHA256 (xpi/firefox-i18n-59.0.1/pa-IN.xpi) = 682e548375a925583d723ffb9889a5ffbaa049ed2d2fe33cbb17dbd50ad263f4 >-SIZE (xpi/firefox-i18n-59.0.1/pa-IN.xpi) = 492420 >-SHA256 (xpi/firefox-i18n-59.0.1/pl.xpi) = 694b181873f7667a6720e3f6023bae756e8a0ed55fb4fd395b5be80db786f6b4 >-SIZE (xpi/firefox-i18n-59.0.1/pl.xpi) = 358511 >-SHA256 (xpi/firefox-i18n-59.0.1/pt-BR.xpi) = 1f1177c60948d15d7d86a374dbfb44bfdce462dbb5496bcd01499cf8b17f9130 >-SIZE (xpi/firefox-i18n-59.0.1/pt-BR.xpi) = 455916 >-SHA256 (xpi/firefox-i18n-59.0.1/pt-PT.xpi) = f85995c2b7f847dd9cd6325daf7436882e659a4e984b342e081058517f388908 >-SIZE (xpi/firefox-i18n-59.0.1/pt-PT.xpi) = 459331 >-SHA256 (xpi/firefox-i18n-59.0.1/rm.xpi) = e0a9c8c617d804eab0bc8530f15d1d8ae5e47147a23cb010a9c1f5eb5cd8d892 >-SIZE (xpi/firefox-i18n-59.0.1/rm.xpi) = 449757 >-SHA256 (xpi/firefox-i18n-59.0.1/ro.xpi) = 479b2ebbda57bafda0a34f29cc3e65a9a73db76967579d59c228bb03f0aca4f6 >-SIZE (xpi/firefox-i18n-59.0.1/ro.xpi) = 453403 >-SHA256 (xpi/firefox-i18n-59.0.1/ru.xpi) = 1be7524ab110feaa15dcbcc4ecdcf3399604b2fe79f41c82b1a68bea9e7b77bb >-SIZE (xpi/firefox-i18n-59.0.1/ru.xpi) = 526523 >-SHA256 (xpi/firefox-i18n-59.0.1/si.xpi) = 2d32228ebf6a6b79a20a18eed4091d8131b923fd127eeae01f677c157766840b >-SIZE (xpi/firefox-i18n-59.0.1/si.xpi) = 492588 >-SHA256 (xpi/firefox-i18n-59.0.1/sk.xpi) = 0b99e28c1b337008ac3d4a3c7b629cf71aaaad9c3f30e48f50603becb3064a06 >-SIZE (xpi/firefox-i18n-59.0.1/sk.xpi) = 480814 >-SHA256 (xpi/firefox-i18n-59.0.1/sl.xpi) = 18aa40a2cf30fe967c034ee2e084be6309ad848379c8eceb137381b308d6e297 >-SIZE (xpi/firefox-i18n-59.0.1/sl.xpi) = 458825 >-SHA256 (xpi/firefox-i18n-59.0.1/son.xpi) = 8162c10692ed8723f2c47ba322770335ec821550ec3031ea4b67b99b560466e7 >-SIZE (xpi/firefox-i18n-59.0.1/son.xpi) = 446399 >-SHA256 (xpi/firefox-i18n-59.0.1/sq.xpi) = 5882a6234a746ef9bb23b405ec15d8e74083598924eabeba3f18a6bc681cdce4 >-SIZE (xpi/firefox-i18n-59.0.1/sq.xpi) = 464463 >-SHA256 (xpi/firefox-i18n-59.0.1/sr.xpi) = 2ec1aa0c85ebd456a560f1e34a65183eef4f7d3105c69c779e83c9ca91e0a442 >-SIZE (xpi/firefox-i18n-59.0.1/sr.xpi) = 486178 >-SHA256 (xpi/firefox-i18n-59.0.1/sv-SE.xpi) = 0913865b4c5edd6cb0006b1c2149463b6a0ff22870cf6c1c2b6cf55f7b7f76d4 >-SIZE (xpi/firefox-i18n-59.0.1/sv-SE.xpi) = 458660 >-SHA256 (xpi/firefox-i18n-59.0.1/ta.xpi) = 92300249eac9468ab15a5a81a2bb5ca7b96ed4d0ede1aa52659ceb50bfcb041b >-SIZE (xpi/firefox-i18n-59.0.1/ta.xpi) = 512843 >-SHA256 (xpi/firefox-i18n-59.0.1/te.xpi) = a3d972a645fefa7e1860f043a85c5c5e00e9b6c46712cd3f98b7db006d98258e >-SIZE (xpi/firefox-i18n-59.0.1/te.xpi) = 527083 >-SHA256 (xpi/firefox-i18n-59.0.1/th.xpi) = 8e0f5c8eeb12f185aaeddf244363034fe0b8e14f875be5892b68f0fd6530d135 >-SIZE (xpi/firefox-i18n-59.0.1/th.xpi) = 498544 >-SHA256 (xpi/firefox-i18n-59.0.1/tr.xpi) = 3cbb4cdea0c2001f94cff5078e730e02ce03370eaef1645be60c892ba284be5f >-SIZE (xpi/firefox-i18n-59.0.1/tr.xpi) = 463594 >-SHA256 (xpi/firefox-i18n-59.0.1/uk.xpi) = d7c86d1f09df639dfc2f3c487cb9d8eabca02efa848371a5e1e7ca1406561de3 >-SIZE (xpi/firefox-i18n-59.0.1/uk.xpi) = 516926 >-SHA256 (xpi/firefox-i18n-59.0.1/ur.xpi) = c893dd6cd191a2fded4d0c372c9a089528dffaaeeead193ad4080a3f5f21fe90 >-SIZE (xpi/firefox-i18n-59.0.1/ur.xpi) = 507380 >-SHA256 (xpi/firefox-i18n-59.0.1/uz.xpi) = d1b3e43d2850f9da05d92e1f3b933c54e716db163d462c62adac4395e78c6c7b >-SIZE (xpi/firefox-i18n-59.0.1/uz.xpi) = 456923 >-SHA256 (xpi/firefox-i18n-59.0.1/vi.xpi) = bfa5f3a23b29349cee54a85538c0eadb7f838cb50788c1927b7aa5d39d061bc2 >-SIZE (xpi/firefox-i18n-59.0.1/vi.xpi) = 470069 >-SHA256 (xpi/firefox-i18n-59.0.1/xh.xpi) = 6d8bfed15e2b48a7969de06f43fac314e3d0af99c4d24b8b86eacd26a03b3fca >-SIZE (xpi/firefox-i18n-59.0.1/xh.xpi) = 460771 >-SHA256 (xpi/firefox-i18n-59.0.1/zh-CN.xpi) = 95d5129eb1211c25516a8ac3f3a5463ec087583c12acf6546aa2915bdf86b463 >-SIZE (xpi/firefox-i18n-59.0.1/zh-CN.xpi) = 483449 >-SHA256 (xpi/firefox-i18n-59.0.1/zh-TW.xpi) = e95d71b32bb94f8c75a8ec9cd042b5a2f4ba61be4f31195aba8eccea0443d6ec >-SIZE (xpi/firefox-i18n-59.0.1/zh-TW.xpi) = 477089 >+SHA256 (xpi/firefox-i18n-60.0b4/ach.xpi) = a376d8807d77695771c32a8f64c4b87b487f33705178221499a768160ee3d0c9 >+SIZE (xpi/firefox-i18n-60.0b4/ach.xpi) = 447332 >+SHA256 (xpi/firefox-i18n-60.0b4/af.xpi) = c9b3906996d8d9a696b7a4efdce96193733deeaae74f3e63cdf5d5c4fbcdfcae >+SIZE (xpi/firefox-i18n-60.0b4/af.xpi) = 444620 >+SHA256 (xpi/firefox-i18n-60.0b4/an.xpi) = 518a9a328266da102bb2866cbfdee73e950b37ba1869d2a5b5bc7c3e695584f5 >+SIZE (xpi/firefox-i18n-60.0b4/an.xpi) = 470870 >+SHA256 (xpi/firefox-i18n-60.0b4/ar.xpi) = a429238efb544df40ce07effea9efccd6a5c4f95cc41041d5de0b891fea7d90b >+SIZE (xpi/firefox-i18n-60.0b4/ar.xpi) = 495469 >+SHA256 (xpi/firefox-i18n-60.0b4/as.xpi) = a0e37fa706606d07b0378c78eec35e6f2a850988ea31c21e5d1561052f44a730 >+SIZE (xpi/firefox-i18n-60.0b4/as.xpi) = 488392 >+SHA256 (xpi/firefox-i18n-60.0b4/ast.xpi) = a12bfc5268616f4acc94a600bc49163097031a41d8c6f3d682cb3ebc7e6940d2 >+SIZE (xpi/firefox-i18n-60.0b4/ast.xpi) = 462803 >+SHA256 (xpi/firefox-i18n-60.0b4/az.xpi) = b8b4eab83098f705d288b78313742e4695e3a6439763a30b38a4d783622ed49b >+SIZE (xpi/firefox-i18n-60.0b4/az.xpi) = 473956 >+SHA256 (xpi/firefox-i18n-60.0b4/be.xpi) = e69e40ead5c5a96709f6a51ebe27e1b4e0babf7ee724c65c251be7f4a96b63af >+SIZE (xpi/firefox-i18n-60.0b4/be.xpi) = 525502 >+SHA256 (xpi/firefox-i18n-60.0b4/bg.xpi) = eaa54f16feae7d15a2ec92401b675a4426dc2c23c66cdd764798a4915df218a3 >+SIZE (xpi/firefox-i18n-60.0b4/bg.xpi) = 518267 >+SHA256 (xpi/firefox-i18n-60.0b4/bn-BD.xpi) = 7bf59ddc04dc9943ed03d77d36ba09e38d639264167dc51d727e31a7b93eeeab >+SIZE (xpi/firefox-i18n-60.0b4/bn-BD.xpi) = 534542 >+SHA256 (xpi/firefox-i18n-60.0b4/bn-IN.xpi) = dc70559be2467b6183fd34aa1c3bc6deb3fe306764d937294cd6c7557cade2e4 >+SIZE (xpi/firefox-i18n-60.0b4/bn-IN.xpi) = 520824 >+SHA256 (xpi/firefox-i18n-60.0b4/br.xpi) = f88a8ab62810daacab065824cfc338532751657c123f9f76c92a0f813cfba8f4 >+SIZE (xpi/firefox-i18n-60.0b4/br.xpi) = 460012 >+SHA256 (xpi/firefox-i18n-60.0b4/bs.xpi) = 3e06f0263896ca0ea605937c243fc527ed8f387e1520571bd466187067b961fa >+SIZE (xpi/firefox-i18n-60.0b4/bs.xpi) = 466806 >+SHA256 (xpi/firefox-i18n-60.0b4/ca.xpi) = e4cbdfd7026612972966ce94535dd78de28b9e4279014f17ab7c06b09c3022b1 >+SIZE (xpi/firefox-i18n-60.0b4/ca.xpi) = 474166 >+SHA256 (xpi/firefox-i18n-60.0b4/cak.xpi) = 9cb42fa9d249072e8286f71895e2b40cec704057909d242d471d0d0283add5e5 >+SIZE (xpi/firefox-i18n-60.0b4/cak.xpi) = 482991 >+SHA256 (xpi/firefox-i18n-60.0b4/cs.xpi) = 82548bad2bed3bff521dffdde727c4c1a68a0d657bb6e1062c691e6fb9683217 >+SIZE (xpi/firefox-i18n-60.0b4/cs.xpi) = 478162 >+SHA256 (xpi/firefox-i18n-60.0b4/cy.xpi) = 5292129bfa45eede558d25f23dd23b78b506bdb423f2d8695fe39cffa16534ee >+SIZE (xpi/firefox-i18n-60.0b4/cy.xpi) = 463807 >+SHA256 (xpi/firefox-i18n-60.0b4/da.xpi) = 2a2ba08f178747755190e5f842a4aa9a46adaf0f7e5c0f108a9c6c3b54dd902e >+SIZE (xpi/firefox-i18n-60.0b4/da.xpi) = 455921 >+SHA256 (xpi/firefox-i18n-60.0b4/de.xpi) = 2e6467c6fe6cc82a1184fad55a676094877c3027af222dcb77fe6a8df421609e >+SIZE (xpi/firefox-i18n-60.0b4/de.xpi) = 476407 >+SHA256 (xpi/firefox-i18n-60.0b4/dsb.xpi) = 8ff286d03b71112f03bd3634b676ffa07d8fb2cce8669f4464168b9afe932364 >+SIZE (xpi/firefox-i18n-60.0b4/dsb.xpi) = 485591 >+SHA256 (xpi/firefox-i18n-60.0b4/el.xpi) = 8ab2990720e9aa776ad3c89648c1e5874e4d11ba859d2f4d2702768c04410648 >+SIZE (xpi/firefox-i18n-60.0b4/el.xpi) = 541174 >+SHA256 (xpi/firefox-i18n-60.0b4/en-GB.xpi) = c61f9726eda91920c34bdb9acf3adda0ba6c713ea568b9a5d42b9326c3b0f8be >+SIZE (xpi/firefox-i18n-60.0b4/en-GB.xpi) = 443384 >+SHA256 (xpi/firefox-i18n-60.0b4/en-US.xpi) = 685e2500d398733e26e3577c9b7f3641cfb317cad516e48533811dbc3c433808 >+SIZE (xpi/firefox-i18n-60.0b4/en-US.xpi) = 439188 >+SHA256 (xpi/firefox-i18n-60.0b4/en-ZA.xpi) = 6ba899d8d0849eea1a6ad34dddb4ea64cf5a2beedcdc8a4317f9f99655499c9c >+SIZE (xpi/firefox-i18n-60.0b4/en-ZA.xpi) = 433608 >+SHA256 (xpi/firefox-i18n-60.0b4/eo.xpi) = 8d4f377aedf5b1351e5281b90a1ba92cdb4d65f799b4ab82d339a0352e4f6605 >+SIZE (xpi/firefox-i18n-60.0b4/eo.xpi) = 461267 >+SHA256 (xpi/firefox-i18n-60.0b4/es-AR.xpi) = a4e264a2022d5ae6041b89db6e3d3a34d7dea087f8219ce1ab8c558c948474f5 >+SIZE (xpi/firefox-i18n-60.0b4/es-AR.xpi) = 471383 >+SHA256 (xpi/firefox-i18n-60.0b4/es-CL.xpi) = 40a63eebe2aa1ab94c039a36a28d6a1e0f52bae4054a51440c5b8d628660d7c3 >+SIZE (xpi/firefox-i18n-60.0b4/es-CL.xpi) = 473943 >+SHA256 (xpi/firefox-i18n-60.0b4/es-ES.xpi) = 0a9f01d1a7494dfa7a42419398802233c5848f4638d1ddc0f53ba760180c6bcc >+SIZE (xpi/firefox-i18n-60.0b4/es-ES.xpi) = 396256 >+SHA256 (xpi/firefox-i18n-60.0b4/es-MX.xpi) = b1b4f74b30ec04d50d30cbfe18f2009cae5e65003e83fdd2b44912cf22511043 >+SIZE (xpi/firefox-i18n-60.0b4/es-MX.xpi) = 475167 >+SHA256 (xpi/firefox-i18n-60.0b4/et.xpi) = 9916c028fa48d3e233b38c55c31b896a68a778d37136c4fc1c09db1c56f94218 >+SIZE (xpi/firefox-i18n-60.0b4/et.xpi) = 455974 >+SHA256 (xpi/firefox-i18n-60.0b4/eu.xpi) = 7155b203ba73c581a9b862023b914a87031763bb73e8846931163179af673e5d >+SIZE (xpi/firefox-i18n-60.0b4/eu.xpi) = 462858 >+SHA256 (xpi/firefox-i18n-60.0b4/fa.xpi) = 22b35ab1e643253653ea1ced5d424738249472e5fffa8fa770cc0ce9b05b8899 >+SIZE (xpi/firefox-i18n-60.0b4/fa.xpi) = 517840 >+SHA256 (xpi/firefox-i18n-60.0b4/ff.xpi) = 072997344969a1272f6f3738f9421c003b3752b3976e9b99137905fccc82ffba >+SIZE (xpi/firefox-i18n-60.0b4/ff.xpi) = 463545 >+SHA256 (xpi/firefox-i18n-60.0b4/fi.xpi) = 50467d9412d28dd000ddf9467976d77d75589060529d1dbb432fbd15d214a411 >+SIZE (xpi/firefox-i18n-60.0b4/fi.xpi) = 454783 >+SHA256 (xpi/firefox-i18n-60.0b4/fr.xpi) = a236cad8d771e1bcbc0fbd2c74705fb3349ea828e5b1cdccb1b3a580c31566b6 >+SIZE (xpi/firefox-i18n-60.0b4/fr.xpi) = 482536 >+SHA256 (xpi/firefox-i18n-60.0b4/fy-NL.xpi) = 075917997ad67eefc36fd1b634037f5da68317565ea274666170e6a9234998ae >+SIZE (xpi/firefox-i18n-60.0b4/fy-NL.xpi) = 471877 >+SHA256 (xpi/firefox-i18n-60.0b4/ga-IE.xpi) = a581433fe39d478ec76921e54cd79a9957553d255d08313ab7948dc1abca1cc9 >+SIZE (xpi/firefox-i18n-60.0b4/ga-IE.xpi) = 481339 >+SHA256 (xpi/firefox-i18n-60.0b4/gd.xpi) = 5bfb56e414ff361a7af6791db3c3b00e42e585ae05e01d707c6a9607b02cce8f >+SIZE (xpi/firefox-i18n-60.0b4/gd.xpi) = 471969 >+SHA256 (xpi/firefox-i18n-60.0b4/gl.xpi) = 1598bf09061f1fab4440831eac12a621c128d3ce961a918cf2b0d55a21410484 >+SIZE (xpi/firefox-i18n-60.0b4/gl.xpi) = 447872 >+SHA256 (xpi/firefox-i18n-60.0b4/gn.xpi) = 531c46fcb921a1a0f50df18dab94cf74c44027dabd81013c8c05e684a5838c39 >+SIZE (xpi/firefox-i18n-60.0b4/gn.xpi) = 479564 >+SHA256 (xpi/firefox-i18n-60.0b4/gu-IN.xpi) = c496829b05d820742560753affe88ce31b0baee3de47504562034f7eda90e6b0 >+SIZE (xpi/firefox-i18n-60.0b4/gu-IN.xpi) = 531828 >+SHA256 (xpi/firefox-i18n-60.0b4/he.xpi) = a8d6e9a5b9b4f99a16b5413333ed736187c25fb6029c8994e64f1df61f1553bf >+SIZE (xpi/firefox-i18n-60.0b4/he.xpi) = 482074 >+SHA256 (xpi/firefox-i18n-60.0b4/hi-IN.xpi) = cd4b4892fec3fcaf483f1fb1d4efa1134d667b593d412a37141ace57ba0aee7a >+SIZE (xpi/firefox-i18n-60.0b4/hi-IN.xpi) = 533958 >+SHA256 (xpi/firefox-i18n-60.0b4/hr.xpi) = cc85e9f06c765725b70aae207aa31cd2cc94296129bf5be89b494fe1c88deb7e >+SIZE (xpi/firefox-i18n-60.0b4/hr.xpi) = 469483 >+SHA256 (xpi/firefox-i18n-60.0b4/hsb.xpi) = 7cf4f174b4f26cda5540a4bb8454f0d5a4aa4ad93e8db46f4bcda5307f9e7c2d >+SIZE (xpi/firefox-i18n-60.0b4/hsb.xpi) = 484215 >+SHA256 (xpi/firefox-i18n-60.0b4/hu.xpi) = 4f457dd972263c6df7b0ef7e68234e33e7dd50988af363716a65a9ce32164086 >+SIZE (xpi/firefox-i18n-60.0b4/hu.xpi) = 485352 >+SHA256 (xpi/firefox-i18n-60.0b4/hy-AM.xpi) = 3cd3b0470bd9380afb3ab0b7f1a2faff56d431325905bce6efac3cf1db3d55bb >+SIZE (xpi/firefox-i18n-60.0b4/hy-AM.xpi) = 517929 >+SHA256 (xpi/firefox-i18n-60.0b4/ia.xpi) = 81ad5fce9bf34c18c1b33c4947d19292e3fa4613edbaa5740c72cc1a8b663c35 >+SIZE (xpi/firefox-i18n-60.0b4/ia.xpi) = 459100 >+SHA256 (xpi/firefox-i18n-60.0b4/id.xpi) = 4d503ee96ee18187cf42b1ab56183e8fd78870d4cb6cdddb16af6b09e7b1087c >+SIZE (xpi/firefox-i18n-60.0b4/id.xpi) = 450666 >+SHA256 (xpi/firefox-i18n-60.0b4/is.xpi) = 0ac2860556cb58c2e860f579a2a73c80a7619ffa18e57bcb3edb6af1557c3777 >+SIZE (xpi/firefox-i18n-60.0b4/is.xpi) = 460840 >+SHA256 (xpi/firefox-i18n-60.0b4/it.xpi) = 35f8c25dba4bafa498f94b7b7ef23244b4a071fdac8540c3bdc8bc2c93fcb717 >+SIZE (xpi/firefox-i18n-60.0b4/it.xpi) = 348857 >+SHA256 (xpi/firefox-i18n-60.0b4/ja.xpi) = 8aa233390f777cbd49809348c6b963778a532602b349fb4a87d0e4da23be06c8 >+SIZE (xpi/firefox-i18n-60.0b4/ja.xpi) = 517964 >+SHA256 (xpi/firefox-i18n-60.0b4/ka.xpi) = cb936f5804055557e7513d971aa5ae1e94261d87503cbb4c8876efa26c2648a8 >+SIZE (xpi/firefox-i18n-60.0b4/ka.xpi) = 500328 >+SHA256 (xpi/firefox-i18n-60.0b4/kab.xpi) = fb8943f384ebd9af0ea878fa9cf7385b65416b220ba241f3717371d0fb93412e >+SIZE (xpi/firefox-i18n-60.0b4/kab.xpi) = 469418 >+SHA256 (xpi/firefox-i18n-60.0b4/kk.xpi) = 0edb6c74bb93ef6d957758a14782ab6ceeda808f15d4962a9a4a3759c0c928d1 >+SIZE (xpi/firefox-i18n-60.0b4/kk.xpi) = 526824 >+SHA256 (xpi/firefox-i18n-60.0b4/km.xpi) = 4a5816ad9feb15dacdbaf03629f84edd13220dfab050c65f1c840279cb131ae3 >+SIZE (xpi/firefox-i18n-60.0b4/km.xpi) = 534966 >+SHA256 (xpi/firefox-i18n-60.0b4/kn.xpi) = 9d2cb6af341c57acd3c9f1de7dc66360eeab07f16fc635d609645cd07cc6c582 >+SIZE (xpi/firefox-i18n-60.0b4/kn.xpi) = 535042 >+SHA256 (xpi/firefox-i18n-60.0b4/ko.xpi) = 91fd36f0bffa3d4237b3e75a7ed1c07a90246162e0e308bcec10f8e3386cbc17 >+SIZE (xpi/firefox-i18n-60.0b4/ko.xpi) = 493734 >+SHA256 (xpi/firefox-i18n-60.0b4/lij.xpi) = 69739bbd218156550cd053f98eb66de65caca1bbac8e7fcefa25f35b1c7369ee >+SIZE (xpi/firefox-i18n-60.0b4/lij.xpi) = 456650 >+SHA256 (xpi/firefox-i18n-60.0b4/lt.xpi) = 00ba603b5cdaeecc367740bc32da6cf9744d8e50f73e232dca950538ae2cb3c0 >+SIZE (xpi/firefox-i18n-60.0b4/lt.xpi) = 482895 >+SHA256 (xpi/firefox-i18n-60.0b4/lv.xpi) = 5e35ccf640e3a7e0315e78a01e76ba7cd992b687b3f84b487d23e16384bc8480 >+SIZE (xpi/firefox-i18n-60.0b4/lv.xpi) = 473186 >+SHA256 (xpi/firefox-i18n-60.0b4/mai.xpi) = 00d5a13fe9f8f890e162c981d7589c01fe11c00df71db2482ec75e7046cb89bf >+SIZE (xpi/firefox-i18n-60.0b4/mai.xpi) = 505844 >+SHA256 (xpi/firefox-i18n-60.0b4/mk.xpi) = affeeb40aef9d77af1f534284b6e0235a25d25d182f0777ad08390b25bda9304 >+SIZE (xpi/firefox-i18n-60.0b4/mk.xpi) = 471169 >+SHA256 (xpi/firefox-i18n-60.0b4/ml.xpi) = 3f82b28bcaabab1f4c9c4727d4f397fcd6be0e41c5df6a1b5b1c94c45d9222d2 >+SIZE (xpi/firefox-i18n-60.0b4/ml.xpi) = 548072 >+SHA256 (xpi/firefox-i18n-60.0b4/mr.xpi) = 3cdef004ba9d5afcc6e46a1bf174046c4f9ed5626a46bcf403ed4ee5d80cda2f >+SIZE (xpi/firefox-i18n-60.0b4/mr.xpi) = 527928 >+SHA256 (xpi/firefox-i18n-60.0b4/ms.xpi) = e4b3313b9ec9c5ab7243121649259e34d8751f6063b4fb1171c76431cc306db3 >+SIZE (xpi/firefox-i18n-60.0b4/ms.xpi) = 458218 >+SHA256 (xpi/firefox-i18n-60.0b4/my.xpi) = 2460c613d61ab1b7975dd7fa2d0f49ec66673ec59468b6660e16126e5907ac05 >+SIZE (xpi/firefox-i18n-60.0b4/my.xpi) = 520525 >+SHA256 (xpi/firefox-i18n-60.0b4/nb-NO.xpi) = a51c5126750093d5171dc7180d23d1d5231b165420e05f8e12a2702ff269787a >+SIZE (xpi/firefox-i18n-60.0b4/nb-NO.xpi) = 457576 >+SHA256 (xpi/firefox-i18n-60.0b4/ne-NP.xpi) = c107af2b970d24b48420af69a8e2c985335981ceae9ac2b2304d1f4d6b5161a9 >+SIZE (xpi/firefox-i18n-60.0b4/ne-NP.xpi) = 505244 >+SHA256 (xpi/firefox-i18n-60.0b4/nl.xpi) = 6d960440744d3e2cb1eee9f339507aa9806b923e74a2409a0593ef4641cb1599 >+SIZE (xpi/firefox-i18n-60.0b4/nl.xpi) = 464347 >+SHA256 (xpi/firefox-i18n-60.0b4/nn-NO.xpi) = fb05ca9255b56d0e4c18b7e5561c49e4dd2e954ae70a8d68f79fb7fc82b9d0f5 >+SIZE (xpi/firefox-i18n-60.0b4/nn-NO.xpi) = 458915 >+SHA256 (xpi/firefox-i18n-60.0b4/oc.xpi) = 8c0114b7635076bc528a093915b3b634e41e30a15cd18d38a877f34642ecb81e >+SIZE (xpi/firefox-i18n-60.0b4/oc.xpi) = 475412 >+SHA256 (xpi/firefox-i18n-60.0b4/or.xpi) = 44a5336595c2bee733a3f2cb5f91f793dfb23c2589c8d8f3cbc48f3666fa259b >+SIZE (xpi/firefox-i18n-60.0b4/or.xpi) = 498996 >+SHA256 (xpi/firefox-i18n-60.0b4/pa-IN.xpi) = 29a40265737d2f2ccda6f1c3a28c3f1240db06b6a43ba6b3f8385b41c7256554 >+SIZE (xpi/firefox-i18n-60.0b4/pa-IN.xpi) = 501555 >+SHA256 (xpi/firefox-i18n-60.0b4/pl.xpi) = f1069a20629e235516393954baab20f1949fc8868b5ca0e7babc76e06c1fcddf >+SIZE (xpi/firefox-i18n-60.0b4/pl.xpi) = 368881 >+SHA256 (xpi/firefox-i18n-60.0b4/pt-BR.xpi) = 550ef8f4a765ca2d6c4c4a9ae6bc08793b0e69879c1c8867457c82f8e762503b >+SIZE (xpi/firefox-i18n-60.0b4/pt-BR.xpi) = 463596 >+SHA256 (xpi/firefox-i18n-60.0b4/pt-PT.xpi) = e5b9f2a3817d3b29f281f7232289e88d46bda0a24915fe1812384369fb6bee67 >+SIZE (xpi/firefox-i18n-60.0b4/pt-PT.xpi) = 467507 >+SHA256 (xpi/firefox-i18n-60.0b4/rm.xpi) = 4107c181db6a8deb42aaa18f52e86b935b5154051015c80786f0349febed3e9c >+SIZE (xpi/firefox-i18n-60.0b4/rm.xpi) = 459505 >+SHA256 (xpi/firefox-i18n-60.0b4/ro.xpi) = be4078c5bf892bc2d94d4dfbb958b5d2f38f82698ca43120aa599af60c6891e2 >+SIZE (xpi/firefox-i18n-60.0b4/ro.xpi) = 463564 >+SHA256 (xpi/firefox-i18n-60.0b4/ru.xpi) = 10cfc7a22c7d222ab78110c12e5387908649c46a275f76e5d375d4db010a394d >+SIZE (xpi/firefox-i18n-60.0b4/ru.xpi) = 535527 >+SHA256 (xpi/firefox-i18n-60.0b4/si.xpi) = a527289ff975ca32473619b4e040a071f5aea7f237ba4f623a33fe871bd9b104 >+SIZE (xpi/firefox-i18n-60.0b4/si.xpi) = 500219 >+SHA256 (xpi/firefox-i18n-60.0b4/sk.xpi) = 9faf38b4150a953109efc0a3909e0e4a0d2b8cb2b0eb4a8bf1cc4120ec49c52c >+SIZE (xpi/firefox-i18n-60.0b4/sk.xpi) = 488555 >+SHA256 (xpi/firefox-i18n-60.0b4/sl.xpi) = 76c1ae570fc64870b3c59345a3958ba9c2ffd906cb931c84655e8f1a5116019a >+SIZE (xpi/firefox-i18n-60.0b4/sl.xpi) = 467000 >+SHA256 (xpi/firefox-i18n-60.0b4/son.xpi) = ce6fc02a98ef993acb03df5ab0de7d51e05229a8f02cc18e347a7465c587273c >+SIZE (xpi/firefox-i18n-60.0b4/son.xpi) = 454316 >+SHA256 (xpi/firefox-i18n-60.0b4/sq.xpi) = d55b9bd7ea6d329116c75b4b503f4d0cf0f7010530045b1346b79df747b02bfa >+SIZE (xpi/firefox-i18n-60.0b4/sq.xpi) = 472664 >+SHA256 (xpi/firefox-i18n-60.0b4/sr.xpi) = 2dd580628cb9827ec3f88bfcb9a376076fca3880733f144fd5915b7b7fff4c15 >+SIZE (xpi/firefox-i18n-60.0b4/sr.xpi) = 494649 >+SHA256 (xpi/firefox-i18n-60.0b4/sv-SE.xpi) = ef76b704af09cc247bc5508ece085e331082158fe7603838d7da5f8a2f8c137b >+SIZE (xpi/firefox-i18n-60.0b4/sv-SE.xpi) = 466415 >+SHA256 (xpi/firefox-i18n-60.0b4/ta.xpi) = 9f5f95e3d679a5f6002fb68ddc0157d80a4acda4c22a9a6e7db03b7449ad8b94 >+SIZE (xpi/firefox-i18n-60.0b4/ta.xpi) = 522943 >+SHA256 (xpi/firefox-i18n-60.0b4/te.xpi) = abd998ab3246b9f17cd23754a6516c44c3f0d5b754c1c99245e4beb33402e366 >+SIZE (xpi/firefox-i18n-60.0b4/te.xpi) = 536322 >+SHA256 (xpi/firefox-i18n-60.0b4/th.xpi) = 3162e83cbbb21fbbf77d275c265d071bede78c89ef49f1a275e62dbced33fb7a >+SIZE (xpi/firefox-i18n-60.0b4/th.xpi) = 507476 >+SHA256 (xpi/firefox-i18n-60.0b4/tr.xpi) = f5f29de70caecae412f7499b96f8ebc9521f2f9b4e16811e8864b51602b86418 >+SIZE (xpi/firefox-i18n-60.0b4/tr.xpi) = 472994 >+SHA256 (xpi/firefox-i18n-60.0b4/uk.xpi) = 2a3a1feb0e23272efca2fbe83abb64060db8f3bcbdfebd4626c0e24f789eb0e8 >+SIZE (xpi/firefox-i18n-60.0b4/uk.xpi) = 525680 >+SHA256 (xpi/firefox-i18n-60.0b4/ur.xpi) = e5f6da46a6174a2d7338b7a0227920ed37926d88f744df72d2d2489e32bfa204 >+SIZE (xpi/firefox-i18n-60.0b4/ur.xpi) = 516262 >+SHA256 (xpi/firefox-i18n-60.0b4/uz.xpi) = 364823b09773d55ca7b685f4bdecc38b8556faa2cdaf02bda6567fe5adbf66b5 >+SIZE (xpi/firefox-i18n-60.0b4/uz.xpi) = 465257 >+SHA256 (xpi/firefox-i18n-60.0b4/vi.xpi) = 245f345242eeee43734f1d390694e27c4edcdb3b49888319e7c1771f140eabb8 >+SIZE (xpi/firefox-i18n-60.0b4/vi.xpi) = 479544 >+SHA256 (xpi/firefox-i18n-60.0b4/xh.xpi) = da7079e82d170281ad3828e90ce2c7a0742050c053d03ba3776d025604ab2496 >+SIZE (xpi/firefox-i18n-60.0b4/xh.xpi) = 467861 >+SHA256 (xpi/firefox-i18n-60.0b4/zh-CN.xpi) = 39dd1bf587086c5749fbce1204909374e80d9e00c4a797ee3c49878b7b857b94 >+SIZE (xpi/firefox-i18n-60.0b4/zh-CN.xpi) = 490672 >+SHA256 (xpi/firefox-i18n-60.0b4/zh-TW.xpi) = 107bac9b406e7f4504e40d5171a58776e949941f95004c84b21a21563cf16449 >+SIZE (xpi/firefox-i18n-60.0b4/zh-TW.xpi) = 488661 >diff --git a/www/firefox/Makefile b/www/firefox/Makefile >index 405e64b6e5e5..ee692589088e 100644 >--- a/www/firefox/Makefile >+++ b/www/firefox/Makefile >@@ -2,27 +2,27 @@ > # $FreeBSD$ > > PORTNAME= firefox >-DISTVERSION= 59.0.1 >+DISTVERSION= 60.0b4 > PORTEPOCH= 1 > CATEGORIES= www ipv6 >-MASTER_SITES= https://hg.mozilla.org/releases/mozilla-release/archive/ >-DISTNAME= ${MASTER_SITES:M*hg*:S,/archive/,,:T}-3db9e3d52b17563efca181ccbb50deb8660c59ae >+MASTER_SITES= https://hg.mozilla.org/releases/mozilla-beta/archive/ >+DISTNAME= ${MASTER_SITES:M*hg*:S,/archive/,,:T}-1dfbedb54c39abae38da9329f4a79571fee74661 > DISTFILES= ${DISTNAME:C/.*-//}${EXTRACT_SUFX} > DIST_SUBDIR= firefox > > MAINTAINER= gecko@FreeBSD.org > COMMENT= Web browser based on the browser portion of Mozilla > >-BUILD_DEPENDS= nspr>=4.18:devel/nspr \ >- nss>=3.35:security/nss \ >+BUILD_DEPENDS= nspr>=4.19:devel/nspr \ >+ nss>=3.36:security/nss \ > icu>=59.1,1:devel/icu \ > libevent>=2.1.8:devel/libevent \ >- harfbuzz>=1.7.4:print/harfbuzz \ >- graphite2>=1.3.10:graphics/graphite2 \ >+ harfbuzz>=1.7.6:print/harfbuzz \ >+ graphite2>=1.3.11:graphics/graphite2 \ > png>=1.6.34:graphics/png \ > libvorbis>=1.3.5,3:audio/libvorbis \ > libvpx>=1.5.0:multimedia/libvpx \ >- sqlite3>=3.21.0:databases/sqlite3 \ >+ sqlite3>=3.22.0:databases/sqlite3 \ > ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ > v4l_compat>0:multimedia/v4l_compat \ > autoconf-2.13:devel/autoconf213 \ >@@ -30,8 +30,6 @@ BUILD_DEPENDS= nspr>=4.18:devel/nspr \ > zip:archivers/zip > # soundtouch>=1.9.0:audio/soundtouch \ > >-LIB_DEPENDS= libv4l2.so:multimedia/libv4l >- > USE_GECKO= gecko > CONFLICTS_INSTALL= firefox-esr > MOZ_PKGCONFIG_FILES= # empty >diff --git a/www/firefox/distinfo b/www/firefox/distinfo >index ef25cde375ef..1c79c8585d43 100644 >--- a/www/firefox/distinfo >+++ b/www/firefox/distinfo >@@ -1,3 +1,3 @@ > TIMESTAMP = 1521151925 >-SHA256 (firefox/3db9e3d52b17563efca181ccbb50deb8660c59ae.tar.bz2) = e8bc6d63c045dfad28116165dbf1f40e5f579542c020bbfb232b801cffd778e4 >-SIZE (firefox/3db9e3d52b17563efca181ccbb50deb8660c59ae.tar.bz2) = 304956890 >+SHA256 (firefox/1dfbedb54c39abae38da9329f4a79571fee74661.tar.bz2) = 5909d57e71aba7b5da86140d02f1216690f0d37e51c7dd0b4252472d5c7cbd36 >+SIZE (firefox/1dfbedb54c39abae38da9329f4a79571fee74661.tar.bz2) = 329441001 >diff --git a/www/firefox/files/patch-bug1021761 b/www/firefox/files/patch-bug1021761 >index f0764a8c4b22..d2cddd428791 100644 >--- a/www/firefox/files/patch-bug1021761 >+++ b/www/firefox/files/patch-bug1021761 >@@ -1198,9 +1198,9 @@ index b139b8f497fd..d1f8a223c6d8 100755 > cp $1/src/cubeb_mixer.h src > cp $1/src/cubeb_opensl.c src > +cp $1/src/cubeb_oss.c src >- cp $1/src/cubeb_osx_run_loop.h src >- cp $1/src/cubeb_panner.cpp src >- cp $1/src/cubeb_panner.h src >+ cp $1/src/cubeb-jni.cpp src >+ cp $1/src/cubeb-jni.h src >+ cp $1/src/android/cubeb-output-latency.h src/android > diff --git toolkit/library/moz.build toolkit/library/moz.build > index a61c689c83c3..7764df6f8a6b 100644 > --- toolkit/library/moz.build >diff --git a/www/firefox/files/patch-bug1418162 b/www/firefox/files/patch-bug1418162 >new file mode 100644 >index 000000000000..b454e74c438a >--- /dev/null >+++ b/www/firefox/files/patch-bug1418162 >@@ -0,0 +1,58 @@ >+commit b2ebb8d82be2 >+Author: Tom Ritter <tom@mozilla.com> >+Date: Mon Feb 19 09:43:27 2018 -0600 >+ >+ Bug 1418162 Use a build constant to determine update channel, and update ESR equation for 60 r?gijs,Build >+ >+ Previously we used Services.appinfo.defaultUpdateChannel to determine if we were on ESR >+ and if so, we would assert to make sure the ESR equation hadn't changed. But that method >+ is a footgun. We could use UpdateUtils.getUpdateChannel, but for our purposes here, the >+ compile-time constant will work just as well. >+ >+ If it's set correctly, for Mozilla, we will perform our assert check. If it's not set to >+ esr (e.g. for Tor), they'll skip the assert. They probably want to control their user agent >+ themselves anyway. >+ >+ MozReview-Commit-ID: DLnWSEpCVJ6 >+--- >+ .../resistfingerprinting/nsRFPService.cpp | 21 +++++++-------------- >+ 1 file changed, 7 insertions(+), 14 deletions(-) >+ >+diff --git toolkit/components/resistfingerprinting/nsRFPService.cpp toolkit/components/resistfingerprinting/nsRFPService.cpp >+index aeb3cb6b3539..1fd6a6e8fe8d 100644 >+--- toolkit/components/resistfingerprinting/nsRFPService.cpp >++++ toolkit/components/resistfingerprinting/nsRFPService.cpp >+@@ -606,26 +606,19 @@ nsRFPService::GetSpoofedUserAgent(nsACString &userAgent) >+ uint32_t firefoxVersion = appVersion.ToInteger(&rv); >+ NS_ENSURE_SUCCESS(rv, rv); >+ >+- // Starting from Firefox 10, Firefox ESR was released once every seven >+- // Firefox releases, e.g. Firefox 10, 17, 24, 31, and so on. >+- // We infer the last and closest ESR version based on this rule. >+- nsCOMPtr<nsIXULRuntime> runtime = >+- do_GetService("@mozilla.org/xre/runtime;1", &rv); >+- NS_ENSURE_SUCCESS(rv, rv); >+- >+- nsAutoCString updateChannel; >+- rv = runtime->GetDefaultUpdateChannel(updateChannel); >+- NS_ENSURE_SUCCESS(rv, rv); >+- >+ // If we are running in Firefox ESR, determine whether the formula of ESR >+ // version has changed. Once changed, we must update the formula in this >+ // function. >+- if (updateChannel.EqualsLiteral("esr")) { >+- MOZ_ASSERT(((firefoxVersion % 7) == 3), >++ if (!strcmp(NS_STRINGIFY(MOZ_UPDATE_CHANNEL), "esr")) { >++ MOZ_ASSERT(((firefoxVersion % 7) == 4), >+ "Please udpate ESR version formula in nsRFPService.cpp"); >+ } >+ >+- uint32_t spoofedVersion = firefoxVersion - ((firefoxVersion - 3) % 7); >++ // Starting from Firefox 10, Firefox ESR was released once every seven >++ // Firefox releases, e.g. Firefox 10, 17, 24, 31, and so on. >++ // Except we used 60 as an ESR instead of 59. >++ // We infer the last and closest ESR version based on this rule. >++ uint32_t spoofedVersion = firefoxVersion - ((firefoxVersion - 4) % 7); >+ userAgent.Assign(nsPrintfCString( >+ "Mozilla/5.0 (%s; rv:%d.0) Gecko/%s Firefox/%d.0", >+ SPOOFED_UA_OS, spoofedVersion, LEGACY_BUILD_ID, spoofedVersion)); >diff --git a/www/firefox/files/patch-bug1433747 b/www/firefox/files/patch-bug1433747 >deleted file mode 100644 >index 1a3b8737e8c3..000000000000 >--- a/www/firefox/files/patch-bug1433747 >+++ /dev/null >@@ -1,24 +0,0 @@ >-Apply simd@cf87865a998a to unbreak -C target-cpu with Rust >= 1.24 >- >-diff --git third_party/rust/simd/.cargo-checksum.json third_party/rust/simd/.cargo-checksum.json >-index 65f31b0560e6..f16d0dd4fd61 100644 >---- third_party/rust/simd/.cargo-checksum.json >-+++ third_party/rust/simd/.cargo-checksum.json >-@@ -1 +1 @@ >--{"files":{".travis.yml":"e2c720c3633b7671efce49147c62b12bcbf630d7c5d6fc65cd97620bfa4ddcea","Cargo.toml":"608aad04f17a524ee21048fa2ce9f656ae344e0473dd0e331dc954f0f9677c63","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"6d3a9431e65e69c73a8923e6517b889d17549b23db406b9ec027710d16af701f","README.md":"249294a9a5f63c64c0f7fe4a607060f43f3507dce2378067aa59d25fb3ae681d","benches/mandelbrot.rs":"051b5199e66bca6cf7774e9024915fd4e1349ab39726a10a14e06b60d65d87a4","benches/matrix.rs":"048a21dacdb62365e0105d00d2c8cd6bd2396ac81134f2bff7eb4f7d095fb735","examples/axpy.rs":"4307626045d64ec08361c97c9c72c5dc8d361bdc88f64453b97ac0212041a1b2","examples/convert.rs":"8e658fde050f8a0d8b84ad7570446b10fcf544afbd551b940ca340474f324840","examples/dot-product.rs":"6fe2e007c147af5353804173a593c5b9d57dbccec156e1da37e9e32537363f91","examples/fannkuch-redux-nosimd.rs":"7b2fbde35e8666929d14d67328471cb0483d038a5325232f8db148b30865312b","examples/fannkuch-redux.rs":"ea21fdbd2274488a62cc984acad6e0b65d52f24fb4ff63b7057a3a667e9c8aae","examples/mandelbrot.rs":"8b8fdca1edac50e5a33e0e0592bd41eb75114f31839ccd40d485c61a9a664380","examples/matrix-inverse.rs":"a378d20ef20c2119bb10a86de27c92fec2c2f77f374e6bfd36707c9825a5fe92","examples/nbody-nosimd.rs":"2c8e0a7feacd202fdd65eeceb6420d6e9f43340b81f20a8e532704a587a2796b","examples/nbody.rs":"a864311affab262024479d6348ff51af43d809e9ad332ec30ea4aacceaa2eae1","examples/ops.rs":"1316f915d0afcfa98fdc4077e965ccccf6b4b21c433cbe487ff0cdc60df3cd39","examples/spectral-norm-nosimd.rs":"ffc8512ecde779078ea467f38f423a0ea623c63da7078193f9dd370200773f79","examples/spectral-norm.rs":"edb09c9d477f83939098cfb77a27cc298bc7a0c8a8e29cece0cccae0d70d890e","src/aarch64/mod.rs":"83f52775364c98de0cecb7e1509530c18972e932469f5f1522aa24a735d0fa37","src/aarch64/neon.rs":"1fe769979e07d8e2bc3c78ce116e05d735860744efe097a894cc9421153257fb","src/arm/mod.rs":"dcdd90bc0b39abaf86a0c8946d442b16313563fbae1ff03248628275c74d8617","src/arm/neon.rs":"51cc509856200e80f8e4cc2c982586e6d1cef593ec4537e153dce0cfe31d3428","src/common.rs":"62f4e7e0fefb52ad190d0f2191bc435ac4deab3f2bc70dc427f2a7f9ccb7856e","src/lib.rs":"25f0b39c038fa85af858318135dfd87865be26c33bb4bd1438aec96a1e68d8b5","src/sixty_four.rs":"510a9e00189a61e4f0a5beb7052d5dee37fc8261f94a2af45ef10327e0f3b7df","src/v256.rs":"2e328e49034876d535e0627c7a62191da2b4fb156a657614bf531a5fc75b1385","src/x86/avx.rs":"c66140abefca634b48eae307c3ec8cf5a40f2279b10e246a7e2ac602a2a2bb28","src/x86/avx2.rs":"efe3006b13a13261a3dec3d37dc1d8cb53950f3803c420069231803374949937","src/x86/mod.rs":"0acc5a5e2672e2a0fddc11065663be8b8fa2da87320ea291fa86ff8c2f33edf5","src/x86/sse2.rs":"5ceda75a401958a135fc9d851b22075314cdeed69fd483b6a7be4f11373f40da","src/x86/sse3.rs":"9bd01a4f08069ca4f445952e744d651efe887e3835b18872e757375f0d053bd2","src/x86/sse4_1.rs":"9ceb80dd70a7e7dfeef508cb935e1a2637175bc87a3b090f5dea691ff6aa0516","src/x86/sse4_2.rs":"c59321aed8decdce4d0d8570cff46aed02e1a8265647ef7702e9b180fc581254","src/x86/ssse3.rs":"2290f0269bae316b8e0491495645ee38a9bd73525c8572759c1328341c3bdb4c"},"package":"7a94d14a2ae1f1f110937de5fb69e494372560181c7e1739a097fcc2cee37ba0"} >-\ No newline at end of file >-+{"files":{".travis.yml":"e2c720c3633b7671efce49147c62b12bcbf630d7c5d6fc65cd97620bfa4ddcea","Cargo.toml":"608aad04f17a524ee21048fa2ce9f656ae344e0473dd0e331dc954f0f9677c63","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"6d3a9431e65e69c73a8923e6517b889d17549b23db406b9ec027710d16af701f","README.md":"249294a9a5f63c64c0f7fe4a607060f43f3507dce2378067aa59d25fb3ae681d","benches/mandelbrot.rs":"051b5199e66bca6cf7774e9024915fd4e1349ab39726a10a14e06b60d65d87a4","benches/matrix.rs":"048a21dacdb62365e0105d00d2c8cd6bd2396ac81134f2bff7eb4f7d095fb735","examples/axpy.rs":"4307626045d64ec08361c97c9c72c5dc8d361bdc88f64453b97ac0212041a1b2","examples/convert.rs":"8e658fde050f8a0d8b84ad7570446b10fcf544afbd551b940ca340474f324840","examples/dot-product.rs":"6fe2e007c147af5353804173a593c5b9d57dbccec156e1da37e9e32537363f91","examples/fannkuch-redux-nosimd.rs":"7b2fbde35e8666929d14d67328471cb0483d038a5325232f8db148b30865312b","examples/fannkuch-redux.rs":"ea21fdbd2274488a62cc984acad6e0b65d52f24fb4ff63b7057a3a667e9c8aae","examples/mandelbrot.rs":"8b8fdca1edac50e5a33e0e0592bd41eb75114f31839ccd40d485c61a9a664380","examples/matrix-inverse.rs":"a378d20ef20c2119bb10a86de27c92fec2c2f77f374e6bfd36707c9825a5fe92","examples/nbody-nosimd.rs":"2c8e0a7feacd202fdd65eeceb6420d6e9f43340b81f20a8e532704a587a2796b","examples/nbody.rs":"a864311affab262024479d6348ff51af43d809e9ad332ec30ea4aacceaa2eae1","examples/ops.rs":"1316f915d0afcfa98fdc4077e965ccccf6b4b21c433cbe487ff0cdc60df3cd39","examples/spectral-norm-nosimd.rs":"ffc8512ecde779078ea467f38f423a0ea623c63da7078193f9dd370200773f79","examples/spectral-norm.rs":"edb09c9d477f83939098cfb77a27cc298bc7a0c8a8e29cece0cccae0d70d890e","src/aarch64/mod.rs":"83f52775364c98de0cecb7e1509530c18972e932469f5f1522aa24a735d0fa37","src/aarch64/neon.rs":"1fe769979e07d8e2bc3c78ce116e05d735860744efe097a894cc9421153257fb","src/arm/mod.rs":"dcdd90bc0b39abaf86a0c8946d442b16313563fbae1ff03248628275c74d8617","src/arm/neon.rs":"51cc509856200e80f8e4cc2c982586e6d1cef593ec4537e153dce0cfe31d3428","src/common.rs":"62f4e7e0fefb52ad190d0f2191bc435ac4deab3f2bc70dc427f2a7f9ccb7856e","src/lib.rs":"25f0b39c038fa85af858318135dfd87865be26c33bb4bd1438aec96a1e68d8b5","src/sixty_four.rs":"510a9e00189a61e4f0a5beb7052d5dee37fc8261f94a2af45ef10327e0f3b7df","src/v256.rs":"2e328e49034876d535e0627c7a62191da2b4fb156a657614bf531a5fc75b1385","src/x86/avx.rs":"c66140abefca634b48eae307c3ec8cf5a40f2279b10e246a7e2ac602a2a2bb28","src/x86/avx2.rs":"3bcb3f391ad5f16f0a6da0bc1301329beb478ad6265bd3b2c9c124fc2e6198e5","src/x86/mod.rs":"0acc5a5e2672e2a0fddc11065663be8b8fa2da87320ea291fa86ff8c2f33edf5","src/x86/sse2.rs":"5ceda75a401958a135fc9d851b22075314cdeed69fd483b6a7be4f11373f40da","src/x86/sse3.rs":"9bd01a4f08069ca4f445952e744d651efe887e3835b18872e757375f0d053bd2","src/x86/sse4_1.rs":"9ceb80dd70a7e7dfeef508cb935e1a2637175bc87a3b090f5dea691ff6aa0516","src/x86/sse4_2.rs":"c59321aed8decdce4d0d8570cff46aed02e1a8265647ef7702e9b180fc581254","src/x86/ssse3.rs":"2290f0269bae316b8e0491495645ee38a9bd73525c8572759c1328341c3bdb4c"},"package":"7a94d14a2ae1f1f110937de5fb69e494372560181c7e1739a097fcc2cee37ba0"} >-\ No newline at end of file >-diff --git third_party/rust/simd/src/x86/avx2.rs third_party/rust/simd/src/x86/avx2.rs >-index fa92e3b60786..e86a33d3b5bb 100644 >---- third_party/rust/simd/src/x86/avx2.rs >-+++ third_party/rust/simd/src/x86/avx2.rs >-@@ -42,7 +42,7 @@ extern "platform-intrinsic" { >- fn x86_mm256_packus_epi32(x: i32x8, y: i32x8) -> u16x16; >- fn x86_mm256_permutevar8x32_epi32(x: i32x8, y: i32x8) -> i32x8; >- fn x86_mm256_permutevar8x32_ps(x: f32x8, y: i32x8) -> f32x8; >-- fn x86_mm256_sad_epu8(x: u8x32, y: u8x32) -> u8x32; >-+ fn x86_mm256_sad_epu8(x: u8x32, y: u8x32) -> u64x4; >- fn x86_mm256_shuffle_epi8(x: i8x32, y: i8x32) -> i8x32; >- fn x86_mm256_sign_epi8(x: i8x32, y: i8x32) -> i8x32; >- fn x86_mm256_sign_epi16(x: i16x16, y: i16x16) -> i16x16; >diff --git a/www/firefox/files/patch-bug1437670 b/www/firefox/files/patch-bug1437670 >new file mode 100644 >index 000000000000..158366f7ca0a >--- /dev/null >+++ b/www/firefox/files/patch-bug1437670 >@@ -0,0 +1,11036 @@ >+diff --git media/webrtc/trunk/moz.build media/webrtc/trunk/moz.build >+index 0292981c2191..67a761d5a135 100644 >+--- media/webrtc/trunk/moz.build >++++ media/webrtc/trunk/moz.build >+@@ -96,7 +96,7 @@ if CONFIG["OS_TARGET"] == "WINNT": >+ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" >+ ] >+ >+-if CONFIG["OS_TARGET"] == "Linux": >++if CONFIG["OS_TARGET"] == "DragonFly": >+ >+ DIRS += [ >+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", >+@@ -105,7 +105,6 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", >+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", >+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn", >+- "/media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn", >+ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" >+ ] >+ >+@@ -122,6 +121,71 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" >+ ] >+ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DIRS += [ >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", >++ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" >++ ] >++ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DIRS += [ >++ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", >++ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn", >++ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" >++ ] >++ >++if CONFIG["OS_TARGET"] == "Linux": >++ >++ DIRS += [ >++ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", >++ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn", >++ "/media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn", >++ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DIRS += [ >++ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", >++ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn", >++ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DIRS += [ >++ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DIRS += [ >++ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn", >++ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn", >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn", >++ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android": >+ >+ DIRS += [ >+@@ -151,3 +215,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android": >+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn", >+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn" >+ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DIRS += [ >++ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", >++ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn" >++ ] >+diff --git media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build >+index 9f9b4e365084..ac0c9d5f246e 100644 >+--- media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build >++++ media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build >+@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -121,6 +165,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -132,4 +181,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ Library("audio_mixer_api_gn") >+diff --git media/webrtc/trunk/webrtc/api/call_api_gn/moz.build media/webrtc/trunk/webrtc/api/call_api_gn/moz.build >+index 516ef78c4911..e83c47210c06 100644 >+--- media/webrtc/trunk/webrtc/api/call_api_gn/moz.build >++++ media/webrtc/trunk/webrtc/api/call_api_gn/moz.build >+@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -121,6 +165,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -132,4 +181,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ Library("call_api_gn") >+diff --git media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build >+index 2c864e42a07f..4d249b2e5402 100644 >+--- media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build >++++ media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build >+@@ -61,6 +61,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -69,6 +83,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -102,6 +130,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -117,6 +161,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -128,4 +177,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ Library("transport_api_gn") >+diff --git media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build >+index 29bea6b3d128..81b605fa0d37 100644 >+--- media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build >++++ media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build >+@@ -71,6 +71,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -83,6 +97,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -120,6 +148,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -145,6 +189,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -166,4 +233,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("video_frame_api_gn") >+diff --git media/webrtc/trunk/webrtc/audio/audio_gn/moz.build media/webrtc/trunk/webrtc/audio/audio_gn/moz.build >+index 31bfe517ce43..c43284f7e032 100644 >+--- media/webrtc/trunk/webrtc/audio/audio_gn/moz.build >++++ media/webrtc/trunk/webrtc/audio/audio_gn/moz.build >+@@ -90,6 +90,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -105,6 +121,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -146,6 +178,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -171,6 +219,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -192,4 +263,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_gn") >+diff --git media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build >+index 9fd694319308..26259d834b26 100644 >+--- media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build >++++ media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build >+@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_frame_operations_gn") >+diff --git media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build >+index 78e13fc728b4..54277e5cf0a2 100644 >+--- media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build >++++ media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build >+@@ -61,6 +61,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -69,6 +83,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -102,6 +130,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -117,6 +161,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -128,4 +177,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ Library("gtest_prod_gn") >+diff --git media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build >+index 9d8984d7314e..63f7424ead1b 100644 >+--- media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build >++++ media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build >+@@ -107,6 +107,28 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/base/macutils.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/base/file_posix.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/base/file_posix.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -119,6 +141,28 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/base/file_posix.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/base/file_posix.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/base/file_posix.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -157,6 +201,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -182,6 +242,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -203,4 +286,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("rtc_base_approved_gn") >+diff --git media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build >+index 53f9ece07e2d..d4cf99fb0ca5 100644 >+--- media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build >++++ media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build >+@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("rtc_numerics_gn") >+diff --git media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build >+index 3d0babc48c28..11cd49ed3301 100644 >+--- media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build >++++ media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build >+@@ -86,6 +86,42 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/ipc/chromium/src/third_party/libevent/include/", >++ "/ipc/chromium/src/third_party/libevent/linux/" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc", >++ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/ipc/chromium/src/third_party/libevent/include/", >++ "/ipc/chromium/src/third_party/libevent/linux/" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc", >++ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -105,6 +141,42 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/ipc/chromium/src/third_party/libevent/include/", >++ "/ipc/chromium/src/third_party/libevent/linux/" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc", >++ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/ipc/chromium/src/third_party/libevent/include/", >++ "/ipc/chromium/src/third_party/libevent/linux/" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc", >++ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -142,6 +214,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -167,6 +255,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -188,4 +299,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("rtc_task_queue_gn") >+diff --git media/webrtc/trunk/webrtc/call/call_gn/moz.build media/webrtc/trunk/webrtc/call/call_gn/moz.build >+index 3f987c322ffd..303d67aa3930 100644 >+--- media/webrtc/trunk/webrtc/call/call_gn/moz.build >++++ media/webrtc/trunk/webrtc/call/call_gn/moz.build >+@@ -81,6 +81,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -96,6 +112,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -137,6 +169,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -162,6 +210,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -183,4 +254,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("call_gn") >+diff --git media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build >+index 9d353c04625b..7f28e1cd0dee 100644 >+--- media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build >++++ media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build >+@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -131,6 +175,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -152,4 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("call_interfaces_gn") >+diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build >+index fb9ac6ffa332..5d4f59b94099 100644 >+--- media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build >+@@ -114,6 +114,32 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c", >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c", >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c", >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c", >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -128,6 +154,32 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c", >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c", >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c", >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c", >++ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -167,6 +219,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -210,6 +278,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -249,4 +340,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("common_audio_c_gn") >+diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build >+index 706886b0238a..f5eea840f093 100644 >+--- media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build >++++ media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build >+@@ -90,6 +90,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -102,6 +116,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -139,6 +167,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -164,6 +208,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -185,4 +252,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("common_audio_gn") >+diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build >+index 468e0f4b6779..fea41c9ad880 100644 >+--- media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build >+@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] >+ COMPILE_FLAGS["STL"] = [] >+ AllowCompilerWarnings() >+ >+-DEFINES["ANDROID"] = True >+-DEFINES["ANDROID_NDK_VERSION"] = "r12b" >+ DEFINES["CHROMIUM_BUILD"] = True >+-DEFINES["DISABLE_NACL"] = True >+ DEFINES["EXPAT_RELATIVE_PATH"] = True >+-DEFINES["HAVE_SYS_UIO_H"] = True >+-DEFINES["NO_TCMALLOC"] = True >+-DEFINES["USE_OPENSSL_CERTS"] = "1" >+ DEFINES["V8_DEPRECATION_WARNINGS"] = True >+-DEFINES["WEBRTC_ANDROID"] = True >+-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True >+-DEFINES["WEBRTC_LINUX"] = True >+ DEFINES["WEBRTC_MOZILLA_BUILD"] = True >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["WEBRTC_RESTRICT_LOGGING"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+-DEFINES["__GNU_SOURCE"] = "1" >+ >+ FINAL_LIBRARY = "webrtc" >+ >+@@ -58,6 +48,25 @@ if CONFIG["MOZ_DEBUG"] == "1": >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+ DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" >+ >++if CONFIG["OS_TARGET"] == "Android": >++ >++ DEFINES["ANDROID"] = True >++ DEFINES["ANDROID_NDK_VERSION"] = "r12b" >++ DEFINES["DISABLE_NACL"] = True >++ DEFINES["HAVE_SYS_UIO_H"] = True >++ DEFINES["NO_TCMALLOC"] = True >++ DEFINES["USE_OPENSSL_CERTS"] = "1" >++ DEFINES["WEBRTC_ANDROID"] = True >++ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >++ DEFINES["WEBRTC_LINUX"] = True >++ DEFINES["__GNU_SOURCE"] = "1" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_BSD"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build >+index c35a5100983e..dcdd404efe35 100644 >+--- media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build >++++ media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build >+@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] >+ COMPILE_FLAGS["STL"] = [] >+ AllowCompilerWarnings() >+ >+-DEFINES["ANDROID"] = True >+-DEFINES["ANDROID_NDK_VERSION"] = "r12b" >+ DEFINES["CHROMIUM_BUILD"] = True >+-DEFINES["DISABLE_NACL"] = True >+ DEFINES["EXPAT_RELATIVE_PATH"] = True >+-DEFINES["HAVE_SYS_UIO_H"] = True >+-DEFINES["NO_TCMALLOC"] = True >+-DEFINES["USE_OPENSSL_CERTS"] = "1" >+ DEFINES["V8_DEPRECATION_WARNINGS"] = True >+-DEFINES["WEBRTC_ANDROID"] = True >+-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True >+-DEFINES["WEBRTC_LINUX"] = True >+ DEFINES["WEBRTC_MOZILLA_BUILD"] = True >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["WEBRTC_RESTRICT_LOGGING"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+-DEFINES["__GNU_SOURCE"] = "1" >+ >+ FINAL_LIBRARY = "webrtc" >+ >+@@ -57,6 +47,25 @@ if CONFIG["MOZ_DEBUG"] == "1": >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+ DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" >+ >++if CONFIG["OS_TARGET"] == "Android": >++ >++ DEFINES["ANDROID"] = True >++ DEFINES["ANDROID_NDK_VERSION"] = "r12b" >++ DEFINES["DISABLE_NACL"] = True >++ DEFINES["HAVE_SYS_UIO_H"] = True >++ DEFINES["NO_TCMALLOC"] = True >++ DEFINES["USE_OPENSSL_CERTS"] = "1" >++ DEFINES["WEBRTC_ANDROID"] = True >++ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >++ DEFINES["WEBRTC_LINUX"] = True >++ DEFINES["__GNU_SOURCE"] = "1" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_BSD"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build >+index b82e8740a0ab..5fa3c15bc163 100644 >+--- media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build >++++ media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build >+@@ -75,6 +75,28 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ CXXFLAGS += [ >+@@ -87,6 +109,29 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2", >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -120,6 +165,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+diff --git media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build >+index 237df9942375..3a7cf3ddabc7 100644 >+--- media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build >++++ media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build >+@@ -93,6 +93,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/common_video/corevideo_frame_buffer.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -106,6 +122,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -143,6 +175,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -168,6 +216,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -189,4 +260,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("common_video_gn") >+diff --git media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build >+index 477ff0ddc459..5ffb1744904b 100644 >+--- media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build >++++ media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build >+@@ -61,6 +61,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -69,6 +83,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -102,6 +130,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -117,6 +161,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -128,4 +177,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ Library("rtc_event_log_api_gn") >+diff --git media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build >+index 16d2861a0f2c..c87c2f914046 100644 >+--- media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build >++++ media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build >+@@ -75,6 +75,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -88,6 +104,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -125,6 +157,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -150,6 +198,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -171,4 +242,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("rtc_event_log_impl_gn") >+diff --git media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build >+index 46bdea513d72..e92a58f61921 100644 >+--- media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build >++++ media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build >+@@ -67,6 +67,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -75,6 +89,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -108,6 +136,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -133,6 +177,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -154,4 +221,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("mozilla_rtc_media_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build >+index 7b8b52a50144..848e05c7f8d9 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build >+@@ -92,6 +92,28 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -109,6 +131,28 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -150,6 +194,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -187,6 +247,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -220,4 +303,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_coding_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build >+index b0a1acb1952e..c14a19fc2474 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build >+@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -121,6 +165,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -132,4 +181,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >+ Library("audio_decoder_factory_interface_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build >+index 458c3695687a..9d7d81d2bc22 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build >+@@ -70,6 +70,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -78,6 +92,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -111,6 +139,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -136,6 +180,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -157,4 +224,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_decoder_interface_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build >+index 5e26fb762d85..2e9d4bf8cc8a 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build >+@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_encoder_interface_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build >+index 76e7d08f977f..7d2060a43eb7 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build >+@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_format_conversion_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build >+index e1e96c810fb8..0b5693d1ddac 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build >+@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -131,6 +175,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -152,4 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_format_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build >+index e32ac3d3f71e..f6bfffaa278c 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build >+@@ -81,6 +81,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -93,6 +107,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -130,6 +158,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -155,6 +199,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -176,4 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_network_adaptor_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build >+index b3587a35a860..d6b5fe9e72fc 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build >+@@ -80,6 +80,28 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -97,6 +119,28 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -138,6 +182,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -175,6 +235,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -208,4 +291,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("builtin_audio_decoder_factory_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build >+index ef17a4e46c28..b1f25580ddf6 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build >+@@ -74,6 +74,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -86,6 +100,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -123,6 +151,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -148,6 +192,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -169,4 +236,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("cng_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build >+index 8dcfed9b6292..39c49b423af0 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build >+@@ -66,6 +66,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -74,6 +88,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -107,6 +135,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -132,6 +176,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -153,4 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("g711_c_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build >+index cd01d13ff660..823f3c7750a7 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build >+@@ -71,6 +71,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -79,6 +93,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -112,6 +140,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -137,6 +181,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -158,4 +225,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("g711_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build >+index 86cb12c5d4f8..3a97192504b2 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build >+@@ -70,6 +70,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -78,6 +92,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -111,6 +139,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -136,6 +180,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -157,4 +224,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("g722_c_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build >+index 4f65ac0062e4..e53fc64410e5 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build >+@@ -71,6 +71,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -79,6 +93,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -112,6 +140,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -137,6 +181,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -158,4 +225,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("g722_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build >+index 2b80215e7978..53632d94843b 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build >+@@ -101,6 +101,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -114,6 +128,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -151,6 +179,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -176,6 +220,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -197,4 +264,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("isac_c_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build >+index be5aa83372c0..f7117f4358f3 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build >+@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("isac_common_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build >+index dd94b2d6b546..f20b32841934 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build >+@@ -110,6 +110,36 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -130,6 +160,36 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -175,6 +235,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -221,6 +297,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -263,4 +362,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("isac_fix_c_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build >+index f6ad5df072aa..e60e24ed4c69 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build >+@@ -75,6 +75,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -87,6 +101,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -124,6 +152,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -149,6 +193,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -170,4 +237,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("isac_fix_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build >+index 9af02ae6b976..83fa14ce6c6b 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build >+@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -85,6 +99,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -122,6 +150,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -147,6 +191,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -168,4 +235,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("isac_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build >+index 0d32b4ac0ecf..86360db061ad 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build >+@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] >+ COMPILE_FLAGS["STL"] = [] >+ AllowCompilerWarnings() >+ >+-DEFINES["ANDROID"] = True >+-DEFINES["ANDROID_NDK_VERSION"] = "r12b" >+ DEFINES["CHROMIUM_BUILD"] = True >+-DEFINES["DISABLE_NACL"] = True >+ DEFINES["EXPAT_RELATIVE_PATH"] = True >+-DEFINES["HAVE_SYS_UIO_H"] = True >+-DEFINES["NO_TCMALLOC"] = True >+-DEFINES["USE_OPENSSL_CERTS"] = "1" >+ DEFINES["V8_DEPRECATION_WARNINGS"] = True >+-DEFINES["WEBRTC_ANDROID"] = True >+-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True >+-DEFINES["WEBRTC_LINUX"] = True >+ DEFINES["WEBRTC_MOZILLA_BUILD"] = True >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["WEBRTC_RESTRICT_LOGGING"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+-DEFINES["__GNU_SOURCE"] = "1" >+ >+ FINAL_LIBRARY = "webrtc" >+ >+@@ -45,10 +35,6 @@ LOCAL_INCLUDES += [ >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/" >+ ] >+ >+-OS_LIBS += [ >+- "log" >+-] >+- >+ UNIFIED_SOURCES += [ >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding_neon.c", >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c", >+@@ -69,6 +55,29 @@ if CONFIG["MOZ_DEBUG"] == "1": >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+ DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" >+ >++if CONFIG["OS_TARGET"] == "Android": >++ >++ DEFINES["ANDROID"] = True >++ DEFINES["ANDROID_NDK_VERSION"] = "r12b" >++ DEFINES["DISABLE_NACL"] = True >++ DEFINES["HAVE_SYS_UIO_H"] = True >++ DEFINES["NO_TCMALLOC"] = True >++ DEFINES["USE_OPENSSL_CERTS"] = "1" >++ DEFINES["WEBRTC_ANDROID"] = True >++ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >++ DEFINES["WEBRTC_LINUX"] = True >++ DEFINES["__GNU_SOURCE"] = "1" >++ >++ OS_LIBS += [ >++ "log" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_BSD"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build >+index 2a2f7ed76fd3..3423d92fd759 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build >+@@ -123,6 +123,30 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_CODEC_ISAC"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_CODEC_ISAC"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -141,6 +165,30 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_CODEC_ISAC"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_CODEC_ISAC"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -183,6 +231,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -220,6 +284,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -253,4 +340,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("neteq_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build >+index cb3863c723ed..8dd7e1bbf07d 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build >+@@ -66,6 +66,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -74,6 +88,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -107,6 +135,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -132,6 +176,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -153,4 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("pcm16b_c_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build >+index ef378b0e5efb..475086d5abc7 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build >+@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -80,6 +94,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -113,6 +141,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -138,6 +182,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -159,4 +226,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("pcm16b_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build >+index 00c769c9d481..f2759b871e6a 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build >+@@ -81,6 +81,28 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -98,6 +120,28 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ LOCAL_INCLUDES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -139,6 +183,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -176,6 +236,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -209,4 +292,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("rent_a_codec_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build >+index 37eb99386bc1..f0b0c70f541d 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build >+@@ -70,6 +70,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -78,6 +92,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -111,6 +139,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -136,6 +180,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -157,4 +224,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("webrtc_opus_c_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build >+index 4fd97ed7d4d8..1e119b2fda85 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build >+@@ -74,6 +74,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -86,6 +100,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -123,6 +151,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -148,6 +192,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -169,4 +236,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("webrtc_opus_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build >+index ef967ae4d17a..6f82159980aa 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build >+@@ -73,6 +73,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -86,6 +100,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -123,6 +151,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -148,6 +192,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -169,4 +236,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_conference_mixer_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build >+index 6026ed7939c6..5ded7d30b670 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build >+@@ -120,6 +120,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["LINUX_PULSE"] = True >+@@ -150,6 +166,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/modules/audio_device/linux/pulseaudiosymboltable_linux.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -204,6 +236,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -229,6 +277,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -250,4 +321,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_device_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build >+index a214e68a4634..a11d9a416bf0 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build >+@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_frame_manipulator_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build >+index 7f164fdf0987..a9189fc17b90 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build >+@@ -70,6 +70,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -83,6 +97,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -120,6 +148,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -145,6 +189,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -166,4 +233,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_mixer_impl_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build >+index 0fd510657c14..529c07e1b56c 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build >+@@ -81,6 +81,25 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -98,6 +117,30 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -140,6 +183,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -182,6 +241,47 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -220,4 +320,45 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", >++ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_processing_c_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build >+index e3edf3cdf71a..ff5e99ac55ba 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build >+@@ -146,6 +146,21 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_NS_FLOAT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -160,6 +175,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_NS_FLOAT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_NS_FLOAT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -198,6 +229,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -227,6 +274,36 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ >+ DEFINES["WEBRTC_NS_FLOAT"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ DEFINES["WEBRTC_NS_FIXED"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["WEBRTC_NS_FLOAT"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_NS_FLOAT"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -252,4 +329,34 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ >+ DEFINES["WEBRTC_NS_FLOAT"] = True >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ DEFINES["WEBRTC_NS_FIXED"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["WEBRTC_NS_FLOAT"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_NS_FLOAT"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_processing_gn") >+diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build >+index 39b9d200a0f0..d602d2a62a33 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build >+@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] >+ COMPILE_FLAGS["STL"] = [] >+ AllowCompilerWarnings() >+ >+-DEFINES["ANDROID"] = True >+-DEFINES["ANDROID_NDK_VERSION"] = "r12b" >+ DEFINES["CHROMIUM_BUILD"] = True >+-DEFINES["DISABLE_NACL"] = True >+ DEFINES["EXPAT_RELATIVE_PATH"] = True >+-DEFINES["HAVE_SYS_UIO_H"] = True >+-DEFINES["NO_TCMALLOC"] = True >+-DEFINES["USE_OPENSSL_CERTS"] = "1" >+ DEFINES["V8_DEPRECATION_WARNINGS"] = True >+-DEFINES["WEBRTC_ANDROID"] = True >+-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True >+-DEFINES["WEBRTC_LINUX"] = True >+ DEFINES["WEBRTC_MOZILLA_BUILD"] = True >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["WEBRTC_RESTRICT_LOGGING"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+-DEFINES["__GNU_SOURCE"] = "1" >+ >+ FINAL_LIBRARY = "webrtc" >+ >+@@ -40,10 +30,6 @@ LOCAL_INCLUDES += [ >+ "/media/webrtc/trunk/" >+ ] >+ >+-OS_LIBS += [ >+- "log" >+-] >+- >+ UNIFIED_SOURCES += [ >+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_neon.c" >+ ] >+@@ -60,6 +46,29 @@ if CONFIG["MOZ_DEBUG"] == "1": >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+ DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" >+ >++if CONFIG["OS_TARGET"] == "Android": >++ >++ DEFINES["ANDROID"] = True >++ DEFINES["ANDROID_NDK_VERSION"] = "r12b" >++ DEFINES["DISABLE_NACL"] = True >++ DEFINES["HAVE_SYS_UIO_H"] = True >++ DEFINES["NO_TCMALLOC"] = True >++ DEFINES["USE_OPENSSL_CERTS"] = "1" >++ DEFINES["WEBRTC_ANDROID"] = True >++ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >++ DEFINES["WEBRTC_LINUX"] = True >++ DEFINES["__GNU_SOURCE"] = "1" >++ >++ OS_LIBS += [ >++ "log" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_BSD"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build >+index 4a1c0e0d2273..40fa6f57e04e 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build >+@@ -10,26 +10,16 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] >+ COMPILE_FLAGS["STL"] = [] >+ AllowCompilerWarnings() >+ >+-DEFINES["ANDROID"] = True >+-DEFINES["ANDROID_NDK_VERSION"] = "r12b" >+ DEFINES["CHROMIUM_BUILD"] = True >+-DEFINES["DISABLE_NACL"] = True >+ DEFINES["EXPAT_RELATIVE_PATH"] = True >+-DEFINES["HAVE_SYS_UIO_H"] = True >+-DEFINES["NO_TCMALLOC"] = True >+-DEFINES["USE_OPENSSL_CERTS"] = "1" >+ DEFINES["V8_DEPRECATION_WARNINGS"] = True >+-DEFINES["WEBRTC_ANDROID"] = True >+-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+ DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True >+-DEFINES["WEBRTC_LINUX"] = True >+ DEFINES["WEBRTC_MOZILLA_BUILD"] = True >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["WEBRTC_RESTRICT_LOGGING"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+-DEFINES["__GNU_SOURCE"] = "1" >+ >+ FINAL_LIBRARY = "webrtc" >+ >+@@ -44,10 +34,6 @@ LOCAL_INCLUDES += [ >+ "/media/webrtc/trunk/webrtc/common_audio/vad/include/" >+ ] >+ >+-OS_LIBS += [ >+- "log" >+-] >+- >+ UNIFIED_SOURCES += [ >+ "/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.cc", >+ "/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.cc", >+@@ -66,6 +52,29 @@ if CONFIG["MOZ_DEBUG"] == "1": >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+ DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" >+ >++if CONFIG["OS_TARGET"] == "Android": >++ >++ DEFINES["ANDROID"] = True >++ DEFINES["ANDROID_NDK_VERSION"] = "r12b" >++ DEFINES["DISABLE_NACL"] = True >++ DEFINES["HAVE_SYS_UIO_H"] = True >++ DEFINES["NO_TCMALLOC"] = True >++ DEFINES["USE_OPENSSL_CERTS"] = "1" >++ DEFINES["WEBRTC_ANDROID"] = True >++ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >++ DEFINES["WEBRTC_LINUX"] = True >++ DEFINES["__GNU_SOURCE"] = "1" >++ >++ OS_LIBS += [ >++ "log" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_BSD"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build >+index fe7edf21124f..a89cdfbd0833 100644 >+--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build >+@@ -76,6 +76,28 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ CXXFLAGS += [ >+@@ -88,6 +110,29 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2", >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -121,6 +166,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+diff --git media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build >+index 353de9772938..5aadfd7e43b6 100644 >+--- media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build >+@@ -76,6 +76,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -89,6 +105,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -126,6 +158,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -151,6 +199,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -172,4 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("bitrate_controller_gn") >+diff --git media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build >+index c8e95f77d856..8c394bbe6907 100644 >+--- media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build >+@@ -85,6 +85,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -99,6 +115,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -136,6 +168,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -161,6 +209,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -182,4 +253,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("congestion_controller_gn") >+diff --git media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build >+index dd67efb43394..c572170b6bc4 100644 >+--- media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build >+@@ -54,6 +54,28 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ CXXFLAGS += [ >+@@ -66,6 +88,29 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2", >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -95,6 +140,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+diff --git media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build >+index d72c4a24a555..01ba0b15f58f 100644 >+--- media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build >+@@ -81,6 +81,70 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_mac.mm" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ OS_LIBS += [ >++ "X11", >++ "X11-xcb", >++ "xcb", >++ "Xcomposite", >++ "Xcursor", >++ "Xdamage", >++ "Xext", >++ "Xfixes", >++ "Xi", >++ "Xrender" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ OS_LIBS += [ >++ "X11", >++ "X11-xcb", >++ "xcb", >++ "Xcomposite", >++ "Xcursor", >++ "Xdamage", >++ "Xext", >++ "Xfixes", >++ "Xi", >++ "Xrender" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -115,6 +179,70 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ OS_LIBS += [ >++ "X11", >++ "X11-xcb", >++ "xcb", >++ "Xcomposite", >++ "Xcursor", >++ "Xdamage", >++ "Xext", >++ "Xfixes", >++ "Xi", >++ "Xrender" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ OS_LIBS += [ >++ "X11", >++ "X11-xcb", >++ "xcb", >++ "Xcomposite", >++ "Xcursor", >++ "Xdamage", >++ "Xext", >++ "Xfixes", >++ "Xi", >++ "Xrender" >++ ] >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc", >++ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -179,8 +307,70 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("desktop_capture_gn") >+diff --git media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build >+index 94a38d140a50..9833d58b7912 100644 >+--- media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build >+@@ -54,6 +54,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -62,6 +76,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -91,8 +119,70 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("primitives_gn") >+diff --git media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build >+index c70918aac75f..a5d5b72590d5 100644 >+--- media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build >+@@ -73,6 +73,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -85,6 +99,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -122,6 +150,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -147,6 +191,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -168,4 +235,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("media_file_gn") >+diff --git media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build >+index 9af6ee9cf1d3..018b0aa93770 100644 >+--- media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build >+@@ -77,6 +77,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -90,6 +106,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -127,6 +159,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -152,6 +200,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -173,4 +244,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("pacing_gn") >+diff --git media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build >+index 723b4c2223cb..3e085e54c5f1 100644 >+--- media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build >+@@ -81,6 +81,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -93,6 +107,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -130,6 +158,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -155,6 +199,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -176,4 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("remote_bitrate_estimator_gn") >+diff --git media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build >+index 7b8dcb4c2707..0cc6b4c46493 100644 >+--- media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build >+@@ -147,6 +147,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -160,6 +176,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -197,6 +229,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -222,6 +270,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -243,4 +314,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("rtp_rtcp_gn") >+diff --git media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build >+index 08a7e1fc9c6c..bc04455ccaf3 100644 >+--- media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build >+@@ -80,6 +80,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -94,6 +110,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -131,6 +163,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -156,6 +204,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -177,4 +248,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("utility_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build >+index a901d9c822aa..00460b2c29b1 100644 >+--- media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build >+@@ -91,6 +91,32 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/modules/video_capture/mac/video_capture_mac.mm" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc", >++ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc", >++ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -110,6 +136,32 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc", >++ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc", >++ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -165,6 +217,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -190,6 +258,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -211,4 +302,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("video_capture_internal_impl_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build >+index 15e9bea6a7c7..17d66d50a1c9 100644 >+--- media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build >+@@ -78,6 +78,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -92,6 +108,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -129,6 +161,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -154,6 +202,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -175,4 +246,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("video_capture_module_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build >+index 303d07665a24..b10798ed3878 100644 >+--- media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build >+@@ -106,6 +106,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -120,6 +136,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -157,6 +189,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -182,6 +230,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -203,4 +274,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("video_coding_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build >+index 6614266d7654..38ed790ffd0e 100644 >+--- media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build >+@@ -83,6 +83,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -96,6 +112,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -133,6 +165,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -158,6 +206,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -179,4 +250,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("video_coding_utility_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build >+index 09b1bfe37d70..b47a2fcc234d 100644 >+--- media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build >+@@ -74,6 +74,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -87,6 +103,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -124,6 +156,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -149,6 +197,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -170,4 +241,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("webrtc_h264_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build >+index d4f207e3e2ac..d66c46e99947 100644 >+--- media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build >+@@ -76,6 +76,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -89,6 +105,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -126,6 +158,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -151,6 +199,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -172,4 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("webrtc_i420_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build >+index c58da7783bed..339b18f51139 100644 >+--- media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build >+@@ -82,6 +82,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -95,6 +111,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -132,6 +164,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -157,6 +205,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -178,4 +249,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("webrtc_vp8_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build >+index c11cca092da4..1da9d808ceb4 100644 >+--- media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build >+@@ -78,6 +78,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -91,6 +107,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -128,6 +160,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -153,6 +201,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -174,4 +245,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("webrtc_vp9_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build >+index 6e662cae7e7e..ee570616ba4e 100644 >+--- media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build >+@@ -84,6 +84,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -98,6 +114,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -135,6 +167,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -160,6 +208,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -181,4 +252,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("video_processing_gn") >+diff --git media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build >+index 445650899304..fae947a2e8ec 100644 >+--- media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build >+@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] >+ COMPILE_FLAGS["STL"] = [] >+ AllowCompilerWarnings() >+ >+-DEFINES["ANDROID"] = True >+-DEFINES["ANDROID_NDK_VERSION"] = "r12b" >+ DEFINES["CHROMIUM_BUILD"] = True >+-DEFINES["DISABLE_NACL"] = True >+ DEFINES["EXPAT_RELATIVE_PATH"] = True >+-DEFINES["HAVE_SYS_UIO_H"] = True >+-DEFINES["NO_TCMALLOC"] = True >+-DEFINES["USE_OPENSSL_CERTS"] = "1" >+ DEFINES["V8_DEPRECATION_WARNINGS"] = True >+-DEFINES["WEBRTC_ANDROID"] = True >+-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True >+-DEFINES["WEBRTC_LINUX"] = True >+ DEFINES["WEBRTC_MOZILLA_BUILD"] = True >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["WEBRTC_RESTRICT_LOGGING"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+-DEFINES["__GNU_SOURCE"] = "1" >+ >+ FINAL_LIBRARY = "webrtc" >+ >+@@ -56,6 +46,25 @@ if CONFIG["MOZ_DEBUG"] == "1": >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+ DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" >+ >++if CONFIG["OS_TARGET"] == "Android": >++ >++ DEFINES["ANDROID"] = True >++ DEFINES["ANDROID_NDK_VERSION"] = "r12b" >++ DEFINES["DISABLE_NACL"] = True >++ DEFINES["HAVE_SYS_UIO_H"] = True >++ DEFINES["NO_TCMALLOC"] = True >++ DEFINES["USE_OPENSSL_CERTS"] = "1" >++ DEFINES["WEBRTC_ANDROID"] = True >++ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >++ DEFINES["WEBRTC_LINUX"] = True >++ DEFINES["__GNU_SOURCE"] = "1" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_BSD"] = True >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+diff --git media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build >+index 9815b7305a45..9f7e2024e602 100644 >+--- media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build >++++ media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build >+@@ -78,6 +78,28 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ CXXFLAGS += [ >+@@ -94,6 +116,29 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2", >++ "-msse2" >++ ] >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -131,6 +176,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+diff --git media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build >+index 00d248dfcf68..700daf4ecd88 100644 >+--- media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build >++++ media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build >+@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -131,6 +175,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -152,4 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("field_trial_default_gn") >+diff --git media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build >+index 8550ddf940ba..14245f797eaa 100644 >+--- media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build >++++ media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build >+@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -131,6 +175,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -152,4 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("metrics_default_gn") >+diff --git media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build >+index c69215b4e91e..61bbdd44c60b 100644 >+--- media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build >++++ media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build >+@@ -103,6 +103,36 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["WEBRTC_THREAD_RR"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["WEBRTC_THREAD_RR"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -123,6 +153,36 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["WEBRTC_THREAD_RR"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["WEBRTC_THREAD_RR"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ UNIFIED_SOURCES += [ >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc", >++ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -169,6 +229,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -194,6 +270,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -215,4 +314,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("system_wrappers_gn") >+diff --git media/webrtc/trunk/webrtc/video/video_gn/moz.build media/webrtc/trunk/webrtc/video/video_gn/moz.build >+index 87f39409c276..4632948283d5 100644 >+--- media/webrtc/trunk/webrtc/video/video_gn/moz.build >++++ media/webrtc/trunk/webrtc/video/video_gn/moz.build >+@@ -104,6 +104,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -119,6 +135,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -160,6 +192,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -185,6 +233,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -206,4 +277,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("video_gn") >+diff --git media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build >+index 48331e196f20..d135f0fcc9dc 100644 >+--- media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build >++++ media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build >+@@ -50,6 +50,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -58,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -87,8 +115,70 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("video_engine_gn") >+diff --git media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build >+index 81ede819424b..30c581867870 100644 >+--- media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build >++++ media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build >+@@ -71,6 +71,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -84,6 +98,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -121,6 +149,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -146,6 +190,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -167,4 +234,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("audio_coder_gn") >+diff --git media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build >+index df9a45d29ab1..ce08220befb5 100644 >+--- media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build >++++ media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build >+@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -85,6 +99,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -122,6 +150,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -147,6 +191,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -168,4 +235,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("file_player_gn") >+diff --git media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build >+index a5c44363240a..8c9fdf6bf428 100644 >+--- media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build >++++ media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build >+@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -85,6 +99,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -122,6 +150,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -147,6 +191,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -168,4 +235,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("file_recorder_gn") >+diff --git media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build >+index 1e7f16de23f6..fc42a835670d 100644 >+--- media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build >++++ media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build >+@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -84,6 +98,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -121,6 +149,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -146,6 +190,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -167,4 +234,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("level_indicator_gn") >+diff --git media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build >+index f56d8f9ec837..ad53d284e41d 100644 >+--- media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build >++++ media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build >+@@ -109,6 +109,22 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework CoreVideo" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -124,6 +140,22 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "rt" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -166,6 +198,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -191,6 +239,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -212,4 +283,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("voice_engine_gn") >+diff --git media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build >+index d2edfc09f5bc..3e0bfc943f3c 100644 >+--- media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build >++++ media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build >+@@ -66,6 +66,20 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -74,6 +88,20 @@ if CONFIG["OS_TARGET"] == "Linux": >+ DEFINES["WEBRTC_POSIX"] = True >+ DEFINES["_FILE_OFFSET_BITS"] = "64" >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -107,6 +135,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -132,6 +176,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -153,4 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("webrtc_common_gn") >+diff --git media/webrtc/trunk/webrtc/webrtc_gn/moz.build media/webrtc/trunk/webrtc/webrtc_gn/moz.build >+index 4e5bca5fc11a..59bc60117eb6 100644 >+--- media/webrtc/trunk/webrtc/webrtc_gn/moz.build >++++ media/webrtc/trunk/webrtc/webrtc_gn/moz.build >+@@ -96,6 +96,48 @@ if CONFIG["OS_TARGET"] == "Darwin": >+ "-framework OpenGL" >+ ] >+ >++if CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ OS_LIBS += [ >++ "X11", >++ "X11-xcb", >++ "xcb", >++ "Xcomposite", >++ "Xcursor", >++ "Xdamage", >++ "Xext", >++ "Xfixes", >++ "Xi", >++ "Xrender" >++ ] >++ >++if CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ OS_LIBS += [ >++ "X11", >++ "X11-xcb", >++ "xcb", >++ "Xcomposite", >++ "Xcursor", >++ "Xdamage", >++ "Xext", >++ "Xfixes", >++ "Xi", >++ "Xrender" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "Linux": >+ >+ DEFINES["USE_NSS_CERTS"] = "1" >+@@ -121,6 +163,48 @@ if CONFIG["OS_TARGET"] == "Linux": >+ "Xrender" >+ ] >+ >++if CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ OS_LIBS += [ >++ "X11", >++ "X11-xcb", >++ "xcb", >++ "Xcomposite", >++ "Xcursor", >++ "Xdamage", >++ "Xext", >++ "Xfixes", >++ "Xi", >++ "Xrender" >++ ] >++ >++if CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["USE_X11"] = "1" >++ DEFINES["WEBRTC_BSD"] = True >++ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True >++ DEFINES["WEBRTC_POSIX"] = True >++ DEFINES["_FILE_OFFSET_BITS"] = "64" >++ >++ OS_LIBS += [ >++ "X11", >++ "X11-xcb", >++ "xcb", >++ "Xcomposite", >++ "Xcursor", >++ "Xdamage", >++ "Xext", >++ "Xfixes", >++ "Xi", >++ "Xrender" >++ ] >++ >+ if CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+@@ -165,6 +249,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": >+ >+ DEFINES["_FORTIFY_SOURCE"] = "2" >+ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >++if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ DEFINES["_FORTIFY_SOURCE"] = "2" >++ >+ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": >+ >+ DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" >+@@ -190,6 +290,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+@@ -211,4 +334,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI >+ "-msse2" >+ ] >+ >++if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ DEFINES["WEBRTC_ARCH_ARM64"] = True >++ DEFINES["WEBRTC_HAS_NEON"] = True >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >++if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": >++ >++ CXXFLAGS += [ >++ "-msse2" >++ ] >++ >+ Library("webrtc_gn") >diff --git a/www/firefox/files/patch-bug1442791 b/www/firefox/files/patch-bug1442791 >new file mode 100644 >index 000000000000..fe097d8375d2 >--- /dev/null >+++ b/www/firefox/files/patch-bug1442791 >@@ -0,0 +1,33 @@ >+Build Linux version of GetExecutablePathImpl() on other Unix systems >+ >+ANGLE system_utils* are unused in Gecko. >+https://searchfox.org/mozilla-central/search?regexp=true&q=\bGetExecutable%28Path%7CDirectory%29\B >+ >+diff --git gfx/angle/targets/angle_common/moz.build gfx/angle/targets/angle_common/moz.build >+index bd4b743ec0dd..3c0dbfae491a 100644 >+--- gfx/angle/targets/angle_common/moz.build >++++ gfx/angle/targets/angle_common/moz.build >+@@ -118,17 +118,17 @@ SOURCES += [ >+ '../../checkout/src/common/uniform_type_info_autogen.cpp', >+ '../../checkout/src/common/utilities.cpp', >+ ] >+-if CONFIG['OS_ARCH'] == 'Darwin': >++if CONFIG['OS_ARCH'] == 'WINNT': >+ SOURCES += [ >+- '../../checkout/src/common/system_utils_mac.cpp', >++ '../../checkout/src/common/system_utils_win.cpp', >+ ] >+-if CONFIG['OS_ARCH'] == 'Linux': >++elif CONFIG['OS_ARCH'] == 'Darwin': >+ SOURCES += [ >+- '../../checkout/src/common/system_utils_linux.cpp', >++ '../../checkout/src/common/system_utils_mac.cpp', >+ ] >+-if CONFIG['OS_ARCH'] == 'WINNT': >++else: # Android, Linux, BSDs, etc. >+ SOURCES += [ >+- '../../checkout/src/common/system_utils_win.cpp', >++ '../../checkout/src/common/system_utils_linux.cpp', >+ ] >+ # >+ #LDFLAGS += [ >diff --git a/www/firefox/files/patch-bug1444074 b/www/firefox/files/patch-bug1444074 >deleted file mode 100644 >index bdb45963a40c..000000000000 >--- a/www/firefox/files/patch-bug1444074 >+++ /dev/null >@@ -1,34 +0,0 @@ >-Enable full-duplex by default for all platforms >- >-diff --git modules/libpref/init/all.js modules/libpref/init/all.js >-index a152e4944e95..322d009da739 100644 >---- modules/libpref/init/all.js >-+++ modules/libpref/init/all.js >-@@ -557,25 +557,18 @@ pref("media.getusermedia.agc", 3); // kAgcAdaptiveDigital >- // capture_delay: Adjustments for OS-specific input delay (lower bound) >- // playout_delay: Adjustments for OS-specific AudioStream+cubeb+output delay (lower bound) >- // full_duplex: enable cubeb full-duplex capture/playback >-+pref("media.navigator.audio.full_duplex", true); >- #if defined(XP_MACOSX) >- pref("media.peerconnection.capture_delay", 50); >--pref("media.navigator.audio.full_duplex", true); >- #elif defined(XP_WIN) >- pref("media.peerconnection.capture_delay", 50); >--pref("media.navigator.audio.full_duplex", true); >- #elif defined(ANDROID) >- pref("media.peerconnection.capture_delay", 100); >--pref("media.navigator.audio.full_duplex", true); >- pref("media.navigator.hardware.vp8_encode.acceleration_enabled", true); >- pref("media.navigator.hardware.vp8_encode.acceleration_remote_enabled", true); >- pref("media.navigator.hardware.vp8_decode.acceleration_enabled", false); >--#elif defined(XP_LINUX) || defined(MOZ_SNDIO) >--pref("media.peerconnection.capture_delay", 70); >--pref("media.navigator.audio.full_duplex", true); >- #else >--// *BSD, others - merely a guess for now >--pref("media.peerconnection.capture_delay", 50); >--pref("media.navigator.audio.full_duplex", false); >-+pref("media.peerconnection.capture_delay", 70); >- #endif >- // Use MediaDataDecoder API for WebRTC, this includes hardware acceleration for >- // decoding. >diff --git a/www/firefox/files/patch-bug1444083 b/www/firefox/files/patch-bug1444083 >deleted file mode 100644 >index 9163fe84acb6..000000000000 >--- a/www/firefox/files/patch-bug1444083 >+++ /dev/null >@@ -1,17 +0,0 @@ >-Disable custom styling for <select> and <option> on Tier3 as well >- >-diff --git modules/libpref/init/all.js modules/libpref/init/all.js >-index 322d009da739..06e2fd7f664a 100644 >---- modules/libpref/init/all.js >-+++ modules/libpref/init/all.js >-@@ -1359,8 +1359,8 @@ pref("dom.forms.autocomplete.formautofill", false); >- // Enable search in <select> dropdowns (more than 40 options) >- pref("dom.forms.selectSearch", false); >- // Allow for webpages to provide custom styling for <select> >--// popups. Disabled on Linux due to bug 1338283. >--#ifdef XP_LINUX >-+// popups. Disabled on GTK due to bug 1338283. >-+#ifdef MOZ_WIDGET_GTK >- pref("dom.forms.select.customstyling", false); >- #else >- pref("dom.forms.select.customstyling", true); >diff --git a/www/firefox/files/patch-bug826985 b/www/firefox/files/patch-bug826985 >deleted file mode 100644 >index 69a51707c051..000000000000 >--- a/www/firefox/files/patch-bug826985 >+++ /dev/null >@@ -1,171 +0,0 @@ >-commit 8024d93 >-Author: Henrik Gulbrandsen <henrik@gulbra.net> >-Date: Fri Jan 4 13:49:22 2013 +0100 >- >- Bug 826985 - Support more video formats for WebRTC via libv4l2 on Linux. >---- >- config/system-headers | 1 + >- old-configure.in | 7 +++++++ >- media/webrtc/signaling/test/Makefile.in | 1 + >- .../modules/video_capture/linux/device_info_linux.cc | 17 +++++++++++++++++ >- .../modules/video_capture/linux/video_capture_linux.cc | 16 +++++++++++++++- >- .../webrtc/modules/video_capture/video_capture.gypi | 11 +++++++++++ >- toolkit/library/Makefile.in | 1 + >- 6 files changed, 52 insertions(+), 1 deletion(-) >- >-diff --git config/system-headers.mozbuild config/system-headers.mozbuild >-index e02d381a12e9..7620b4d00623 100644 >---- config/system-headers.mozbuild >-+++ config/system-headers.mozbuild >-@@ -428,6 +428,7 @@ system_headers = [ >- 'libgnomeui/gnome-icon-theme.h', >- 'libgnomeui/gnome-ui-init.h', >- 'libutil.h', >-+ 'libv4l2.h', >- 'limits.h', >- 'link.h', >- 'linux/ioprio.h', >-diff --git old-configure.in configure.in >-index 55e4cd1..76567b3 100644 >---- old-configure.in >-+++ old-configure.in >-@@ -2558,6 +2558,9 @@ if test -n "$MOZ_WEBRTC"; then >- if test -n "$MOZ_X11"; then >- MOZ_WEBRTC_X11_LIBS="-lXext -lXdamage -lXfixes -lXcomposite" >- fi >-+ >-+ dnl with libv4l2 we can support more cameras >-+ PKG_CHECK_MODULES(MOZ_LIBV4L2, libv4l2) >- else >- MOZ_SYNTH_PICO= >- fi >-diff --git build/gyp.mozbuild build/gyp.mozbuild >-index b483cd1..f1dd1f0 100644 >---- build/gyp.mozbuild >-+++ build/gyp.mozbuild >-@@ -11,6 +11,7 @@ gyp_vars = { >- 'have_ethtool_cmd_speed_hi': 1 if CONFIG['MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI'] else 0, >- 'include_alsa_audio': 1 if CONFIG['MOZ_ALSA'] else 0, >- 'include_pulse_audio': 1 if CONFIG['MOZ_PULSEAUDIO'] else 0, >-+ 'use_libv4l2': 1 if CONFIG['MOZ_LIBV4L2_LIBS'] else 0, >- # basic stuff for everything >- 'include_internal_video_render': 0, >- 'clang_use_chrome_plugins': 0, >-diff --git media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc >-index 239a292..bab496c 100644 >---- media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc >-+++ media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc >-@@ -25,6 +25,9 @@ >- #else >- #include <linux/videodev2.h> >- #endif >-+#ifdef HAVE_LIBV4L2 >-+#include <libv4l2.h> >-+#endif >- >- #include "webrtc/system_wrappers/interface/ref_count.h" >- #include "webrtc/system_wrappers/interface/trace.h" >-@@ -34,6 +37,15 @@ >- #define BUF_LEN ( 1024 * ( EVENT_SIZE + 16 ) ) >- #endif >- >-+#ifdef HAVE_LIBV4L2 >-+#define open v4l2_open >-+#define close v4l2_close >-+#define dup v4l2_dup >-+#define ioctl v4l2_ioctl >-+#define mmap v4l2_mmap >-+#define munmap v4l2_munmap >-+#endif >-+ >- namespace webrtc >- { >- namespace videocapturemodule >-@@ -274,6 +286,11 @@ int32_t DeviceInfoLinux::GetDeviceName( >- memset(deviceNameUTF8, 0, deviceNameLength); >- memcpy(cameraName, cap.card, sizeof(cap.card)); >- >-+ if (cameraName[0] == '\0') >-+ { >-+ sprintf(cameraName, "Camera at /dev/video%d", deviceNumber); >-+ } >-+ >- if (deviceNameLength >= strlen(cameraName)) >- { >- memcpy(deviceNameUTF8, cameraName, strlen(cameraName)); >-diff --git media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc >-index 12df1b3..e9863ba 100644 >---- media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc >-+++ media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc >-@@ -25,6 +25,9 @@ >- #else >- #include <linux/videodev2.h> >- #endif >-+#ifdef HAVE_LIBV4L2 >-+#include <libv4l2.h> >-+#endif >- >- #include <new> >- >-@@ -32,6 +35,15 @@ >- #include "webrtc/modules/video_capture/linux/video_capture_linux.h" >- #include "webrtc/system_wrappers/include/critical_section_wrapper.h" >- #include "webrtc/system_wrappers/include/trace.h" >-+ >-+#ifdef HAVE_LIBV4L2 >-+#define open v4l2_open >-+#define close v4l2_close >-+#define dup v4l2_dup >-+#define ioctl v4l2_ioctl >-+#define mmap v4l2_mmap >-+#define munmap v4l2_munmap >-+#endif >- >- namespace webrtc { >- namespace videocapturemodule { >-diff --git media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi >-index d46b5aa..e452223 100644 >---- media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi >-+++ media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi >-@@ -7,6 +7,9 @@ >- # be found in the AUTHORS file in the root of the source tree. >- >- { >-+ 'variables': { >-+ 'use_libv4l2%': 0, >-+ }, >- 'targets': [ >- { >- 'target_name': 'video_capture_module', >-@@ -76,6 +76,19 @@ >- 'linux/video_capture_linux.cc', >- 'linux/video_capture_linux.h', >- ], >-+ 'conditions': [ >-+ ['use_libv4l2==1', { >-+ 'defines': [ >-+ 'HAVE_LIBV4L2', >-+ ], >-+ 'cflags_mozilla': [ >-+ '$(MOZ_LIBV4L2_CFLAGS)', >-+ ], >-+ 'libraries': [ >-+ '-lv4l2', >-+ ], >-+ }], >-+ ], >- }], >- ['OS=="mac"', { >- 'sources': [ >-diff --git toolkit/library/moz.build toolkit/library/moz.build >-index 9c16ffa..1db3794 100644 >---- toolkit/library/moz.build >-+++ toolkit/library/moz.build >-@@ -163,6 +163,7 @@ if CONFIG['OS_ARCH'] == 'Linux' and CONF >- ] >- >- OS_LIBS += CONFIG['MOZ_CAIRO_OSLIBS'] >-+OS_LIBS += CONFIG['MOZ_LIBV4L2_LIBS'] >- OS_LIBS += CONFIG['MOZ_WEBRTC_X11_LIBS'] >- OS_LIBS += CONFIG['MOZ_APP_EXTRA_LIBS'] >- >diff --git a/www/firefox/files/patch-z-bug517422 b/www/firefox/files/patch-z-bug517422 >index a3ce1fe5b450..db617d716b25 100644 >--- a/www/firefox/files/patch-z-bug517422 >+++ b/www/firefox/files/patch-z-bug517422 >@@ -160,7 +160,7 @@ diff --git dom/media/moz.build dom/media/moz.build > index 86b051c58d33..fb6186dce78b 100644 > --- dom/media/moz.build > +++ dom/media/moz.build >-@@ -318,6 +318,21 @@ if CONFIG['MOZ_WEBRTC']: >+@@ -326,6 +326,21 @@ if CONFIG['MOZ_WEBRTC']: > > DEFINES['MOZILLA_INTERNAL_API'] = True > >@@ -179,16 +179,16 @@ index 86b051c58d33..fb6186dce78b 100644 > +if CONFIG['MOZ_SYSTEM_SOUNDTOUCH']: > + CXXFLAGS += CONFIG['MOZ_SOUNDTOUCH_CFLAGS'] > + >- if CONFIG['MOZ_ANDROID_HLS_SUPPORT'] and CONFIG['MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE']: >+ if CONFIG['MOZ_ANDROID_HLS_SUPPORT']: > DEFINES['MOZ_ANDROID_HLS_SUPPORT'] = True > > diff --git dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp > index 078f6ea5ef60..c600db067539 100644 > --- dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp > +++ dom/media/platforms/ffmpeg/ffvpx/FFVPXRuntimeLinker.cpp >-@@ -11,9 +11,13 @@ >- #include "prmem.h" >- #include "prlink.h" >+@@ -15,9 +15,13 @@ >+ #include <windows.h> >+ #endif > > +#ifdef MOZ_SYSTEM_SOUNDTOUCH > +#include "nsXPCOMPrivate.h" // for XUL_DLL >@@ -200,7 +200,7 @@ index 078f6ea5ef60..c600db067539 100644 > > namespace mozilla { > >-@@ -54,6 +58,12 @@ FFVPXRuntimeLinker::Init() >+@@ -64,6 +68,12 @@ FFVPXRuntimeLinker::Init() > > sLinkStatus = LinkStatus_FAILED; > >@@ -212,13 +212,13 @@ index 078f6ea5ef60..c600db067539 100644 > +#else > // We retrieve the path of the lgpllibs library as this is where mozavcodec > // and mozavutil libs are located. >- char* lgpllibsname = PR_GetLibraryName(nullptr, "lgpllibs"); >-@@ -64,6 +74,7 @@ FFVPXRuntimeLinker::Init() >- PR_GetLibraryFilePathname(lgpllibsname, >- (PRFuncPtr)&soundtouch::SoundTouch::getVersionId); >- PR_FreeLibraryName(lgpllibsname); >+ PathString lgpllibsname = GetLibraryName(nullptr, "lgpllibs"); >+@@ -73,6 +83,7 @@ FFVPXRuntimeLinker::Init() >+ PathString path = >+ GetLibraryFilePathname(lgpllibsname.get(), >+ (PRFuncPtr)&soundtouch::SoundTouch::getVersionId); > +#endif >- if (!path) { >+ if (path.IsEmpty()) { > return false; > } > diff --git media/libogg/README_MOZILLA media/libogg/README_MOZILLA
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226476
:
191341
|
191460
|
191546
|
191556
|
191654
|
191746
|
191780
|
191860
|
191963
|
192155
|
192238
|
192374
|
192488
|
192576
|
192684