summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_BUILD.gn
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-04-21 23:09:02 +0200
committerRene Ladan <rene@FreeBSD.org>2022-04-28 09:47:56 +0200
commit4eb083eab9fd6439de7fd85552c136140a5c3ad9 (patch)
treeae08ac637056c2e74cba8e00a08cc3b24dd3d877 /www/chromium/files/patch-base_BUILD.gn
parentsecurity/vuxml: add www/chromium < 101.0.4951.41 (diff)
www/chromium: update to 101.0.4951.41
Security: 26f2123b-c6c6-11ec-b66f-3065ec8fd3ec
Diffstat (limited to 'www/chromium/files/patch-base_BUILD.gn')
-rw-r--r--www/chromium/files/patch-base_BUILD.gn34
1 files changed, 17 insertions, 17 deletions
diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn
index 1ae290e3f1c0..28df7dbb13f1 100644
--- a/www/chromium/files/patch-base_BUILD.gn
+++ b/www/chromium/files/patch-base_BUILD.gn
@@ -1,6 +1,6 @@
---- base/BUILD.gn.orig 2022-03-25 21:59:56 UTC
+--- base/BUILD.gn.orig 2022-04-21 18:48:31 UTC
+++ base/BUILD.gn
-@@ -999,7 +999,7 @@ mixed_component("base") {
+@@ -1010,7 +1010,7 @@ mixed_component("base") {
"timer/hi_res_timer_manager_posix.cc",
]
@@ -9,7 +9,7 @@
sources += [
"cpu_affinity_posix.cc",
"cpu_affinity_posix.h",
-@@ -1010,6 +1010,12 @@ mixed_component("base") {
+@@ -1021,6 +1021,12 @@ mixed_component("base") {
"profiler/thread_delegate_posix.h",
]
}
@@ -22,7 +22,7 @@
}
if (is_win) {
-@@ -1478,11 +1484,23 @@ mixed_component("base") {
+@@ -1492,11 +1498,23 @@ mixed_component("base") {
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
if (!use_sysroot &&
@@ -47,7 +47,7 @@
if (use_allocator_shim) {
sources += [
"allocator/allocator_shim.cc",
-@@ -1506,7 +1524,7 @@ mixed_component("base") {
+@@ -1520,7 +1538,7 @@ mixed_component("base") {
]
configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ]
}
@@ -56,16 +56,16 @@
sources += [
"allocator/allocator_shim_override_cpp_symbols.h",
"allocator/allocator_shim_override_glibc_weak_symbols.h",
-@@ -1563,7 +1581,7 @@ mixed_component("base") {
+@@ -1576,7 +1594,7 @@ mixed_component("base") {
+
# Allow more direct string conversions on platforms with native utf8
# strings
- # TODO(crbug/1052397): Consider replacing is_ash with is_chromeos once lacros switches to target_os=chromeos
-- if (is_apple || is_chromeos_ash || is_chromecast || is_fuchsia) {
-+ if (is_apple || is_chromeos_ash || is_chromecast || is_fuchsia || is_bsd) {
+- if (is_apple || is_chromeos || is_chromecast || is_fuchsia) {
++ if (is_apple || is_chromeos || is_chromecast || is_fuchsia || is_bsd) {
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -2243,6 +2261,42 @@ mixed_component("base") {
+@@ -2255,6 +2273,42 @@ mixed_component("base") {
}
}
@@ -108,7 +108,7 @@
# iOS
if (is_ios) {
sources -= [
-@@ -3495,7 +3549,7 @@ test("base_unittests") {
+@@ -3537,7 +3591,7 @@ test("base_unittests") {
}
}
@@ -117,7 +117,7 @@
sources += [
"debug/proc_maps_linux_unittest.cc",
"files/scoped_file_linux_unittest.cc",
-@@ -3543,7 +3597,7 @@ test("base_unittests") {
+@@ -3585,7 +3639,7 @@ test("base_unittests") {
"posix/unix_domain_socket_unittest.cc",
"task/thread_pool/task_tracker_posix_unittest.cc",
]
@@ -126,16 +126,16 @@
sources += [
"cpu_affinity_posix_unittest.cc",
"profiler/stack_copier_signal_unittest.cc",
-@@ -3555,7 +3609,7 @@ test("base_unittests") {
+@@ -3596,7 +3650,7 @@ test("base_unittests") {
+
# Allow more direct string conversions on platforms with native utf8
# strings
- # TODO(crbug/1052397): Consider replacing is_ash with is_chromeos once lacros switches to target_os=chromeos
-- if (is_apple || is_chromeos_ash || is_chromecast || is_fuchsia) {
-+ if (is_apple || is_chromeos_ash || is_chromecast || is_fuchsia || is_bsd) {
+- if (is_apple || is_chromeos || is_chromecast || is_fuchsia) {
++ if (is_apple || is_chromeos || is_chromecast || is_fuchsia || is_bsd) {
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -3724,7 +3778,7 @@ test("base_unittests") {
+@@ -3765,7 +3819,7 @@ test("base_unittests") {
}
}