diff options
author | Robert Nagy <robert@openbsd.org> | 2022-10-30 06:29:28 +0100 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-10-30 10:46:43 +0100 |
commit | 9623a4df4224d9cc2ecee283c951b9745052694c (patch) | |
tree | 73a83538b02dd3a672b3ad9082f862f080844c1f /www/ungoogled-chromium/files/patch-base_BUILD.gn | |
parent | misc/freebsd-doc-*: Update to rev. 714f0eb from FreeBSD docset (diff) |
www/ungoogled-chromium: update to 107.0.5304.87
Security: https://vuxml.freebsd.org/freebsd/b4ef02f4-549f-11ed-8ad9-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/1225c888-56ea-11ed-b5c3-3065ec8fd3ec.html
Diffstat (limited to 'www/ungoogled-chromium/files/patch-base_BUILD.gn')
-rw-r--r-- | www/ungoogled-chromium/files/patch-base_BUILD.gn | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn index 6744bd068762..c8aca0266eef 100644 --- a/www/ungoogled-chromium/files/patch-base_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn @@ -1,4 +1,4 @@ ---- base/BUILD.gn.orig 2022-10-01 07:40:07 UTC +--- base/BUILD.gn.orig 2022-10-29 17:50:56 UTC +++ base/BUILD.gn @@ -162,7 +162,7 @@ buildflag_header("ios_cronet_buildflags") { flags = [ "CRONET_BUILD=$is_cronet_build" ] @@ -9,29 +9,31 @@ buildflag_header("message_pump_buildflags") { header = "message_pump_buildflags.h" header_dir = "base/message_loop" -@@ -1031,7 +1031,7 @@ mixed_component("base") { +@@ -1035,7 +1035,7 @@ mixed_component("base") { "timer/hi_res_timer_manager_posix.cc", ] - if (!is_nacl && !is_apple) { + if (!is_nacl && !is_apple && !is_bsd) { sources += [ - "profiler/stack_copier_signal.cc", - "profiler/stack_copier_signal.h", -@@ -1040,6 +1040,12 @@ mixed_component("base") { + "profiler/stack_base_address_posix.cc", + "profiler/stack_base_address_posix.h", +@@ -1046,6 +1046,14 @@ mixed_component("base") { "profiler/thread_delegate_posix.h", ] } + + if (is_bsd) { + sources += [ ++ "profiler/stack_base_address_posix.cc", ++ "profiler/stack_base_address_posix.h", + "profiler/stack_sampler_posix.cc", + ] + } } if (is_win) { -@@ -1541,11 +1547,23 @@ mixed_component("base") { +@@ -1557,11 +1565,23 @@ mixed_component("base") { # Needed for <atomic> if using newer C++ library than sysroot, except if # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. @@ -55,17 +57,17 @@ + if (use_allocator_shim) { sources += [ - "allocator/allocator_shim.cc", -@@ -1573,7 +1591,7 @@ mixed_component("base") { + "allocator/partition_allocator/shim/allocator_shim.cc", +@@ -1589,7 +1609,7 @@ mixed_component("base") { ] configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ] } - if (is_chromeos || is_linux) { + if (is_chromeos || (is_linux && !is_bsd)) { sources += [ - "allocator/allocator_shim_override_cpp_symbols.h", - "allocator/allocator_shim_override_glibc_weak_symbols.h", -@@ -1629,7 +1647,7 @@ mixed_component("base") { + "allocator/partition_allocator/shim/allocator_shim_override_cpp_symbols.h", + "allocator/partition_allocator/shim/allocator_shim_override_glibc_weak_symbols.h", +@@ -1643,7 +1663,7 @@ mixed_component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -74,7 +76,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2211,6 +2229,42 @@ mixed_component("base") { +@@ -2216,6 +2236,42 @@ mixed_component("base") { } } @@ -117,7 +119,7 @@ # iOS if (is_ios) { sources -= [ -@@ -2310,7 +2364,7 @@ mixed_component("base") { +@@ -2313,7 +2369,7 @@ mixed_component("base") { } if (dep_libevent) { @@ -126,7 +128,7 @@ } if (use_libevent) { -@@ -3545,7 +3599,7 @@ test("base_unittests") { +@@ -3565,7 +3621,7 @@ test("base_unittests") { } } @@ -135,16 +137,16 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3593,7 +3647,7 @@ test("base_unittests") { +@@ -3613,7 +3669,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] - if (!is_nacl && !is_apple) { + if (!is_nacl && !is_apple && !is_bsd) { sources += [ + "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", - "profiler/thread_delegate_posix_unittest.cc", -@@ -3603,7 +3657,7 @@ test("base_unittests") { +@@ -3624,7 +3680,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -153,7 +155,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3791,7 +3845,7 @@ test("base_unittests") { +@@ -3812,7 +3868,7 @@ test("base_unittests") { } } |