diff options
Diffstat (limited to 'mail/thunderbird/files')
4 files changed, 497 insertions, 607 deletions
diff --git a/mail/thunderbird/files/patch-bug1876632 b/mail/thunderbird/files/patch-bug1876632 new file mode 100644 index 000000000000..3932b1deccc9 --- /dev/null +++ b/mail/thunderbird/files/patch-bug1876632 @@ -0,0 +1,35 @@ +commit 4f531ca86d24be5d4de673f6e652ed899151d20c +Author: Jesper Schmitz Mouridsen <jesper@schmitz.computer> +Date: Wed Jul 23 22:01:31 2025 +0000 + + Bug 1876632 Fix aslr allocations on FreeBSD r=spidermonkey-reviewers,sfink + + Without the alignment flag the desired address + gets randomized by aslr in a way which causes it to not + be aligned. Furthermore the TryToAlignChunk almost always + fails. With this fix it never gets to TryToAlignChunk + because the flag guarantees upfront alignment. + + Differential Revision: https://phabricator.services.mozilla.com/D257824 + +diff --git js/src/gc/Memory.cpp js/src/gc/Memory.cpp +index e790f1784ede..13639c9a6eb4 100644 +--- js/src/gc/Memory.cpp ++++ js/src/gc/Memory.cpp +@@ -608,7 +608,16 @@ static void* MapAlignedPagesRandom(size_t length, size_t alignment) { + for (size_t i = 1; i <= 1024; ++i) { + if (i & 0xf) { + uint64_t desired = alignment * GetNumberInRange(minNum, maxNum); ++# if defined(__FreeBSD__) && defined(__aarch64__) ++ int flags = MAP_PRIVATE | MAP_ANON | ++ MAP_ALIGNED(mozilla::CeilingLog2Size(alignment)); ++ region = MozTaggedAnonymousMmap((void*)(uintptr_t)desired, length, ++ int(PageAccess::ReadWrite), flags, -1, 0, ++ "js-gc-heap"); ++# else + region = MapMemoryAtFuzzy(reinterpret_cast<void*>(desired), length); ++ ++# endif + if (!region) { + continue; + } diff --git a/mail/thunderbird/files/patch-comm_third__party_rust__wgpu-hal_src_vulkan_drm.rs b/mail/thunderbird/files/patch-comm_third__party_rust__wgpu-hal_src_vulkan_drm.rs index 5081a58b7914..df6309b61161 100644 --- a/mail/thunderbird/files/patch-comm_third__party_rust__wgpu-hal_src_vulkan_drm.rs +++ b/mail/thunderbird/files/patch-comm_third__party_rust__wgpu-hal_src_vulkan_drm.rs @@ -1,4 +1,4 @@ -commit 790b371edc5e1c997b824d45ea0f881c997e356b +commit ae68470a837cb87bcfdb5a6efc80f661da07687b Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> fix type error @@ -17,22 +17,20 @@ Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> found reference `&u32` diff --git comm/third_party/rust/wgpu-hal/.cargo-checksum.json comm/third_party/rust/wgpu-hal/.cargo-checksum.json -index 0e175873a76..66e6d33525f 100644 +index 63e2204016..336c0b1532 100644 --- comm/third_party/rust/wgpu-hal/.cargo-checksum.json +++ comm/third_party/rust/wgpu-hal/.cargo-checksum.json @@ -1 +1 @@ --{"files":{"Cargo.toml":"4b08833d522e85af6f0ce0cae079fd7e95a4b127217cb34c9afa9671492925ab","LICENSE.APACHE":"a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9","LICENSE.MIT":"c7fea58d1cfe49634cd92e54fc10a9d871f4b275321a4cd8c09e449122caaeb4","README.md":"cf9e84804a635e4a8a9fefc596be9da6bf7354dde0d105e27d56a12cb20dd8e3","build.rs":"40c99bddda32846afd639d84b9a160ddab338092560b5cb3402112ff37ab4fba","examples/halmark/main.rs":"6caf4d6ada6f2180fcd704cfd27bda3a5d58bbe8778a55e1c4ffcabb4ec723f0","examples/halmark/shader.wgsl":"26c256ec36d6f0e9a1647431ca772766bee4382d64eaa718ba7b488dcfb6bcca","examples/raw-gles.em.html":"70fbe68394a1a4522192de1dcfaf7d399f60d7bdf5de70b708f9bb0417427546","examples/raw-gles.rs":"288dae4c701aa7e5ba498fdd03ea42e1046a27db0914d93c88a43a7953cb9064","examples/ray-traced-triangle/main.rs":"ecbd4625050f1be3d61af83f4effffa11b8baaef127ec17a2d3ca0465cb7d967","examples/ray-traced-triangle/shader.wgsl":"cc10caf92746724a71f6dd0dbc3a71e57b37c7d1d83278556805a535c0728a9d","src/auxil/dxgi/conv.rs":"f451fb0c416a637f11542e9b166a48800be50c48925779b06d40a9bc87958d97","src/auxil/dxgi/exception.rs":"ccf59e9286aa8cceb96155de8e89153676dbce0d914646f502beb5f3e32c4246","src/auxil/dxgi/factory.rs":"1d8cfeb733e34b97d5b879705fc5621ab7b9be578aebb3c3ddadea992effb566","src/auxil/dxgi/mod.rs":"e6c5cc3b73bb97742135d6f35308c42f0822304764978fb8dabb0e848863352a","src/auxil/dxgi/name.rs":"ff942da0da1a497ee4d2be21604f7ba9fae963588105b3d1f63aae1a0c536e82","src/auxil/dxgi/result.rs":"a3b52fd87e512bb94df79c8cadf89a1fbcf7ab0a3a8c7fa1280c2e54cb75d96e","src/auxil/dxgi/time.rs":"b6911800be3873cbe277b2534b3839c6f005f3d9a09341aace4752e207d584a2","src/auxil/mod.rs":"540b9250d9f0e0af709245ce1e284eaca15b27d47550b0ebba2a512da1666c48","src/auxil/renderdoc.rs":"e687710ea0c9e88c9be0e2acd39d136635b835ffb941886b875811b3ec945080","src/dx12/adapter.rs":"33ab5352d9fda9f3d666276b8d4b9d19a2a3e00864e8aad3e928bf7b83af23f1","src/dx12/command.rs":"2a56e298db816126b25af47304481f6568cb126a2a2a8b739bfbc2531c552fae","src/dx12/conv.rs":"fa0b9936f391662390aa453c169b26aaf65ed3c7a00087c0f8a6b99de22614e7","src/dx12/descriptor.rs":"e3371d7539c44ffc4c7b958b6d948855200bb3c4e7da9577835cc0bca695807b","src/dx12/device.rs":"4f4c3e030e68280d0e6f37050853b14dd084299197e9542f23052831897a649b","src/dx12/instance.rs":"f2ef183443210f3bf1a95d5e750f316042e8b1929e59c8c9145351447ac9e922","src/dx12/mod.rs":"ca47fd08630d9b027ef5436da123ae712e9fe845d845324cbce60e9d9bb19a91","src/dx12/sampler.rs":"64464c32452ee63ac49014a03ca3be894ab9b74e11dc853567b5da5f846faae6","src/dx12/shader_compilation.rs":"19daac0f8a1800417ee0e1e1f46bbb4f49b07954468b1abe0182c551679c9d99","src/dx12/suballocation.rs":"85e9077cd293730e4837888b24f348a1e44dde7af7444e8547a401f5f8fdf4a8","src/dx12/types.rs":"3fc7619fc09303eb3c936d4ded6889f94ce9e8b9aa62742ce900baa1b1e1cca7","src/dx12/view.rs":"3f4c23a34b86e3bfbcb11169a9dec5e1c21425e7ecad846b36c159ced0138cee","src/dynamic/adapter.rs":"e93f7d082a3950c9e8ccff8a631d251c7598b4b25dda9fe6347dadfa3ba07829","src/dynamic/command.rs":"a67394c333b2f0773717d64d7ca9a900868e7ce46dac832ec09a17a5a84bfa43","src/dynamic/device.rs":"f00305d56cac0636d4cb86cc44ee69c291bfb3d5f6d5e8d745adce9a28a6a1d5","src/dynamic/instance.rs":"7b515c201e1ca24f24439544dbfa1d19ea1412a4f89bd803e009aed13b021e55","src/dynamic/mod.rs":"b02a3c11b22c896cf66ef206f5d4bb4e24988ecadc29972c572baf347f54aa04","src/dynamic/queue.rs":"d76abb4797e90253386d24584f186dbe1909e772560156b2e891fa043cfefbdc","src/dynamic/surface.rs":"4328c2fe86931f50aa00ac3d6982d0879b774eebf7a507903d1b1898c891fb4d","src/gles/adapter.rs":"5c92a2a4e46ba098ee9a2ce2e158d29b6b1ee6c72293a665df2664b04f2f6b12","src/gles/command.rs":"b4e0df28700b9709c24b14cec734cce7f256f6ade6220715e9bd71d4601daf77","src/gles/conv.rs":"7f885dd2bc72641d22f8f2e688ebdd857663bfe315f1b5364ea302f99a05adbf","src/gles/device.rs":"a1e66b2007cedd2d7f28c8f1589757588e143e621e2e52b1813de65482c61150","src/gles/egl.rs":"a47cc262bfe590ecdf4e02e60106231900c26d18f64ad071326d77cffc718ead","src/gles/emscripten.rs":"316d2bb6f2a4bb126dbe68a223f7393399080d116b61c39504454acdf4f9cfaf","src/gles/fence.rs":"083cd49747aba6272002aba0b0c37e5768cdbc2a1b8bacd1a244ee905d3f7b0f","src/gles/mod.rs":"ebfb44300a16e9dbf373bed4b768d8336e345cf12f3d0f496c2e33c65fec6230","src/gles/queue.rs":"b4747ce2c1471a176d3b5205331735f0dd8a430572a3708e7e089bba32e10033","src/gles/shaders/clear.frag":"9133ed8ed97d3641fbb6b5f5ea894a3554c629ccc1b80a5fc9221d7293aa1954","src/gles/shaders/clear.vert":"a543768725f4121ff2e9e1fb5b00644931e9d6f2f946c0ef01968afb5a135abd","src/gles/shaders/srgb_present.frag":"dd9a43c339a2fa4ccf7f6a1854c6f400cabf271a7d5e9230768e9f39d47f3ff5","src/gles/shaders/srgb_present.vert":"6e85d489403d80b81cc94790730bb53b309dfc5eeede8f1ea3412a660f31d357","src/gles/web.rs":"cb5940bf7b2381811675011b640040274f407a7d1908d0f82c813d6a9d3b00f7","src/gles/wgl.rs":"bff33c7ce78c5618b2d656398c2d13d3da980b9ce89c77f774adf9f6132563ef","src/lib.rs":"f25a7e543bdbc6fe9455d0030fd7b248b638a8a7511eada21c31413a951e1d35","src/metal/adapter.rs":"39c2818d9022f5eff2ced05945436280e30c36845dcb03df139a68ae418e962b","src/metal/command.rs":"92a84adf921c24d2f12801c3046b67202cff55508522f168a4eb0c45267995fb","src/metal/conv.rs":"17f37cf5fea93b437e5ec9cfff9ae96e2c6a7f23fb2d3890616fb8dbeb5f13c4","src/metal/device.rs":"d16ca92f0a8faa4ee65a9c8946c88e419b833f60c4c43dfa1c2150c544280a2e","src/metal/layer_observer.rs":"8370a6e443d01739b951b8538ee719a03b69fc0cbac92c748db418fbcc8837b5","src/metal/mod.rs":"42d5724f0501c0b59985c73b621720e1cd273958c02f9e4f12ac90254c7c2421","src/metal/surface.rs":"70f580d37e9f3d8a081fcf4ffd9007c8af1efe63a1a857ddeb6538b4e37d39e8","src/metal/time.rs":"c32d69f30e846dfcc0e39e01097fb80df63b2bebb6586143bb62494999850246","src/noop/buffer.rs":"89a938411204b33082200a1306fe589587de15142392d7ec591676512e4cfeb2","src/noop/command.rs":"917b70ac315101633094b3f92744310a60940747a2cc8a9368141200ce0ed1fd","src/noop/mod.rs":"3167878f073b3865092d7ad0ec944162bc627b7d6d5e0a7931d46f1a47c3918c","src/vulkan/adapter.rs":"78479a19f5825a04280dfe3ff1e68ac22dda09f230774ccc2eb48ae7b379ce3c","src/vulkan/command.rs":"3215c56af5e5c4964f245c3bbbebffc62e2ccd394bce99b39491acfd1e6100a6","src/vulkan/conv.rs":"1e86415bf58b86232c0811dfa982beea63190788b3e65d5b8fb22fa0a6e2027d","src/vulkan/device.rs":"4ef127d4f3f56264a087bd669a268418d7024fb5a28ae8fc1670c4d0a73a78fa","src/vulkan/drm.rs":"b40575f188b2668e60c96ad62970b993930fd25c668a402b17086ed2f1b76b4e","src/vulkan/instance.rs":"368c075aeca4e493f944d0abc99339a714d589d8ea8b3f7215a08c85b8aff663","src/vulkan/mod.rs":"48607d6e43d46302d64904dd77644e820a537b5eb896087e75b55a7a93e5b3e2","src/vulkan/sampler.rs":"f65729d6df5cce681b7756b3e48074017f0c7f42da69ca55e26cc723cd14ad59"},"package":null} +-{"files":{"Cargo.toml":"286855c60ad3c19725ffbc3a6fe010fa38b75db3fa7b73f1e64cb5513c8aa5f7","LICENSE.APACHE":"a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9","LICENSE.MIT":"c7fea58d1cfe49634cd92e54fc10a9d871f4b275321a4cd8c09e449122caaeb4","README.md":"cf9e84804a635e4a8a9fefc596be9da6bf7354dde0d105e27d56a12cb20dd8e3","build.rs":"40c99bddda32846afd639d84b9a160ddab338092560b5cb3402112ff37ab4fba","examples/halmark/main.rs":"f42ceef4ee26c1e2b5b917e697ae662099550fece8bb715b2076a55413662c6c","examples/halmark/shader.wgsl":"26c256ec36d6f0e9a1647431ca772766bee4382d64eaa718ba7b488dcfb6bcca","examples/raw-gles.em.html":"70fbe68394a1a4522192de1dcfaf7d399f60d7bdf5de70b708f9bb0417427546","examples/raw-gles.rs":"f41b15e898da0047d33c7bed0dd311ca6fade507ba453c238a7babf789480b6c","examples/ray-traced-triangle/main.rs":"ecbd4625050f1be3d61af83f4effffa11b8baaef127ec17a2d3ca0465cb7d967","examples/ray-traced-triangle/shader.wgsl":"cc10caf92746724a71f6dd0dbc3a71e57b37c7d1d83278556805a535c0728a9d","src/auxil/dxgi/conv.rs":"f451fb0c416a637f11542e9b166a48800be50c48925779b06d40a9bc87958d97","src/auxil/dxgi/exception.rs":"4ac0004d0efc88ba7738e166064796400ca1eb9518bd8cc642144401989ec796","src/auxil/dxgi/factory.rs":"1d8cfeb733e34b97d5b879705fc5621ab7b9be578aebb3c3ddadea992effb566","src/auxil/dxgi/mod.rs":"e6c5cc3b73bb97742135d6f35308c42f0822304764978fb8dabb0e848863352a","src/auxil/dxgi/name.rs":"ff942da0da1a497ee4d2be21604f7ba9fae963588105b3d1f63aae1a0c536e82","src/auxil/dxgi/result.rs":"a3b52fd87e512bb94df79c8cadf89a1fbcf7ab0a3a8c7fa1280c2e54cb75d96e","src/auxil/dxgi/time.rs":"b6911800be3873cbe277b2534b3839c6f005f3d9a09341aace4752e207d584a2","src/auxil/mod.rs":"540b9250d9f0e0af709245ce1e284eaca15b27d47550b0ebba2a512da1666c48","src/auxil/renderdoc.rs":"e687710ea0c9e88c9be0e2acd39d136635b835ffb941886b875811b3ec945080","src/dx12/adapter.rs":"50126670fe298d7f0e2606cdb34302993e519063c939b3214c77b0e83dbd74a9","src/dx12/command.rs":"f11a50b9ada035ed27affcb0e127c63bc62ba8bfae47a9357251b263e1e7f872","src/dx12/conv.rs":"f800cf605bda983828330f73a53d7f47549a17e7263572a356168dd656270c31","src/dx12/descriptor.rs":"e3371d7539c44ffc4c7b958b6d948855200bb3c4e7da9577835cc0bca695807b","src/dx12/device.rs":"1b3b7d69ce0ed6ccc04861d70eaa24de5a1a99ac5409a89733201c7eea4e1be6","src/dx12/instance.rs":"0c4bd516177ddb3724529aa30751ebde41d6f80e6bf294a23ec621712663cedd","src/dx12/mod.rs":"abaafcbfb0ebb980bd62182b390796667e5786458a71af492a02f30663081174","src/dx12/sampler.rs":"64464c32452ee63ac49014a03ca3be894ab9b74e11dc853567b5da5f846faae6","src/dx12/shader_compilation.rs":"c901a797c69e08c8c0ec93ea37c5f31084eb21c26c7d703d7031f987f2243509","src/dx12/suballocation.rs":"44f5ab65c1eeb54a53841dc769b749ce7702e32b89a6bd2ddd1a270f63437a50","src/dx12/types.rs":"3fc7619fc09303eb3c936d4ded6889f94ce9e8b9aa62742ce900baa1b1e1cca7","src/dx12/view.rs":"79b3f7331d9795e60f9b53023cbf0df46c3a05b1e8bd5c7bcca8acdd235b124f","src/dynamic/adapter.rs":"e93f7d082a3950c9e8ccff8a631d251c7598b4b25dda9fe6347dadfa3ba07829","src/dynamic/command.rs":"9635dea15d8a885011d2b8b6b9cc5ffe2126cc3f141f47f7aaf46e1f201abea9","src/dynamic/device.rs":"f00305d56cac0636d4cb86cc44ee69c291bfb3d5f6d5e8d745adce9a28a6a1d5","src/dynamic/instance.rs":"7b515c201e1ca24f24439544dbfa1d19ea1412a4f89bd803e009aed13b021e55","src/dynamic/mod.rs":"b02a3c11b22c896cf66ef206f5d4bb4e24988ecadc29972c572baf347f54aa04","src/dynamic/queue.rs":"d76abb4797e90253386d24584f186dbe1909e772560156b2e891fa043cfefbdc","src/dynamic/surface.rs":"4328c2fe86931f50aa00ac3d6982d0879b774eebf7a507903d1b1898c891fb4d","src/gles/adapter.rs":"4cd87c567e2c1d9d4e9f21f9475fc7533656e6335f13136a79633a7e49b0f836","src/gles/command.rs":"c13d50eeb1a4aaab367a3b4a7fe6c25c8c73377e68d0d8cc43791d1a7202d23b","src/gles/conv.rs":"7f885dd2bc72641d22f8f2e688ebdd857663bfe315f1b5364ea302f99a05adbf","src/gles/device.rs":"12d88fe7b33fe97228f337ec445437e386c434ca0fbe6b2d3828805bf8d3c413","src/gles/egl.rs":"de77822e37369bb4c41e1efcd92134aa220acf0dd8a251a0d4499dd4d541a547","src/gles/emscripten.rs":"316d2bb6f2a4bb126dbe68a223f7393399080d116b61c39504454acdf4f9cfaf","src/gles/fence.rs":"083cd49747aba6272002aba0b0c37e5768cdbc2a1b8bacd1a244ee905d3f7b0f","src/gles/mod.rs":"897365cdd34914a654532c8d9592cb3a3f460bd50ac2b6ba72106a105c12ac10","src/gles/queue.rs":"f0a75fa2431f84feaf9a2cd0ba156ffa011b0ba671b167066d2f9341bde89109","src/gles/shaders/clear.frag":"9133ed8ed97d3641fbb6b5f5ea894a3554c629ccc1b80a5fc9221d7293aa1954","src/gles/shaders/clear.vert":"a543768725f4121ff2e9e1fb5b00644931e9d6f2f946c0ef01968afb5a135abd","src/gles/shaders/srgb_present.frag":"dd9a43c339a2fa4ccf7f6a1854c6f400cabf271a7d5e9230768e9f39d47f3ff5","src/gles/shaders/srgb_present.vert":"6e85d489403d80b81cc94790730bb53b309dfc5eeede8f1ea3412a660f31d357","src/gles/web.rs":"cb5940bf7b2381811675011b640040274f407a7d1908d0f82c813d6a9d3b00f7","src/gles/wgl.rs":"ed0cee8844447b461ed5340f81eb55bb051ceaac67a5768985318ceac133cbe4","src/lib.rs":"14b6451f06a1667919179d4e1b92da33ab07e72f710ae3c33dbf8326a778e3b8","src/metal/adapter.rs":"13032f7c0aa66a3a3c2f6e6b8ee9e224cfc90601a865ac086d91cbcc37f06668","src/metal/command.rs":"1ec1a9e0e1ccf298c2c416b96e60827173e6584c9061b8dd582b7789545ce60a","src/metal/conv.rs":"85e8168be334ba24d109575a0a7e91b2ad3459403173e99e5cdd5d977cc5c18f","src/metal/device.rs":"8f451b3f48878d353449234533d6756c1a88661f33e5c080448f535315a8a005","src/metal/layer_observer.rs":"8370a6e443d01739b951b8538ee719a03b69fc0cbac92c748db418fbcc8837b5","src/metal/mod.rs":"96e2f978524a2bac3c5ce21917bc3580a77e54b7188e78e0b0d78efa0fa6d914","src/metal/surface.rs":"50c628f0e555f936707e57dbff59bbc9b1b05b10747b8303189b878b6fb28795","src/metal/time.rs":"c32d69f30e846dfcc0e39e01097fb80df63b2bebb6586143bb62494999850246","src/noop/buffer.rs":"89a938411204b33082200a1306fe589587de15142392d7ec591676512e4cfeb2","src/noop/command.rs":"3de99a1a260cfea2e6ca2e76797c1923cc26b069b08362c38798ce27cdc75543","src/noop/mod.rs":"3167878f073b3865092d7ad0ec944162bc627b7d6d5e0a7931d46f1a47c3918c","src/validation_canary.rs":"2e8f84e5f85671b3e55ddd410476171c762e34cbea315b37921cbb6ff18bfb4f","src/vulkan/adapter.rs":"d05b0a8332d2b70d12881a83c6157c5dc07f203a1511cb056c51f24cdd4da66e","src/vulkan/command.rs":"e058758398d4ec6fda1d0274d99b92ae541f4263ee804bcb1c42ca96f8610ac0","src/vulkan/conv.rs":"d45664854b8d160f061474d5343b0df389ef76dadb705cba8d61575c91d48b01","src/vulkan/device.rs":"7397f7c13fc1c0a2cc7d24a20cd7834924982cf8805603432a5fa8267e400e3d","src/vulkan/drm.rs":"b40575f188b2668e60c96ad62970b993930fd25c668a402b17086ed2f1b76b4e","src/vulkan/instance.rs":"737e3d42c108801ca2a088d6d44f08c5f2acd1159415a01616fc47498c47ad1e","src/vulkan/mod.rs":"b40396d5ad38ff9c15fa7213fc6ec9ecb14488019b1ca0bba60e5ec8ed50cd35","src/vulkan/sampler.rs":"f65729d6df5cce681b7756b3e48074017f0c7f42da69ca55e26cc723cd14ad59","src/vulkan/semaphore_list.rs":"102266d8e1b9f2ec1decf681bcc9e1a4cbff29533a258f2699fb6c573c434771"},"package":null} +\ No newline at end of file ++{"files":{"Cargo.toml":"286855c60ad3c19725ffbc3a6fe010fa38b75db3fa7b73f1e64cb5513c8aa5f7","LICENSE.APACHE":"a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9","LICENSE.MIT":"c7fea58d1cfe49634cd92e54fc10a9d871f4b275321a4cd8c09e449122caaeb4","README.md":"cf9e84804a635e4a8a9fefc596be9da6bf7354dde0d105e27d56a12cb20dd8e3","build.rs":"40c99bddda32846afd639d84b9a160ddab338092560b5cb3402112ff37ab4fba","examples/halmark/main.rs":"f42ceef4ee26c1e2b5b917e697ae662099550fece8bb715b2076a55413662c6c","examples/halmark/shader.wgsl":"26c256ec36d6f0e9a1647431ca772766bee4382d64eaa718ba7b488dcfb6bcca","examples/raw-gles.em.html":"70fbe68394a1a4522192de1dcfaf7d399f60d7bdf5de70b708f9bb0417427546","examples/raw-gles.rs":"f41b15e898da0047d33c7bed0dd311ca6fade507ba453c238a7babf789480b6c","examples/ray-traced-triangle/main.rs":"ecbd4625050f1be3d61af83f4effffa11b8baaef127ec17a2d3ca0465cb7d967","examples/ray-traced-triangle/shader.wgsl":"cc10caf92746724a71f6dd0dbc3a71e57b37c7d1d83278556805a535c0728a9d","src/auxil/dxgi/conv.rs":"f451fb0c416a637f11542e9b166a48800be50c48925779b06d40a9bc87958d97","src/auxil/dxgi/exception.rs":"4ac0004d0efc88ba7738e166064796400ca1eb9518bd8cc642144401989ec796","src/auxil/dxgi/factory.rs":"1d8cfeb733e34b97d5b879705fc5621ab7b9be578aebb3c3ddadea992effb566","src/auxil/dxgi/mod.rs":"e6c5cc3b73bb97742135d6f35308c42f0822304764978fb8dabb0e848863352a","src/auxil/dxgi/name.rs":"ff942da0da1a497ee4d2be21604f7ba9fae963588105b3d1f63aae1a0c536e82","src/auxil/dxgi/result.rs":"a3b52fd87e512bb94df79c8cadf89a1fbcf7ab0a3a8c7fa1280c2e54cb75d96e","src/auxil/dxgi/time.rs":"b6911800be3873cbe277b2534b3839c6f005f3d9a09341aace4752e207d584a2","src/auxil/mod.rs":"540b9250d9f0e0af709245ce1e284eaca15b27d47550b0ebba2a512da1666c48","src/auxil/renderdoc.rs":"e687710ea0c9e88c9be0e2acd39d136635b835ffb941886b875811b3ec945080","src/dx12/adapter.rs":"50126670fe298d7f0e2606cdb34302993e519063c939b3214c77b0e83dbd74a9","src/dx12/command.rs":"f11a50b9ada035ed27affcb0e127c63bc62ba8bfae47a9357251b263e1e7f872","src/dx12/conv.rs":"f800cf605bda983828330f73a53d7f47549a17e7263572a356168dd656270c31","src/dx12/descriptor.rs":"e3371d7539c44ffc4c7b958b6d948855200bb3c4e7da9577835cc0bca695807b","src/dx12/device.rs":"1b3b7d69ce0ed6ccc04861d70eaa24de5a1a99ac5409a89733201c7eea4e1be6","src/dx12/instance.rs":"0c4bd516177ddb3724529aa30751ebde41d6f80e6bf294a23ec621712663cedd","src/dx12/mod.rs":"abaafcbfb0ebb980bd62182b390796667e5786458a71af492a02f30663081174","src/dx12/sampler.rs":"64464c32452ee63ac49014a03ca3be894ab9b74e11dc853567b5da5f846faae6","src/dx12/shader_compilation.rs":"c901a797c69e08c8c0ec93ea37c5f31084eb21c26c7d703d7031f987f2243509","src/dx12/suballocation.rs":"44f5ab65c1eeb54a53841dc769b749ce7702e32b89a6bd2ddd1a270f63437a50","src/dx12/types.rs":"3fc7619fc09303eb3c936d4ded6889f94ce9e8b9aa62742ce900baa1b1e1cca7","src/dx12/view.rs":"79b3f7331d9795e60f9b53023cbf0df46c3a05b1e8bd5c7bcca8acdd235b124f","src/dynamic/adapter.rs":"e93f7d082a3950c9e8ccff8a631d251c7598b4b25dda9fe6347dadfa3ba07829","src/dynamic/command.rs":"9635dea15d8a885011d2b8b6b9cc5ffe2126cc3f141f47f7aaf46e1f201abea9","src/dynamic/device.rs":"f00305d56cac0636d4cb86cc44ee69c291bfb3d5f6d5e8d745adce9a28a6a1d5","src/dynamic/instance.rs":"7b515c201e1ca24f24439544dbfa1d19ea1412a4f89bd803e009aed13b021e55","src/dynamic/mod.rs":"b02a3c11b22c896cf66ef206f5d4bb4e24988ecadc29972c572baf347f54aa04","src/dynamic/queue.rs":"d76abb4797e90253386d24584f186dbe1909e772560156b2e891fa043cfefbdc","src/dynamic/surface.rs":"4328c2fe86931f50aa00ac3d6982d0879b774eebf7a507903d1b1898c891fb4d","src/gles/adapter.rs":"4cd87c567e2c1d9d4e9f21f9475fc7533656e6335f13136a79633a7e49b0f836","src/gles/command.rs":"c13d50eeb1a4aaab367a3b4a7fe6c25c8c73377e68d0d8cc43791d1a7202d23b","src/gles/conv.rs":"7f885dd2bc72641d22f8f2e688ebdd857663bfe315f1b5364ea302f99a05adbf","src/gles/device.rs":"12d88fe7b33fe97228f337ec445437e386c434ca0fbe6b2d3828805bf8d3c413","src/gles/egl.rs":"de77822e37369bb4c41e1efcd92134aa220acf0dd8a251a0d4499dd4d541a547","src/gles/emscripten.rs":"316d2bb6f2a4bb126dbe68a223f7393399080d116b61c39504454acdf4f9cfaf","src/gles/fence.rs":"083cd49747aba6272002aba0b0c37e5768cdbc2a1b8bacd1a244ee905d3f7b0f","src/gles/mod.rs":"897365cdd34914a654532c8d9592cb3a3f460bd50ac2b6ba72106a105c12ac10","src/gles/queue.rs":"f0a75fa2431f84feaf9a2cd0ba156ffa011b0ba671b167066d2f9341bde89109","src/gles/shaders/clear.frag":"9133ed8ed97d3641fbb6b5f5ea894a3554c629ccc1b80a5fc9221d7293aa1954","src/gles/shaders/clear.vert":"a543768725f4121ff2e9e1fb5b00644931e9d6f2f946c0ef01968afb5a135abd","src/gles/shaders/srgb_present.frag":"dd9a43c339a2fa4ccf7f6a1854c6f400cabf271a7d5e9230768e9f39d47f3ff5","src/gles/shaders/srgb_present.vert":"6e85d489403d80b81cc94790730bb53b309dfc5eeede8f1ea3412a660f31d357","src/gles/web.rs":"cb5940bf7b2381811675011b640040274f407a7d1908d0f82c813d6a9d3b00f7","src/gles/wgl.rs":"ed0cee8844447b461ed5340f81eb55bb051ceaac67a5768985318ceac133cbe4","src/lib.rs":"14b6451f06a1667919179d4e1b92da33ab07e72f710ae3c33dbf8326a778e3b8","src/metal/adapter.rs":"13032f7c0aa66a3a3c2f6e6b8ee9e224cfc90601a865ac086d91cbcc37f06668","src/metal/command.rs":"1ec1a9e0e1ccf298c2c416b96e60827173e6584c9061b8dd582b7789545ce60a","src/metal/conv.rs":"85e8168be334ba24d109575a0a7e91b2ad3459403173e99e5cdd5d977cc5c18f","src/metal/device.rs":"8f451b3f48878d353449234533d6756c1a88661f33e5c080448f535315a8a005","src/metal/layer_observer.rs":"8370a6e443d01739b951b8538ee719a03b69fc0cbac92c748db418fbcc8837b5","src/metal/mod.rs":"96e2f978524a2bac3c5ce21917bc3580a77e54b7188e78e0b0d78efa0fa6d914","src/metal/surface.rs":"50c628f0e555f936707e57dbff59bbc9b1b05b10747b8303189b878b6fb28795","src/metal/time.rs":"c32d69f30e846dfcc0e39e01097fb80df63b2bebb6586143bb62494999850246","src/noop/buffer.rs":"89a938411204b33082200a1306fe589587de15142392d7ec591676512e4cfeb2","src/noop/command.rs":"3de99a1a260cfea2e6ca2e76797c1923cc26b069b08362c38798ce27cdc75543","src/noop/mod.rs":"3167878f073b3865092d7ad0ec944162bc627b7d6d5e0a7931d46f1a47c3918c","src/validation_canary.rs":"2e8f84e5f85671b3e55ddd410476171c762e34cbea315b37921cbb6ff18bfb4f","src/vulkan/adapter.rs":"d05b0a8332d2b70d12881a83c6157c5dc07f203a1511cb056c51f24cdd4da66e","src/vulkan/command.rs":"e058758398d4ec6fda1d0274d99b92ae541f4263ee804bcb1c42ca96f8610ac0","src/vulkan/conv.rs":"d45664854b8d160f061474d5343b0df389ef76dadb705cba8d61575c91d48b01","src/vulkan/device.rs":"7397f7c13fc1c0a2cc7d24a20cd7834924982cf8805603432a5fa8267e400e3d","src/vulkan/drm.rs":"c4973384f643b6e5504196c25e2fe6d3112b61959c68462920c6483379a0d470","src/vulkan/instance.rs":"737e3d42c108801ca2a088d6d44f08c5f2acd1159415a01616fc47498c47ad1e","src/vulkan/mod.rs":"b40396d5ad38ff9c15fa7213fc6ec9ecb14488019b1ca0bba60e5ec8ed50cd35","src/vulkan/sampler.rs":"f65729d6df5cce681b7756b3e48074017f0c7f42da69ca55e26cc723cd14ad59","src/vulkan/semaphore_list.rs":"102266d8e1b9f2ec1decf681bcc9e1a4cbff29533a258f2699fb6c573c434771"},"package":null} \ No newline at end of file -+{"files":{"Cargo.toml":"4b08833d522e85af6f0ce0cae079fd7e95a4b127217cb34c9afa9671492925ab","LICENSE.APACHE":"a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9","LICENSE.MIT":"c7fea58d1cfe49634cd92e54fc10a9d871f4b275321a4cd8c09e449122caaeb4","README.md":"cf9e84804a635e4a8a9fefc596be9da6bf7354dde0d105e27d56a12cb20dd8e3","build.rs":"40c99bddda32846afd639d84b9a160ddab338092560b5cb3402112ff37ab4fba","examples/halmark/main.rs":"6caf4d6ada6f2180fcd704cfd27bda3a5d58bbe8778a55e1c4ffcabb4ec723f0","examples/halmark/shader.wgsl":"26c256ec36d6f0e9a1647431ca772766bee4382d64eaa718ba7b488dcfb6bcca","examples/raw-gles.em.html":"70fbe68394a1a4522192de1dcfaf7d399f60d7bdf5de70b708f9bb0417427546","examples/raw-gles.rs":"288dae4c701aa7e5ba498fdd03ea42e1046a27db0914d93c88a43a7953cb9064","examples/ray-traced-triangle/main.rs":"ecbd4625050f1be3d61af83f4effffa11b8baaef127ec17a2d3ca0465cb7d967","examples/ray-traced-triangle/shader.wgsl":"cc10caf92746724a71f6dd0dbc3a71e57b37c7d1d83278556805a535c0728a9d","src/auxil/dxgi/conv.rs":"f451fb0c416a637f11542e9b166a48800be50c48925779b06d40a9bc87958d97","src/auxil/dxgi/exception.rs":"ccf59e9286aa8cceb96155de8e89153676dbce0d914646f502beb5f3e32c4246","src/auxil/dxgi/factory.rs":"1d8cfeb733e34b97d5b879705fc5621ab7b9be578aebb3c3ddadea992effb566","src/auxil/dxgi/mod.rs":"e6c5cc3b73bb97742135d6f35308c42f0822304764978fb8dabb0e848863352a","src/auxil/dxgi/name.rs":"ff942da0da1a497ee4d2be21604f7ba9fae963588105b3d1f63aae1a0c536e82","src/auxil/dxgi/result.rs":"a3b52fd87e512bb94df79c8cadf89a1fbcf7ab0a3a8c7fa1280c2e54cb75d96e","src/auxil/dxgi/time.rs":"b6911800be3873cbe277b2534b3839c6f005f3d9a09341aace4752e207d584a2","src/auxil/mod.rs":"540b9250d9f0e0af709245ce1e284eaca15b27d47550b0ebba2a512da1666c48","src/auxil/renderdoc.rs":"e687710ea0c9e88c9be0e2acd39d136635b835ffb941886b875811b3ec945080","src/dx12/adapter.rs":"33ab5352d9fda9f3d666276b8d4b9d19a2a3e00864e8aad3e928bf7b83af23f1","src/dx12/command.rs":"2a56e298db816126b25af47304481f6568cb126a2a2a8b739bfbc2531c552fae","src/dx12/conv.rs":"fa0b9936f391662390aa453c169b26aaf65ed3c7a00087c0f8a6b99de22614e7","src/dx12/descriptor.rs":"e3371d7539c44ffc4c7b958b6d948855200bb3c4e7da9577835cc0bca695807b","src/dx12/device.rs":"4f4c3e030e68280d0e6f37050853b14dd084299197e9542f23052831897a649b","src/dx12/instance.rs":"f2ef183443210f3bf1a95d5e750f316042e8b1929e59c8c9145351447ac9e922","src/dx12/mod.rs":"ca47fd08630d9b027ef5436da123ae712e9fe845d845324cbce60e9d9bb19a91","src/dx12/sampler.rs":"64464c32452ee63ac49014a03ca3be894ab9b74e11dc853567b5da5f846faae6","src/dx12/shader_compilation.rs":"19daac0f8a1800417ee0e1e1f46bbb4f49b07954468b1abe0182c551679c9d99","src/dx12/suballocation.rs":"85e9077cd293730e4837888b24f348a1e44dde7af7444e8547a401f5f8fdf4a8","src/dx12/types.rs":"3fc7619fc09303eb3c936d4ded6889f94ce9e8b9aa62742ce900baa1b1e1cca7","src/dx12/view.rs":"3f4c23a34b86e3bfbcb11169a9dec5e1c21425e7ecad846b36c159ced0138cee","src/dynamic/adapter.rs":"e93f7d082a3950c9e8ccff8a631d251c7598b4b25dda9fe6347dadfa3ba07829","src/dynamic/command.rs":"a67394c333b2f0773717d64d7ca9a900868e7ce46dac832ec09a17a5a84bfa43","src/dynamic/device.rs":"f00305d56cac0636d4cb86cc44ee69c291bfb3d5f6d5e8d745adce9a28a6a1d5","src/dynamic/instance.rs":"7b515c201e1ca24f24439544dbfa1d19ea1412a4f89bd803e009aed13b021e55","src/dynamic/mod.rs":"b02a3c11b22c896cf66ef206f5d4bb4e24988ecadc29972c572baf347f54aa04","src/dynamic/queue.rs":"d76abb4797e90253386d24584f186dbe1909e772560156b2e891fa043cfefbdc","src/dynamic/surface.rs":"4328c2fe86931f50aa00ac3d6982d0879b774eebf7a507903d1b1898c891fb4d","src/gles/adapter.rs":"5c92a2a4e46ba098ee9a2ce2e158d29b6b1ee6c72293a665df2664b04f2f6b12","src/gles/command.rs":"b4e0df28700b9709c24b14cec734cce7f256f6ade6220715e9bd71d4601daf77","src/gles/conv.rs":"7f885dd2bc72641d22f8f2e688ebdd857663bfe315f1b5364ea302f99a05adbf","src/gles/device.rs":"a1e66b2007cedd2d7f28c8f1589757588e143e621e2e52b1813de65482c61150","src/gles/egl.rs":"a47cc262bfe590ecdf4e02e60106231900c26d18f64ad071326d77cffc718ead","src/gles/emscripten.rs":"316d2bb6f2a4bb126dbe68a223f7393399080d116b61c39504454acdf4f9cfaf","src/gles/fence.rs":"083cd49747aba6272002aba0b0c37e5768cdbc2a1b8bacd1a244ee905d3f7b0f","src/gles/mod.rs":"ebfb44300a16e9dbf373bed4b768d8336e345cf12f3d0f496c2e33c65fec6230","src/gles/queue.rs":"b4747ce2c1471a176d3b5205331735f0dd8a430572a3708e7e089bba32e10033","src/gles/shaders/clear.frag":"9133ed8ed97d3641fbb6b5f5ea894a3554c629ccc1b80a5fc9221d7293aa1954","src/gles/shaders/clear.vert":"a543768725f4121ff2e9e1fb5b00644931e9d6f2f946c0ef01968afb5a135abd","src/gles/shaders/srgb_present.frag":"dd9a43c339a2fa4ccf7f6a1854c6f400cabf271a7d5e9230768e9f39d47f3ff5","src/gles/shaders/srgb_present.vert":"6e85d489403d80b81cc94790730bb53b309dfc5eeede8f1ea3412a660f31d357","src/gles/web.rs":"cb5940bf7b2381811675011b640040274f407a7d1908d0f82c813d6a9d3b00f7","src/gles/wgl.rs":"bff33c7ce78c5618b2d656398c2d13d3da980b9ce89c77f774adf9f6132563ef","src/lib.rs":"f25a7e543bdbc6fe9455d0030fd7b248b638a8a7511eada21c31413a951e1d35","src/metal/adapter.rs":"39c2818d9022f5eff2ced05945436280e30c36845dcb03df139a68ae418e962b","src/metal/command.rs":"92a84adf921c24d2f12801c3046b67202cff55508522f168a4eb0c45267995fb","src/metal/conv.rs":"17f37cf5fea93b437e5ec9cfff9ae96e2c6a7f23fb2d3890616fb8dbeb5f13c4","src/metal/device.rs":"d16ca92f0a8faa4ee65a9c8946c88e419b833f60c4c43dfa1c2150c544280a2e","src/metal/layer_observer.rs":"8370a6e443d01739b951b8538ee719a03b69fc0cbac92c748db418fbcc8837b5","src/metal/mod.rs":"42d5724f0501c0b59985c73b621720e1cd273958c02f9e4f12ac90254c7c2421","src/metal/surface.rs":"70f580d37e9f3d8a081fcf4ffd9007c8af1efe63a1a857ddeb6538b4e37d39e8","src/metal/time.rs":"c32d69f30e846dfcc0e39e01097fb80df63b2bebb6586143bb62494999850246","src/noop/buffer.rs":"89a938411204b33082200a1306fe589587de15142392d7ec591676512e4cfeb2","src/noop/command.rs":"917b70ac315101633094b3f92744310a60940747a2cc8a9368141200ce0ed1fd","src/noop/mod.rs":"3167878f073b3865092d7ad0ec944162bc627b7d6d5e0a7931d46f1a47c3918c","src/vulkan/adapter.rs":"78479a19f5825a04280dfe3ff1e68ac22dda09f230774ccc2eb48ae7b379ce3c","src/vulkan/command.rs":"3215c56af5e5c4964f245c3bbbebffc62e2ccd394bce99b39491acfd1e6100a6","src/vulkan/conv.rs":"1e86415bf58b86232c0811dfa982beea63190788b3e65d5b8fb22fa0a6e2027d","src/vulkan/device.rs":"4ef127d4f3f56264a087bd669a268418d7024fb5a28ae8fc1670c4d0a73a78fa","src/vulkan/drm.rs":"d623da0779e70085e3c3fe371c26cb12fd5c65c255cc14c92f9225aea1916d59","src/vulkan/instance.rs":"368c075aeca4e493f944d0abc99339a714d589d8ea8b3f7215a08c85b8aff663","src/vulkan/mod.rs":"48607d6e43d46302d64904dd77644e820a537b5eb896087e75b55a7a93e5b3e2","src/vulkan/sampler.rs":"f65729d6df5cce681b7756b3e48074017f0c7f42da69ca55e26cc723cd14ad59"},"package":null} diff --git comm/third_party/rust/wgpu-hal/src/vulkan/drm.rs comm/third_party/rust/wgpu-hal/src/vulkan/drm.rs -index f0a8413cacc..7468a5399a9 100644 +index f0a8413cac..f58ef68f1e 100644 --- comm/third_party/rust/wgpu-hal/src/vulkan/drm.rs +++ comm/third_party/rust/wgpu-hal/src/vulkan/drm.rs -@@ -79,9 +79,10 @@ impl super::Instance { - - // Various platforms use different widths between `dev_t` and `c_int`, so just +@@ -81,7 +81,7 @@ impl super::Instance { // force-convert to `u64` to keep things portable. -+ // XXX actually, rustc reports this as u32, so use that #[allow(clippy::useless_conversion)] if [primary_devid, render_devid] - .map(u64::from) diff --git a/mail/thunderbird/files/patch-libwebrtc-generated b/mail/thunderbird/files/patch-libwebrtc-generated index c0440e492420..2b22311dac6a 100644 --- a/mail/thunderbird/files/patch-libwebrtc-generated +++ b/mail/thunderbird/files/patch-libwebrtc-generated @@ -1,8 +1,7 @@ -commit 48d36a84fea34e509b18e2772c21699d24e8a1a7 +commit 8998c489b3e437f880147f0e2c516be1d731b082 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> -Date: Wed May 14 20:58:36 2025 +0000 - regenerate FreeBSD libwebrtc patch for gecko 139 + regenerate FreeBSD libwebrtc patch for gecko 141 diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build index a29aef4b45e5..c193c4232adf 100644 @@ -1834,7 +1833,7 @@ index d650f934bf12..28f47d4bb60c 100644 - Library("audio_mixer_api_gn") diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build -index 4013ba0e53e8..d6bf78db5064 100644 +index 69937649a37e..d6bf78db5064 100644 --- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -1858,7 +1857,7 @@ index 4013ba0e53e8..d6bf78db5064 100644 FINAL_LIBRARY = "xul" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1904,6 +1903,10 @@ index 4013ba0e53e8..d6bf78db5064 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -1943,6 +1946,13 @@ index 4013ba0e53e8..d6bf78db5064 100644 - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True - DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] + DEFINES["_DEBUG"] = True if CONFIG["TARGET_CPU"] == "aarch64": @@ -2475,7 +2485,7 @@ index 9720fc943734..43ee9e3a60aa 100644 Library("builtin_audio_processing_builder_gn") diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build -index f554fd6f8241..b068f7739302 100644 +index 1b9e728c732e..b068f7739302 100644 --- third_party/libwebrtc/api/audio/echo_control_gn/moz.build +++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -2499,7 +2509,7 @@ index f554fd6f8241..b068f7739302 100644 FINAL_LIBRARY = "xul" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2545,6 +2555,10 @@ index f554fd6f8241..b068f7739302 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -2584,6 +2598,13 @@ index f554fd6f8241..b068f7739302 100644 - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True - DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] + DEFINES["_DEBUG"] = True if CONFIG["TARGET_CPU"] == "aarch64": @@ -2613,7 +2634,7 @@ index f554fd6f8241..b068f7739302 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -2666,7 +2687,7 @@ index f554fd6f8241..b068f7739302 100644 - Library("echo_control_gn") diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build -index cc8409b4ab86..ae6f50e873d1 100644 +index 17f8ad132988..ae6f50e873d1 100644 --- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -2690,7 +2711,7 @@ index cc8409b4ab86..ae6f50e873d1 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2736,6 +2757,10 @@ index cc8409b4ab86..ae6f50e873d1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -2884,7 +2909,7 @@ index cc8409b4ab86..ae6f50e873d1 100644 Library("audio_decoder_L16_gn") diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build -index 4c7addbccf20..87731b62a8fd 100644 +index 2ce54890f795..87731b62a8fd 100644 --- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -2908,7 +2933,7 @@ index 4c7addbccf20..87731b62a8fd 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2954,6 +2979,10 @@ index 4c7addbccf20..87731b62a8fd 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -3102,7 +3131,7 @@ index 4c7addbccf20..87731b62a8fd 100644 Library("audio_encoder_L16_gn") diff --git third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build -index 0cd4e6611370..e1bdc203eda4 100644 +index fa169cd9554f..e1bdc203eda4 100644 --- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -3126,7 +3155,7 @@ index 0cd4e6611370..e1bdc203eda4 100644 FINAL_LIBRARY = "xul" -@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3172,6 +3201,10 @@ index 0cd4e6611370..e1bdc203eda4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -3766,7 +3799,7 @@ index e37b27978fb1..1532babfe849 100644 Library("builtin_audio_encoder_factory_gn") diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build -index edebd9ce86d9..05322dea51b6 100644 +index ff8f963180db..05322dea51b6 100644 --- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -3790,7 +3823,7 @@ index edebd9ce86d9..05322dea51b6 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3836,6 +3869,10 @@ index edebd9ce86d9..05322dea51b6 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -3984,7 +4021,7 @@ index edebd9ce86d9..05322dea51b6 100644 Library("audio_decoder_g711_gn") diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build -index 40dbaf52b249..7863dd9e6633 100644 +index b25dbdcd7ff2..7863dd9e6633 100644 --- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4008,7 +4045,7 @@ index 40dbaf52b249..7863dd9e6633 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4054,6 +4091,10 @@ index 40dbaf52b249..7863dd9e6633 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -4202,7 +4243,7 @@ index 40dbaf52b249..7863dd9e6633 100644 Library("audio_encoder_g711_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build -index 376963441f83..94f0257efd1e 100644 +index 8db666948a82..94f0257efd1e 100644 --- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4226,7 +4267,7 @@ index 376963441f83..94f0257efd1e 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4272,6 +4313,10 @@ index 376963441f83..94f0257efd1e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -4420,7 +4465,7 @@ index 376963441f83..94f0257efd1e 100644 Library("audio_decoder_g722_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build -index 982fb48b055c..fabe33115004 100644 +index 57f61d6c5158..fabe33115004 100644 --- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4444,7 +4489,7 @@ index 982fb48b055c..fabe33115004 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4490,6 +4535,10 @@ index 982fb48b055c..fabe33115004 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -4565,7 +4614,7 @@ index 982fb48b055c..fabe33115004 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -4618,7 +4667,7 @@ index 982fb48b055c..fabe33115004 100644 - Library("audio_encoder_g722_config_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build -index b8593150d582..4d357bd55c31 100644 +index 4b5ec790299c..4d357bd55c31 100644 --- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4642,7 +4691,7 @@ index b8593150d582..4d357bd55c31 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4688,6 +4737,10 @@ index b8593150d582..4d357bd55c31 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -4836,7 +4889,7 @@ index b8593150d582..4d357bd55c31 100644 Library("audio_encoder_g722_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build -index bf3eeaa88803..de644f4d586e 100644 +index f584cbcef92e..de644f4d586e 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4860,7 +4913,7 @@ index bf3eeaa88803..de644f4d586e 100644 FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4906,6 +4959,10 @@ index bf3eeaa88803..de644f4d586e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -5054,7 +5111,7 @@ index bf3eeaa88803..de644f4d586e 100644 Library("audio_decoder_multiopus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build -index 7c069bac99c3..e1b09fbd1410 100644 +index e33383e9661f..e1b09fbd1410 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -5078,7 +5135,7 @@ index 7c069bac99c3..e1b09fbd1410 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5124,6 +5181,10 @@ index 7c069bac99c3..e1b09fbd1410 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -5199,7 +5260,7 @@ index 7c069bac99c3..e1b09fbd1410 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -5474,7 +5535,7 @@ index d7116c1b25af..d2fdc6c52b17 100644 Library("audio_decoder_opus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build -index 44bd92989657..2e9b48f8a1ca 100644 +index 336291788c67..2e9b48f8a1ca 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -5498,7 +5559,7 @@ index 44bd92989657..2e9b48f8a1ca 100644 FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5544,6 +5605,10 @@ index 44bd92989657..2e9b48f8a1ca 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -7748,7 +7813,7 @@ index 0996db596135..a32dc41fe41f 100644 Library("environment_factory_gn") diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build -index 0b458299cbb0..fc391b227ad3 100644 +index cdd4eda497c2..fc391b227ad3 100644 --- third_party/libwebrtc/api/environment/environment_gn/moz.build +++ third_party/libwebrtc/api/environment/environment_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -7772,7 +7837,7 @@ index 0b458299cbb0..fc391b227ad3 100644 FINAL_LIBRARY = "xul" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7790,6 +7855,10 @@ index 0b458299cbb0..fc391b227ad3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "log" +- ] +- -if CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["WEBRTC_MAC"] = True @@ -7814,6 +7883,10 @@ index 0b458299cbb0..fc391b227ad3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -7853,6 +7926,13 @@ index 0b458299cbb0..fc391b227ad3 100644 - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True - DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] + DEFINES["_DEBUG"] = True if CONFIG["TARGET_CPU"] == "aarch64": @@ -7882,7 +7962,7 @@ index 0b458299cbb0..fc391b227ad3 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -7935,7 +8015,7 @@ index 0b458299cbb0..fc391b227ad3 100644 - Library("environment_gn") diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build -index 8256e9ef6578..71085b8a0208 100644 +index 8bda4043be6b..71085b8a0208 100644 --- third_party/libwebrtc/api/fec_controller_api_gn/moz.build +++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -7959,7 +8039,7 @@ index 8256e9ef6578..71085b8a0208 100644 FINAL_LIBRARY = "xul" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8005,6 +8085,10 @@ index 8256e9ef6578..71085b8a0208 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -8044,6 +8128,13 @@ index 8256e9ef6578..71085b8a0208 100644 - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True - DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] + DEFINES["_DEBUG"] = True if CONFIG["TARGET_CPU"] == "aarch64": @@ -8073,7 +8164,7 @@ index 8256e9ef6578..71085b8a0208 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -8531,7 +8622,7 @@ index a6f7605626bc..f28ccdfa0f3d 100644 - Library("field_trials_view_gn") diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build -index 83b184870ac0..a6ca7af93bd2 100644 +index 416a862b2e3b..a6ca7af93bd2 100644 --- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build +++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -8555,7 +8646,7 @@ index 83b184870ac0..a6ca7af93bd2 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8601,6 +8692,10 @@ index 83b184870ac0..a6ca7af93bd2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -10541,7 +10636,7 @@ index b1226384d12d..1cc4a9137400 100644 Library("default_neteq_factory_gn") diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build -index 362eb922f20c..3b4f25d48f7a 100644 +index a1f20bb03fea..3b4f25d48f7a 100644 --- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build +++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -10565,7 +10660,7 @@ index 362eb922f20c..3b4f25d48f7a 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10611,6 +10706,10 @@ index 362eb922f20c..3b4f25d48f7a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -10759,7 +10858,7 @@ index 362eb922f20c..3b4f25d48f7a 100644 Library("neteq_api_gn") diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build -index aec489d12890..2ce3a755ec00 100644 +index 8e561ac80dc7..2ce3a755ec00 100644 --- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build +++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -10783,7 +10882,7 @@ index aec489d12890..2ce3a755ec00 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10829,6 +10928,10 @@ index aec489d12890..2ce3a755ec00 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -10904,7 +11007,7 @@ index aec489d12890..2ce3a755ec00 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -14159,197 +14262,6 @@ index 67c1414a8fb4..070132b14c93 100644 - DEFINES["_GNU_SOURCE"] = True - Library("sequence_checker_gn") -diff --git third_party/libwebrtc/api/simulated_network_api_gn/moz.build third_party/libwebrtc/api/simulated_network_api_gn/moz.build -index d01110ffb525..795aecd86879 100644 ---- third_party/libwebrtc/api/simulated_network_api_gn/moz.build -+++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" - DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" - DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True - DEFINES["RTC_ENABLE_VP9"] = True -+DEFINES["USE_GLIB"] = "1" -+DEFINES["USE_OZONE"] = "1" -+DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" - DEFINES["WEBRTC_LIBRARY_IMPL"] = True - DEFINES["WEBRTC_MOZILLA_BUILD"] = True - DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -+DEFINES["WEBRTC_POSIX"] = True - DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" -+DEFINES["_FILE_OFFSET_BITS"] = "64" -+DEFINES["_LARGEFILE64_SOURCE"] = True -+DEFINES["_LARGEFILE_SOURCE"] = True -+DEFINES["__STDC_CONSTANT_MACROS"] = True -+DEFINES["__STDC_FORMAT_MACROS"] = True - - FINAL_LIBRARY = "xul" - -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: - if CONFIG["MOZ_DEBUG"] == "1": - - DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" -- --if CONFIG["OS_TARGET"] == "Android": -- -- DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" -- DEFINES["HAVE_SYS_UIO_H"] = True -- DEFINES["WEBRTC_ANDROID"] = True -- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True -- DEFINES["WEBRTC_LINUX"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_GNU_SOURCE"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- -- OS_LIBS += [ -- "log" -- ] -- --if CONFIG["OS_TARGET"] == "Darwin": -- -- DEFINES["WEBRTC_MAC"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- --if CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_AURA"] = "1" -- DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "1" -- DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_UDEV"] = True -- DEFINES["WEBRTC_LINUX"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_FILE_OFFSET_BITS"] = "64" -- DEFINES["_LARGEFILE64_SOURCE"] = True -- DEFINES["_LARGEFILE_SOURCE"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- --if CONFIG["OS_TARGET"] == "OpenBSD": -- -- DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" -- DEFINES["WEBRTC_BSD"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_FILE_OFFSET_BITS"] = "64" -- DEFINES["_LARGEFILE64_SOURCE"] = True -- DEFINES["_LARGEFILE_SOURCE"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- --if CONFIG["OS_TARGET"] == "WINNT": -- -- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -- DEFINES["NOMINMAX"] = True -- DEFINES["NTDDI_VERSION"] = "0x0A000000" -- DEFINES["PSAPI_VERSION"] = "2" -- DEFINES["RTC_ENABLE_WIN_WGC"] = True -- DEFINES["UNICODE"] = True -- DEFINES["USE_AURA"] = "1" -- DEFINES["WEBRTC_WIN"] = True -- DEFINES["WIN32"] = True -- DEFINES["WIN32_LEAN_AND_MEAN"] = True -- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" -- DEFINES["WINVER"] = "0x0A00" -- DEFINES["_ATL_NO_OPENGL"] = True -- DEFINES["_CRT_RAND_S"] = True -- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True -- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True -- DEFINES["_HAS_EXCEPTIONS"] = "0" -- DEFINES["_HAS_NODISCARD"] = True -- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True -- DEFINES["_SECURE_ATL"] = True -- DEFINES["_UNICODE"] = True -- DEFINES["_WIN32_WINNT"] = "0x0A00" -- DEFINES["_WINDOWS"] = True -- DEFINES["__STD_C"] = True -+ DEFINES["_DEBUG"] = True - - if CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True - --if CONFIG["TARGET_CPU"] == "arm": -- -- DEFINES["WEBRTC_ARCH_ARM"] = True -- DEFINES["WEBRTC_ARCH_ARM_V7"] = True -- DEFINES["WEBRTC_HAS_NEON"] = True -- --if CONFIG["TARGET_CPU"] == "loongarch64": -- -- DEFINES["_GNU_SOURCE"] = True -- - if CONFIG["TARGET_CPU"] == "mips32": - - DEFINES["MIPS32_LE"] = True - DEFINES["MIPS_FPU_LE"] = True -- DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["TARGET_CPU"] == "mips64": -- -- DEFINES["_GNU_SOURCE"] = True - - if CONFIG["TARGET_CPU"] == "x86": - -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": - - DEFINES["WEBRTC_ENABLE_AVX2"] = True - --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": -- -- DEFINES["_DEBUG"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": -- -- DEFINES["_DEBUG"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["_DEBUG"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": -- -- DEFINES["_DEBUG"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": -- -- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" -- --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": -- -- DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": -- -- DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -- -- DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -- -- DEFINES["_GNU_SOURCE"] = True -- - Library("simulated_network_api_gn") diff --git third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build index 122718956c48..a4b72e0aadf3 100644 --- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build @@ -16367,7 +16279,7 @@ index 3118bc006971..a579189ca56f 100644 Library("goog_cc_gn") diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build -index 84054a3f0cfc..0840a4bd7daa 100644 +index 6a2fc2185735..0840a4bd7daa 100644 --- third_party/libwebrtc/api/transport/network_control_gn/moz.build +++ third_party/libwebrtc/api/transport/network_control_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -16391,7 +16303,7 @@ index 84054a3f0cfc..0840a4bd7daa 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -16437,6 +16349,10 @@ index 84054a3f0cfc..0840a4bd7daa 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -19048,7 +18964,7 @@ index 84910bec5b6a..28ddeb5e8675 100644 - Library("corruption_detection_filter_settings_gn") diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build -index fe7417ed2009..cb2e3e8b1c8c 100644 +index 1bff1d8fae9f..cb2e3e8b1c8c 100644 --- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build +++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -19072,7 +18988,7 @@ index fe7417ed2009..cb2e3e8b1c8c 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19118,6 +19034,10 @@ index fe7417ed2009..cb2e3e8b1c8c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -20701,7 +20621,7 @@ index 1b623991d78b..691d665df7ab 100644 Library("video_bitrate_allocation_gn") diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build -index 787eece77e9f..0e4eb3564582 100644 +index 7a63da34e3a2..0e4eb3564582 100644 --- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build +++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -20725,7 +20645,7 @@ index 787eece77e9f..0e4eb3564582 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -20771,6 +20691,10 @@ index 787eece77e9f..0e4eb3564582 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -20846,7 +20770,7 @@ index 787eece77e9f..0e4eb3564582 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -22551,7 +22475,7 @@ index 079848bb358b..0a20b46f6c88 100644 Library("video_rtp_headers_gn") diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build -index 5bc79f430bae..1075c82f0415 100644 +index 2486c6d099d2..1075c82f0415 100644 --- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build +++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -22575,7 +22499,7 @@ index 5bc79f430bae..1075c82f0415 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22621,6 +22545,10 @@ index 5bc79f430bae..1075c82f0415 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -22696,7 +22624,7 @@ index 5bc79f430bae..1075c82f0415 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -23597,7 +23525,7 @@ index 408cb931cfea..527f3b0ba68f 100644 Library("scalability_mode_gn") diff --git third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build -index 53356c361021..9cef4b9a8a47 100644 +index 80b895ab97d7..9cef4b9a8a47 100644 --- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -23621,7 +23549,7 @@ index 53356c361021..9cef4b9a8a47 100644 FINAL_LIBRARY = "xul" -@@ -54,186 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,190 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23667,6 +23595,10 @@ index 53356c361021..9cef4b9a8a47 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -23815,7 +23747,7 @@ index 53356c361021..9cef4b9a8a47 100644 Library("video_codecs_api_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build -index 2daf90b4f83b..ea0857484892 100644 +index 4c5f50694291..ea0857484892 100644 --- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -23839,7 +23771,7 @@ index 2daf90b4f83b..ea0857484892 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23885,6 +23817,10 @@ index 2daf90b4f83b..ea0857484892 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -23960,7 +23896,7 @@ index 2daf90b4f83b..ea0857484892 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -25679,7 +25615,7 @@ index a072faa0e703..b021c5c974d6 100644 Library("audio_frame_operations_gn") diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build -index a16854c0cbf3..10c7a4ac89a7 100644 +index 7a918b86e673..10c7a4ac89a7 100644 --- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build +++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -25703,7 +25639,7 @@ index a16854c0cbf3..10c7a4ac89a7 100644 FINAL_LIBRARY = "xul" -@@ -53,191 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -53,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25722,7 +25658,6 @@ index a16854c0cbf3..10c7a4ac89a7 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -26322,7 +26257,7 @@ index ca42c673672b..a9b6fcefbad9 100644 Library("bitrate_allocator_gn") diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build -index 2d0f74ea355e..b2182b8b5ce4 100644 +index 4a7187797c1c..b2182b8b5ce4 100644 --- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build +++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -26346,7 +26281,7 @@ index 2d0f74ea355e..b2182b8b5ce4 100644 FINAL_LIBRARY = "xul" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26392,10 +26327,6 @@ index 2d0f74ea355e..b2182b8b5ce4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - -- OS_LIBS += [ -- "rt" -- ] -- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -26435,13 +26366,6 @@ index 2d0f74ea355e..b2182b8b5ce4 100644 - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True - DEFINES["__STD_C"] = True -- -- OS_LIBS += [ -- "crypt32", -- "iphlpapi", -- "secur32", -- "winmm" -- ] + DEFINES["_DEBUG"] = True if CONFIG["TARGET_CPU"] == "aarch64": @@ -26990,7 +26914,7 @@ index 3147c1e5f11a..485e219e783d 100644 Library("call_interfaces_gn") diff --git third_party/libwebrtc/call/payload_type_gn/moz.build third_party/libwebrtc/call/payload_type_gn/moz.build -index 373d925f861d..101b856cff86 100644 +index d51772d9a423..101b856cff86 100644 --- third_party/libwebrtc/call/payload_type_gn/moz.build +++ third_party/libwebrtc/call/payload_type_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -27014,7 +26938,7 @@ index 373d925f861d..101b856cff86 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27060,6 +26984,10 @@ index 373d925f861d..101b856cff86 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -27135,7 +27063,7 @@ index 373d925f861d..101b856cff86 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -27188,7 +27116,7 @@ index 373d925f861d..101b856cff86 100644 - Library("payload_type_gn") diff --git third_party/libwebrtc/call/payload_type_picker_gn/moz.build third_party/libwebrtc/call/payload_type_picker_gn/moz.build -index f6525a6416ce..3c2fd78fd486 100644 +index 06dbea63c35e..3c2fd78fd486 100644 --- third_party/libwebrtc/call/payload_type_picker_gn/moz.build +++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -27212,7 +27140,7 @@ index f6525a6416ce..3c2fd78fd486 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27258,6 +27186,10 @@ index f6525a6416ce..3c2fd78fd486 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -31937,7 +31869,7 @@ index e0887017963d..84d5c6e4a8cb 100644 Library("spl_sqrt_floor_gn") diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build -index 85b1d6e3876a..b94189d3545a 100644 +index d338944c00d7..b94189d3545a 100644 --- third_party/libwebrtc/common_video/common_video_gn/moz.build +++ third_party/libwebrtc/common_video/common_video_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -31961,7 +31893,7 @@ index 85b1d6e3876a..b94189d3545a 100644 FINAL_LIBRARY = "xul" -@@ -56,186 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -56,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32007,6 +31939,10 @@ index 85b1d6e3876a..b94189d3545a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -35480,7 +35416,7 @@ index 71ec6e58eab4..98496cf6ad3d 100644 Library("rtc_stream_config_gn") diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build -index fc9a05fecbd7..f730e651788a 100644 +index 2a792a6e614d..f730e651788a 100644 --- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build +++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -35504,7 +35440,7 @@ index fc9a05fecbd7..f730e651788a 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35550,6 +35486,10 @@ index fc9a05fecbd7..f730e651788a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -35885,7 +35825,7 @@ index b3ffa731b047..556c37a94cdd 100644 - Library("audio_source_gn") diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build -index fa1c367755e9..073728d67c50 100644 +index c4bc70729079..073728d67c50 100644 --- third_party/libwebrtc/media/codec_gn/moz.build +++ third_party/libwebrtc/media/codec_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -35909,7 +35849,7 @@ index fa1c367755e9..073728d67c50 100644 FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35955,6 +35895,10 @@ index fa1c367755e9..073728d67c50 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -36903,7 +36847,7 @@ index 20c2853bfc82..696f3b2819c5 100644 - Library("media_engine_gn") diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build -index 92aa0430434d..6fae71d28c23 100644 +index 261b0bda5871..6fae71d28c23 100644 --- third_party/libwebrtc/media/rid_description_gn/moz.build +++ third_party/libwebrtc/media/rid_description_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -36927,7 +36871,7 @@ index 92aa0430434d..6fae71d28c23 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36973,6 +36917,10 @@ index 92aa0430434d..6fae71d28c23 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -38168,7 +38116,7 @@ index 090c3083a914..f84a9e395510 100644 - Library("rtc_media_gn") diff --git third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build -index 0b90567eff54..581f825bfb68 100644 +index c7f11f712222..581f825bfb68 100644 --- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build +++ third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -38192,7 +38140,7 @@ index 0b90567eff54..581f825bfb68 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -38238,6 +38186,10 @@ index 0b90567eff54..581f825bfb68 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -38983,7 +38935,7 @@ index c65d7a53ed46..ef3886295fed 100644 - Library("stream_params_gn") diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build -index d06fd4ea8e37..4e50253cb413 100644 +index 73346f1acb9d..4e50253cb413 100644 --- third_party/libwebrtc/media/video_adapter_gn/moz.build +++ third_party/libwebrtc/media/video_adapter_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -39007,7 +38959,7 @@ index d06fd4ea8e37..4e50253cb413 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39053,6 +39005,10 @@ index d06fd4ea8e37..4e50253cb413 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -40482,7 +40438,7 @@ index ba94b42663e7..18b923fd01d7 100644 - Library("audio_coding_module_typedefs_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build -index 30e0511c1202..60a140cf508e 100644 +index 97cc40655047..60a140cf508e 100644 --- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -40506,7 +40462,7 @@ index 30e0511c1202..60a140cf508e 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40552,6 +40508,10 @@ index 30e0511c1202..60a140cf508e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -41558,7 +41518,7 @@ index dedcda5d379f..7381cf2820f4 100644 Library("g711_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build -index 6ff2b5757c16..46fe5e5d3952 100644 +index 2c584de09fdc..46fe5e5d3952 100644 --- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -41582,7 +41542,7 @@ index 6ff2b5757c16..46fe5e5d3952 100644 FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -41628,6 +41588,10 @@ index 6ff2b5757c16..46fe5e5d3952 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -41983,7 +41947,7 @@ index 7af4da2823b9..08ab446a0a88 100644 Library("g722_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build -index 5a440b4ff1c8..2fdbaa878fc1 100644 +index 6321b7777d4d..2fdbaa878fc1 100644 --- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -42007,7 +41971,7 @@ index 5a440b4ff1c8..2fdbaa878fc1 100644 FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42053,6 +42017,10 @@ index 5a440b4ff1c8..2fdbaa878fc1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -42595,7 +42563,7 @@ index ea88c1d8f583..57e8546bdbf4 100644 Library("isac_vad_gn") diff --git third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build -index ca334dc3fe78..747b4ac34f8c 100644 +index 1e9e47a15148..747b4ac34f8c 100644 --- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -42619,7 +42587,7 @@ index ca334dc3fe78..747b4ac34f8c 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42665,6 +42633,10 @@ index ca334dc3fe78..747b4ac34f8c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -43242,7 +43214,7 @@ index d9334cabeb19..030e4a70ff28 100644 Library("pcm16b_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build -index 0b30779563f7..c552b27c5ff3 100644 +index b275ffc48c17..c552b27c5ff3 100644 --- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -43266,7 +43238,7 @@ index 0b30779563f7..c552b27c5ff3 100644 FINAL_LIBRARY = "xul" -@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43312,6 +43284,10 @@ index 0b30779563f7..c552b27c5ff3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -43904,7 +43880,7 @@ index 291bd3be385d..1deff194ac14 100644 Library("webrtc_cng_gn") diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build -index 6dfe8fd91f4f..104ad0dd9d28 100644 +index 7d8d2cbeacff..104ad0dd9d28 100644 --- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -43930,7 +43906,7 @@ index 6dfe8fd91f4f..104ad0dd9d28 100644 FINAL_LIBRARY = "xul" -@@ -48,186 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43976,6 +43952,10 @@ index 6dfe8fd91f4f..104ad0dd9d28 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -47314,7 +47294,7 @@ index 2c6400d8b230..f9c9407c1a18 100644 - Library("vector_math_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build -index 644c5fb92216..892353d5a5a9 100644 +index aee0870a497d..892353d5a5a9 100644 --- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -47338,7 +47318,7 @@ index 644c5fb92216..892353d5a5a9 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47384,6 +47364,10 @@ index 644c5fb92216..892353d5a5a9 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -47459,7 +47443,7 @@ index 644c5fb92216..892353d5a5a9 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -47512,7 +47496,7 @@ index 644c5fb92216..892353d5a5a9 100644 - Library("aec_dump_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build -index e3ddd42e6d91..22365c268eb4 100644 +index d8c6582d5536..22365c268eb4 100644 --- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -47536,7 +47520,7 @@ index e3ddd42e6d91..22365c268eb4 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47582,6 +47566,10 @@ index e3ddd42e6d91..22365c268eb4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -47730,7 +47718,7 @@ index e3ddd42e6d91..22365c268eb4 100644 Library("null_aec_dump_factory_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build -index 55fe444f90d4..b518e0fe73db 100644 +index 5f551844f40e..b518e0fe73db 100644 --- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -47754,7 +47742,7 @@ index 55fe444f90d4..b518e0fe73db 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47800,6 +47788,10 @@ index 55fe444f90d4..b518e0fe73db 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -55022,7 +55014,7 @@ index 2b2e58b89940..b833396bba9b 100644 Library("audio_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build -index 062f65365d8d..c6e89fcf1c87 100644 +index d1cea6645724..c6e89fcf1c87 100644 --- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -55046,7 +55038,7 @@ index 062f65365d8d..c6e89fcf1c87 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55092,6 +55084,10 @@ index 062f65365d8d..c6e89fcf1c87 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -58937,7 +58933,7 @@ index 116a29107a5f..210869b7d740 100644 Library("link_capacity_estimator_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build -index 35f9c99e87f4..4886c9836d50 100644 +index 5f70acf389a6..4886c9836d50 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -58961,7 +58957,7 @@ index 35f9c99e87f4..4886c9836d50 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59007,6 +59003,10 @@ index 35f9c99e87f4..4886c9836d50 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -59377,7 +59377,7 @@ index 6ce1de1fa51c..0bc507c37d93 100644 Library("loss_based_bwe_v2_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build -index 28aacf038f32..d8bd001c8e6d 100644 +index e3825644e1df..d8bd001c8e6d 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -59401,7 +59401,7 @@ index 28aacf038f32..d8bd001c8e6d 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59447,6 +59447,10 @@ index 28aacf038f32..d8bd001c8e6d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -59595,7 +59599,7 @@ index 28aacf038f32..d8bd001c8e6d 100644 Library("probe_controller_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build -index ac8867e70538..529154c4b5e7 100644 +index f9d1c2562e6f..529154c4b5e7 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -59619,7 +59623,7 @@ index ac8867e70538..529154c4b5e7 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59665,6 +59669,10 @@ index ac8867e70538..529154c4b5e7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -60623,10 +60631,10 @@ index a467463de4d3..3c0d102a3516 100644 - Library("desktop_capture_differ_sse2_gn") diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build -index d297254b8692..6ac10d4662d8 100644 +index d970f26cd483..d82e84ecfaae 100644 --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build -@@ -25,11 +25,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -26,11 +26,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -60647,7 +60655,7 @@ index d297254b8692..6ac10d4662d8 100644 FINAL_LIBRARY = "xul" -@@ -81,186 +90,13 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -82,186 +91,13 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -60834,8 +60842,8 @@ index d297254b8692..6ac10d4662d8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", -@@ -268,7 +104,8 @@ if CONFIG["TARGET_CPU"] == "arm": + "/third_party/libepoxy/libepoxy/include/", +@@ -269,7 +105,8 @@ if CONFIG["TARGET_CPU"] == "arm": ] SOURCES += [ @@ -60845,7 +60853,7 @@ index d297254b8692..6ac10d4662d8 100644 ] UNIFIED_SOURCES += [ -@@ -278,36 +115,9 @@ if CONFIG["TARGET_CPU"] == "arm": +@@ -279,36 +116,9 @@ if CONFIG["TARGET_CPU"] == "arm": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -60885,15 +60893,15 @@ index d297254b8692..6ac10d4662d8 100644 ] if CONFIG["TARGET_CPU"] == "mips32": -@@ -315,7 +125,6 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -316,7 +126,6 @@ if CONFIG["TARGET_CPU"] == "mips32": DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", -@@ -323,7 +132,8 @@ if CONFIG["TARGET_CPU"] == "mips32": + "/third_party/libepoxy/libepoxy/include/", +@@ -324,7 +133,8 @@ if CONFIG["TARGET_CPU"] == "mips32": ] SOURCES += [ @@ -60903,7 +60911,7 @@ index d297254b8692..6ac10d4662d8 100644 ] UNIFIED_SOURCES += [ -@@ -333,13 +143,14 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -334,13 +144,14 @@ if CONFIG["TARGET_CPU"] == "mips32": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -60919,8 +60927,8 @@ index d297254b8692..6ac10d4662d8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", -@@ -347,7 +158,8 @@ if CONFIG["TARGET_CPU"] == "mips64": + "/third_party/libepoxy/libepoxy/include/", +@@ -348,7 +159,8 @@ if CONFIG["TARGET_CPU"] == "mips64": ] SOURCES += [ @@ -60930,7 +60938,7 @@ index d297254b8692..6ac10d4662d8 100644 ] UNIFIED_SOURCES += [ -@@ -357,121 +169,19 @@ if CONFIG["TARGET_CPU"] == "mips64": +@@ -358,121 +170,19 @@ if CONFIG["TARGET_CPU"] == "mips64": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -60998,8 +61006,8 @@ index d297254b8692..6ac10d4662d8 100644 - DEFINES["_GNU_SOURCE"] = True - - LOCAL_INCLUDES += [ -- "/gfx/angle/checkout/include/", -- "/third_party/libepoxy/libepoxy/include/" +- "/third_party/libepoxy/libepoxy/include/", +- "/third_party/libwebrtc/third_party/libepoxy/libepoxy/include/" - ] - - SOURCES += [ @@ -61055,8 +61063,8 @@ index d297254b8692..6ac10d4662d8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", -@@ -479,7 +189,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": + "/third_party/libepoxy/libepoxy/include/", +@@ -480,7 +190,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": ] SOURCES += [ @@ -61066,7 +61074,7 @@ index d297254b8692..6ac10d4662d8 100644 ] UNIFIED_SOURCES += [ -@@ -489,13 +200,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -490,13 +201,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -61084,8 +61092,8 @@ index d297254b8692..6ac10d4662d8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", -@@ -503,7 +216,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": + "/third_party/libepoxy/libepoxy/include/", +@@ -504,7 +217,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": ] SOURCES += [ @@ -61095,7 +61103,7 @@ index d297254b8692..6ac10d4662d8 100644 ] UNIFIED_SOURCES += [ -@@ -513,10 +227,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +@@ -514,10 +228,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -61110,7 +61118,7 @@ index d297254b8692..6ac10d4662d8 100644 DEFINES["USE_X11"] = "1" DEFINES["WEBRTC_USE_X11"] = True -@@ -544,144 +260,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE +@@ -545,144 +261,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" ] @@ -62569,10 +62577,10 @@ index 5c92e55d39bc..9009b4168a4a 100644 Library("pacing_gn") diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build -index aaaaf5b9fd13..edee670f2d8b 100644 +index f1c8da12d37b..96ed5cd87c1b 100644 --- third_party/libwebrtc/modules/portal/portal_gn/moz.build +++ third_party/libwebrtc/modules/portal/portal_gn/moz.build -@@ -25,21 +25,17 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -26,21 +26,17 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -62595,7 +62603,7 @@ index aaaaf5b9fd13..edee670f2d8b 100644 DEFINES["_LARGEFILE64_SOURCE"] = True DEFINES["_LARGEFILE_SOURCE"] = True DEFINES["__STDC_CONSTANT_MACROS"] = True -@@ -81,16 +77,6 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -82,16 +78,6 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True @@ -62612,7 +62620,7 @@ index aaaaf5b9fd13..edee670f2d8b 100644 if CONFIG["TARGET_CPU"] == "mips32": DEFINES["MIPS32_LE"] = True -@@ -108,7 +94,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -109,7 +95,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -65408,7 +65416,7 @@ index fa5016332f35..76f5db2df779 100644 - Library("utility_gn") diff --git third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build -index 0bbab186040b..16ac438454b8 100644 +index 2ccd1a6b4b98..35334d6e005d 100644 --- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build +++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build @@ -18,11 +18,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -65597,8 +65605,8 @@ index 0bbab186040b..16ac438454b8 100644 - DEFINES["_GNU_SOURCE"] = True - - LOCAL_INCLUDES += [ -- "/gfx/angle/checkout/include/", -- "/third_party/libepoxy/libepoxy/include/" +- "/third_party/libepoxy/libepoxy/include/", +- "/third_party/libwebrtc/third_party/libepoxy/libepoxy/include/" - ] - - UNIFIED_SOURCES += [ @@ -65614,7 +65622,7 @@ index 0bbab186040b..16ac438454b8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", + "/third_party/libepoxy/libepoxy/include/", @@ -226,54 +82,11 @@ if CONFIG["TARGET_CPU"] == "mips64": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -65672,7 +65680,7 @@ index 0bbab186040b..16ac438454b8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", + "/third_party/libepoxy/libepoxy/include/", @@ -287,10 +100,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -65684,7 +65692,7 @@ index 0bbab186040b..16ac438454b8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", + "/third_party/libepoxy/libepoxy/include/", @@ -304,14 +116,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -65701,7 +65709,7 @@ index 0bbab186040b..16ac438454b8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", + "/third_party/libepoxy/libepoxy/include/", @@ -325,10 +137,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -65714,7 +65722,7 @@ index 0bbab186040b..16ac438454b8 100644 - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ - "/gfx/angle/checkout/include/", + "/third_party/libepoxy/libepoxy/include/", @@ -342,4 +154,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -66356,7 +66364,7 @@ index 45a85d4689af..7524313fb884 100644 - Library("codec_globals_headers_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build -index 2fece80bce22..9fe0c94db192 100644 +index 381bc1435c28..9fe0c94db192 100644 --- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -66380,7 +66388,7 @@ index 2fece80bce22..9fe0c94db192 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66426,6 +66434,10 @@ index 2fece80bce22..9fe0c94db192 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -66574,7 +66586,7 @@ index 2fece80bce22..9fe0c94db192 100644 Library("av1_svc_config_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build -index 838868858004..04f426de8930 100644 +index dd189a4ac494..04f426de8930 100644 --- third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build @@ -16,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -66598,7 +66610,7 @@ index 838868858004..04f426de8930 100644 FINAL_LIBRARY = "xul" -@@ -51,186 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,190 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66644,6 +66656,10 @@ index 838868858004..04f426de8930 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -67454,7 +67470,7 @@ index aa42f12b7b5b..40f1449e2b22 100644 Library("frame_dependencies_calculator_gn") diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build -index ab164d5d921f..fe1dd7c20635 100644 +index 27a552865443..fe1dd7c20635 100644 --- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -67478,7 +67494,7 @@ index ab164d5d921f..fe1dd7c20635 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67524,6 +67540,10 @@ index ab164d5d921f..fe1dd7c20635 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -68556,7 +68576,7 @@ index 1376ef845e41..d4f7694767ba 100644 Library("packet_buffer_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build -index 59753f7db18e..f305df0162af 100644 +index c5b1f43f5c9e..f305df0162af 100644 --- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -68580,7 +68600,7 @@ index 59753f7db18e..f305df0162af 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68626,6 +68646,10 @@ index 59753f7db18e..f305df0162af 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -69426,7 +69450,7 @@ index 7beea9790f44..0b566d46220f 100644 Library("simulcast_to_svc_converter_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build -index f2d5174579d7..70b9e280ac69 100644 +index 243c95aa4d18..70b9e280ac69 100644 --- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -69450,7 +69474,7 @@ index f2d5174579d7..70b9e280ac69 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -69496,6 +69520,10 @@ index f2d5174579d7..70b9e280ac69 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -71143,7 +71171,7 @@ index 5a1fc368549b..ae936de55ec9 100644 Library("timing_module_gn") diff --git third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build -index 897eac22a94f..8124fea57658 100644 +index 319c3864d011..8124fea57658 100644 --- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -71167,7 +71195,7 @@ index 897eac22a94f..8124fea57658 100644 FINAL_LIBRARY = "xul" -@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -71213,6 +71241,10 @@ index 897eac22a94f..8124fea57658 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -73121,7 +73153,7 @@ index ec4a3d7388f7..e891dd8b547f 100644 Library("webrtc_vp9_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build -index f8968c342f27..064b0b18e98c 100644 +index b06b2f261258..064b0b18e98c 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -73145,7 +73177,7 @@ index f8968c342f27..064b0b18e98c 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -73191,6 +73223,10 @@ index f8968c342f27..064b0b18e98c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -73339,10 +73375,10 @@ index f8968c342f27..064b0b18e98c 100644 Library("webrtc_vp9_helpers_gn") diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build -index a45cc7826c9c..c4140609a28f 100644 +index c6cc8931d764..9bd6a676a25f 100644 --- third_party/libwebrtc/moz.build +++ third_party/libwebrtc/moz.build -@@ -291,6 +291,8 @@ DIRS += [ +@@ -290,6 +290,8 @@ DIRS += [ "/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn", "/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn", "/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn", @@ -73351,7 +73387,7 @@ index a45cc7826c9c..c4140609a28f 100644 "/third_party/libwebrtc/modules/module_api_gn", "/third_party/libwebrtc/modules/module_api_public_gn", "/third_party/libwebrtc/modules/module_fec_api_gn", -@@ -517,137 +519,30 @@ DIRS += [ +@@ -515,137 +517,30 @@ DIRS += [ "/third_party/libwebrtc/webrtc_gn" ] @@ -73493,7 +73529,7 @@ index a45cc7826c9c..c4140609a28f 100644 DIRS += [ "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -@@ -655,13 +550,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -653,13 +548,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", @@ -73508,7 +73544,7 @@ index a45cc7826c9c..c4140609a28f 100644 DIRS += [ "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -@@ -669,73 +562,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +@@ -667,73 +560,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", @@ -81365,7 +81401,7 @@ index 0739957773e6..99cb949dca52 100644 - Library("async_packet_socket_gn") diff --git third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build -index dde6dc9d8144..be4e6cad1dbd 100644 +index 85cfaded6fc1..be4e6cad1dbd 100644 --- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build +++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -81389,7 +81425,7 @@ index dde6dc9d8144..be4e6cad1dbd 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -81435,6 +81471,10 @@ index dde6dc9d8144..be4e6cad1dbd 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -85039,7 +85079,7 @@ index db73007e0648..3b48de94a7cf 100644 Library("alr_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build -index a68f41b455b7..1e18365e267f 100644 +index bf86112adc96..1e18365e267f 100644 --- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -85063,7 +85103,7 @@ index a68f41b455b7..1e18365e267f 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85109,6 +85149,10 @@ index a68f41b455b7..1e18365e267f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -85257,7 +85301,7 @@ index a68f41b455b7..1e18365e267f 100644 Library("balanced_degradation_settings_gn") diff --git third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build -index 76246fa6ff03..3e75b9cd7207 100644 +index 51d60b684c4a..3e75b9cd7207 100644 --- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -85281,7 +85325,7 @@ index 76246fa6ff03..3e75b9cd7207 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85327,6 +85371,10 @@ index 76246fa6ff03..3e75b9cd7207 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -86565,7 +86613,7 @@ index 7700987d9727..fed428b40312 100644 Library("quality_scaler_settings_gn") diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build -index cdfadf1b3a44..91fa15309a19 100644 +index af1014200a9e..91fa15309a19 100644 --- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -86589,7 +86637,7 @@ index cdfadf1b3a44..91fa15309a19 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86635,6 +86683,10 @@ index cdfadf1b3a44..91fa15309a19 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -86783,7 +86835,7 @@ index cdfadf1b3a44..91fa15309a19 100644 Library("quality_scaling_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build -index d64269a76871..835d78fa3a6c 100644 +index 03660d93455a..835d78fa3a6c 100644 --- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -86807,7 +86859,7 @@ index d64269a76871..835d78fa3a6c 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86853,6 +86905,10 @@ index d64269a76871..835d78fa3a6c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -102372,217 +102428,6 @@ index 639e627348c4..e0895664e27d 100644 + DEFINES["USE_X11"] = "1" Library("system_wrappers_gn") -diff --git third_party/libwebrtc/test/network/simulated_network_gn/moz.build third_party/libwebrtc/test/network/simulated_network_gn/moz.build -index 32db92831a8b..b2fd5c533459 100644 ---- third_party/libwebrtc/test/network/simulated_network_gn/moz.build -+++ third_party/libwebrtc/test/network/simulated_network_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" - DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" - DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True - DEFINES["RTC_ENABLE_VP9"] = True -+DEFINES["USE_GLIB"] = "1" -+DEFINES["USE_OZONE"] = "1" -+DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" - DEFINES["WEBRTC_LIBRARY_IMPL"] = True - DEFINES["WEBRTC_MOZILLA_BUILD"] = True - DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -+DEFINES["WEBRTC_POSIX"] = True - DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" -+DEFINES["_FILE_OFFSET_BITS"] = "64" -+DEFINES["_LARGEFILE64_SOURCE"] = True -+DEFINES["_LARGEFILE_SOURCE"] = True -+DEFINES["__STDC_CONSTANT_MACROS"] = True -+DEFINES["__STDC_FORMAT_MACROS"] = True - - FINAL_LIBRARY = "xul" - -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: - if CONFIG["MOZ_DEBUG"] == "1": - - DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" -- --if CONFIG["OS_TARGET"] == "Android": -- -- DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" -- DEFINES["HAVE_SYS_UIO_H"] = True -- DEFINES["WEBRTC_ANDROID"] = True -- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True -- DEFINES["WEBRTC_LINUX"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_GNU_SOURCE"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- -- OS_LIBS += [ -- "log" -- ] -- --if CONFIG["OS_TARGET"] == "Darwin": -- -- DEFINES["WEBRTC_MAC"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- --if CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_AURA"] = "1" -- DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "1" -- DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_UDEV"] = True -- DEFINES["WEBRTC_LINUX"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_FILE_OFFSET_BITS"] = "64" -- DEFINES["_LARGEFILE64_SOURCE"] = True -- DEFINES["_LARGEFILE_SOURCE"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- --if CONFIG["OS_TARGET"] == "OpenBSD": -- -- DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" -- DEFINES["WEBRTC_BSD"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_FILE_OFFSET_BITS"] = "64" -- DEFINES["_LARGEFILE64_SOURCE"] = True -- DEFINES["_LARGEFILE_SOURCE"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- --if CONFIG["OS_TARGET"] == "WINNT": -- -- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True -- DEFINES["NOMINMAX"] = True -- DEFINES["NTDDI_VERSION"] = "0x0A000000" -- DEFINES["PSAPI_VERSION"] = "2" -- DEFINES["RTC_ENABLE_WIN_WGC"] = True -- DEFINES["UNICODE"] = True -- DEFINES["USE_AURA"] = "1" -- DEFINES["WEBRTC_WIN"] = True -- DEFINES["WIN32"] = True -- DEFINES["WIN32_LEAN_AND_MEAN"] = True -- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" -- DEFINES["WINVER"] = "0x0A00" -- DEFINES["_ATL_NO_OPENGL"] = True -- DEFINES["_CRT_RAND_S"] = True -- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True -- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True -- DEFINES["_HAS_EXCEPTIONS"] = "0" -- DEFINES["_HAS_NODISCARD"] = True -- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True -- DEFINES["_SECURE_ATL"] = True -- DEFINES["_UNICODE"] = True -- DEFINES["_WIN32_WINNT"] = "0x0A00" -- DEFINES["_WINDOWS"] = True -- DEFINES["__STD_C"] = True -+ DEFINES["_DEBUG"] = True - - if CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True - --if CONFIG["TARGET_CPU"] == "arm": -- -- CXXFLAGS += [ -- "-mfpu=neon" -- ] -- -- DEFINES["WEBRTC_ARCH_ARM"] = True -- DEFINES["WEBRTC_ARCH_ARM_V7"] = True -- DEFINES["WEBRTC_HAS_NEON"] = True -- --if CONFIG["TARGET_CPU"] == "loongarch64": -- -- DEFINES["_GNU_SOURCE"] = True -- - if CONFIG["TARGET_CPU"] == "mips32": - - DEFINES["MIPS32_LE"] = True - DEFINES["MIPS_FPU_LE"] = True -- DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["TARGET_CPU"] == "mips64": -- -- DEFINES["_GNU_SOURCE"] = True - - if CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["WEBRTC_ENABLE_AVX2"] = True -- --if CONFIG["TARGET_CPU"] == "x86_64": -- -- DEFINES["WEBRTC_ENABLE_AVX2"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": -- -- DEFINES["_DEBUG"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": -- -- DEFINES["_DEBUG"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["_DEBUG"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": -- -- DEFINES["_DEBUG"] = True -- --if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": -- -- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" -- --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": -- -- DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": -- -- DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": - -- DEFINES["_GNU_SOURCE"] = True -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - -- DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" - - Library("simulated_network_gn") diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build index 2d610fe2fe88..e290a713c076 100644 --- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build @@ -103912,7 +103757,7 @@ index 829835d9d69d..f861dd357a02 100644 - Library("aom_gn") diff --git third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build -index 7d1347ef2c7f..2cd44f6fb564 100644 +index 8d148b20dc0d..6ae76c818471 100644 --- third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build +++ third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build @@ -13,20 +13,16 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -104713,7 +104558,7 @@ index 2c62e9cbe092..d82fa66a2945 100644 Library("video_adaptation_gn") diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build -index 8f1b9bb33967..a7be3784a0df 100644 +index 467ca88046db..a7be3784a0df 100644 --- third_party/libwebrtc/video/config/encoder_config_gn/moz.build +++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -104737,7 +104582,7 @@ index 8f1b9bb33967..a7be3784a0df 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104783,6 +104628,10 @@ index 8f1b9bb33967..a7be3784a0df 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -105813,7 +105662,7 @@ index 9d03622daa05..81d9185c0a7d 100644 Library("frame_instrumentation_generator_gn") diff --git third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build -index 37551c088b6f..166e00c8e94b 100644 +index 1596769ef123..166e00c8e94b 100644 --- third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -105837,7 +105686,7 @@ index 37551c088b6f..166e00c8e94b 100644 FINAL_LIBRARY = "xul" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105883,6 +105732,10 @@ index 37551c088b6f..166e00c8e94b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -109530,7 +109383,7 @@ index 6ea5c303a15d..c678f28a8343 100644 Library("video_stream_encoder_impl_gn") diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build -index b270923b1375..89c31ebae9ee 100644 +index 4ca944df8778..89c31ebae9ee 100644 --- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build +++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -109554,7 +109407,7 @@ index b270923b1375..89c31ebae9ee 100644 FINAL_LIBRARY = "xul" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -109600,6 +109453,10 @@ index b270923b1375..89c31ebae9ee 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "rt" +- ] +- -if CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["USE_GLIB"] = "1" @@ -109675,7 +109532,7 @@ index b270923b1375..89c31ebae9ee 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True diff --git a/mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc b/mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc index e83c56760a7c..dc51721edf06 100644 --- a/mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc +++ b/mail/thunderbird/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc @@ -1,16 +1,16 @@ -commit 3524023ca1d2184ab9a5a7cc61695923e6834cc1 -Author: Christoph Moench-Tegeder <cmt@burggraben.net> +commit 505b8f54ca7e3ee3230ed9c94e6553de504fda29 +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> avoid linux-only includes diff --git third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc -index 6a019c64b4b3..18bb43d797dd 100644 +index 9f30378451fb..75381cd39e29 100644 --- third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc +++ third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc -@@ -10,12 +10,16 @@ - +@@ -11,12 +11,16 @@ #include "modules/desktop_capture/linux/wayland/egl_dmabuf.h" + #include <EGL/eglext.h> +#if !defined(__FreeBSD__) #include <asm/ioctl.h> +#endif |