Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn
--- src/3rdparty/chromium/build/config/BUILDCONFIG.gn.orig 2019-05-23 12:39:34 UTC | --- src/3rdparty/chromium/build/config/BUILDCONFIG.gn.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/build/config/BUILDCONFIG.gn | +++ src/3rdparty/chromium/build/config/BUILDCONFIG.gn | ||||
@@ -131,10 +131,10 @@ declare_args() { | @@ -131,10 +131,10 @@ declare_args() { | ||||
is_official_build = false | is_official_build = false | ||||
# Whether we're a traditional desktop unix. | # Whether we're a traditional desktop unix. | ||||
- is_desktop_linux = current_os == "linux" | - is_desktop_linux = current_os == "linux" | ||||
+ is_desktop_linux = current_os == "linux" || current_os == "freebsd" | + is_desktop_linux = current_os == "linux" || current_os == "freebsd" | ||||
Show All 18 Lines | @@ -229,7 +229,7 @@ if (target_os == "android") { | ||||
assert(host_os == "linux" || host_os == "mac", | assert(host_os == "linux" || host_os == "mac", | ||||
"Android builds are only supported on Linux and Mac hosts.") | "Android builds are only supported on Linux and Mac hosts.") | ||||
_default_toolchain = "//build/toolchain/android:android_clang_$target_cpu" | _default_toolchain = "//build/toolchain/android:android_clang_$target_cpu" | ||||
-} else if (target_os == "chromeos" || target_os == "linux") { | -} else if (target_os == "chromeos" || target_os == "linux") { | ||||
+} else if (target_os == "chromeos" || target_os == "linux" || target_os == "freebsd") { | +} else if (target_os == "chromeos" || target_os == "linux" || target_os == "freebsd") { | ||||
# See comments in build/toolchain/cros/BUILD.gn about board compiles. | # See comments in build/toolchain/cros/BUILD.gn about board compiles. | ||||
if (is_clang) { | if (is_clang) { | ||||
_default_toolchain = "//build/toolchain/linux:clang_$target_cpu" | _default_toolchain = "//build/toolchain/linux:clang_$target_cpu" | ||||
@@ -296,10 +296,11 @@ is_android = current_os == "android" | @@ -290,10 +290,11 @@ is_android = current_os == "android" | ||||
# current_os value directly. | |||||
is_android = current_os == "android" | |||||
+is_bsd = current_os == "freebsd" | |||||
is_chromeos = current_os == "chromeos" | is_chromeos = current_os == "chromeos" | ||||
is_fuchsia = current_os == "fuchsia" | is_fuchsia = current_os == "fuchsia" | ||||
is_ios = current_os == "ios" | is_ios = current_os == "ios" | ||||
-is_linux = current_os == "chromeos" || current_os == "linux" | -is_linux = current_os == "linux" | ||||
+is_linux = current_os == "chromeos" || current_os == "linux" || current_os == "freebsd" | +is_linux = current_os == "linux" || current_os == "freebsd" | ||||
is_mac = current_os == "mac" | is_mac = current_os == "mac" | ||||
is_nacl = current_os == "nacl" | is_nacl = current_os == "nacl" | ||||
is_win = current_os == "win" || current_os == "winuwp" | is_win = current_os == "win" || current_os == "winuwp" | ||||
+is_bsd = current_os == "freebsd" | |||||
is_posix = !is_win && !is_fuchsia | |||||