summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_config_BUILDCONFIG.gn
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2020-10-23 04:29:32 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2020-10-23 04:29:32 +0000
commit40c48efc97e1692154f38e01ef1739bbef1e4728 (patch)
tree80245efab86b6f22f00a53b43568f0fd51edfb14 /www/chromium/files/patch-build_config_BUILDCONFIG.gn
parentdeskutils/ultralist: Update to 1.6.1 (diff)
www/chromium: Update to version 85.0.4183.121
Submitted by: cem, rene Obtained from: some patches from OpenBSD port
Diffstat (limited to 'www/chromium/files/patch-build_config_BUILDCONFIG.gn')
-rw-r--r--www/chromium/files/patch-build_config_BUILDCONFIG.gn13
1 files changed, 7 insertions, 6 deletions
diff --git a/www/chromium/files/patch-build_config_BUILDCONFIG.gn b/www/chromium/files/patch-build_config_BUILDCONFIG.gn
index 7c6d307fbd22..57897b6ae110 100644
--- a/www/chromium/files/patch-build_config_BUILDCONFIG.gn
+++ b/www/chromium/files/patch-build_config_BUILDCONFIG.gn
@@ -1,4 +1,4 @@
---- build/config/BUILDCONFIG.gn.orig 2019-06-04 18:55:15 UTC
+--- build/config/BUILDCONFIG.gn.orig 2020-09-21 18:39:01 UTC
+++ build/config/BUILDCONFIG.gn
@@ -131,10 +131,10 @@ declare_args() {
is_official_build = false
@@ -33,8 +33,13 @@
# See comments in build/toolchain/cros/BUILD.gn about board compiles.
if (is_clang) {
_default_toolchain = "//build/toolchain/linux:clang_$target_cpu"
-@@ -288,10 +288,11 @@ is_android = current_os == "android"
+@@ -285,10 +285,12 @@ if (custom_toolchain != "") {
+ # current_os value directly.
+
+ is_android = current_os == "android"
++is_bsd = current_os == "freebsd" || current_os == "netbsd" || current_os == "openbsd"
is_chromeos = current_os == "chromeos"
++is_freebsd = current_os == "freebsd"
is_fuchsia = current_os == "fuchsia"
is_ios = current_os == "ios"
-is_linux = current_os == "chromeos" || current_os == "linux"
@@ -42,7 +47,3 @@
is_mac = current_os == "mac"
is_nacl = current_os == "nacl"
is_win = current_os == "win" || current_os == "winuwp"
-+is_bsd = current_os == "freebsd"
-
- is_posix = !is_win && !is_fuchsia
-