1--- src/3rdparty/chromium/build/config/BUILD.gn.orig 2021-12-15 16:12:54 UTC 2+++ src/3rdparty/chromium/build/config/BUILD.gn 3@@ -137,7 +137,7 @@ config("debug") { 4 # builds, and we have to tell it to turn it off. 5 defines += [ "_HAS_ITERATOR_DEBUGGING=0" ] 6 } 7- } else if ((is_linux || is_chromeos) && current_cpu == "x64" && enable_iterator_debugging) { 8+ } else if ((is_linux || is_chromeos || is_bsd) && current_cpu == "x64" && enable_iterator_debugging) { 9 # Enable libstdc++ debugging facilities to help catch problems early, see 10 # http://crbug.com/65151 . 11 # TODO(phajdan.jr): Should we enable this for all of POSIX? 12@@ -235,9 +235,7 @@ config("default_libs") { 13 ] 14 } else if (is_linux || is_chromeos) { 15 libs = [ 16- "dl", 17 "pthread", 18- "rt", 19 ] 20 } 21 } 22@@ -320,7 +318,7 @@ config("executable_config") { 23 "//build/config/ios:ios_dynamic_flags", 24 "//build/config/ios:ios_executable_flags", 25 ] 26- } else if (is_linux || is_chromeos || is_android || current_os == "aix") { 27+ } else if (is_linux || is_bsd || is_chromeos || is_android || current_os == "aix") { 28 configs += [ "//build/config/gcc:executable_config" ] 29 if (is_chromecast) { 30 configs += [ "//build/config/chromecast:executable_config" ] 31