summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_BUILD.gn')
-rw-r--r--www/chromium/files/patch-base_BUILD.gn27
1 files changed, 13 insertions, 14 deletions
diff --git a/www/chromium/files/patch-base_BUILD.gn b/www/chromium/files/patch-base_BUILD.gn
index a30dfc0456a8..91055cebe9c7 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-11-30 08:12:58 UTC
+--- base/BUILD.gn.orig 2023-01-11 09:17:16 UTC
+++ base/BUILD.gn
-@@ -163,7 +163,7 @@ buildflag_header("ios_cronet_buildflags") {
+@@ -167,7 +167,7 @@ buildflag_header("ios_cronet_buildflags") {
flags = [ "CRONET_BUILD=$is_cronet_build" ]
}
@@ -9,7 +9,7 @@
buildflag_header("message_pump_buildflags") {
header = "message_pump_buildflags.h"
header_dir = "base/message_loop"
-@@ -1048,7 +1048,7 @@ mixed_component("base") {
+@@ -1059,7 +1059,7 @@ mixed_component("base") {
"timer/hi_res_timer_manager_posix.cc",
]
@@ -18,7 +18,7 @@
sources += [
"profiler/stack_base_address_posix.cc",
"profiler/stack_base_address_posix.h",
-@@ -1059,6 +1059,14 @@ mixed_component("base") {
+@@ -1070,6 +1070,14 @@ mixed_component("base") {
"profiler/thread_delegate_posix.h",
]
}
@@ -33,7 +33,7 @@
}
if (is_win) {
-@@ -1559,11 +1567,23 @@ mixed_component("base") {
+@@ -1569,11 +1577,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.
@@ -58,7 +58,7 @@
if (use_allocator_shim) {
sources += [
"allocator/partition_allocator/shim/allocator_shim.cc",
-@@ -1591,7 +1611,7 @@ mixed_component("base") {
+@@ -1601,7 +1621,7 @@ mixed_component("base") {
]
configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ]
}
@@ -67,7 +67,7 @@
sources += [
"allocator/partition_allocator/shim/allocator_shim_override_cpp_symbols.h",
"allocator/partition_allocator/shim/allocator_shim_override_glibc_weak_symbols.h",
-@@ -1645,7 +1665,7 @@ mixed_component("base") {
+@@ -1655,7 +1675,7 @@ mixed_component("base") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -76,14 +76,13 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -2218,6 +2238,42 @@ mixed_component("base") {
+@@ -2238,6 +2258,41 @@ mixed_component("base") {
}
}
+ if (is_bsd) {
+ sources -= [
+ "files/file_path_watcher_inotify.cc",
-+ "files/file_util_linux.cc",
+ "files/scoped_file_linux.cc",
+ "process/memory_linux.cc",
+ "process/process_linux.cc",
@@ -119,7 +118,7 @@
# iOS
if (is_ios) {
sources -= [
-@@ -2315,7 +2371,7 @@ mixed_component("base") {
+@@ -2335,7 +2390,7 @@ mixed_component("base") {
}
if (dep_libevent) {
@@ -128,7 +127,7 @@
}
if (use_libevent) {
-@@ -3583,7 +3639,7 @@ test("base_unittests") {
+@@ -3605,7 +3660,7 @@ test("base_unittests") {
}
}
@@ -137,7 +136,7 @@
sources += [
"debug/proc_maps_linux_unittest.cc",
"files/scoped_file_linux_unittest.cc",
-@@ -3629,7 +3685,7 @@ test("base_unittests") {
+@@ -3651,7 +3706,7 @@ test("base_unittests") {
"posix/file_descriptor_shuffle_unittest.cc",
"posix/unix_domain_socket_unittest.cc",
]
@@ -146,7 +145,7 @@
sources += [
"profiler/stack_base_address_posix_unittest.cc",
"profiler/stack_copier_signal_unittest.cc",
-@@ -3640,7 +3696,7 @@ test("base_unittests") {
+@@ -3662,7 +3717,7 @@ test("base_unittests") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -155,7 +154,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -3832,7 +3888,7 @@ test("base_unittests") {
+@@ -3869,7 +3924,7 @@ test("base_unittests") {
}
}