summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-build_config_BUILDCONFIG.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-build_config_BUILDCONFIG.gn')
-rw-r--r--www/chromium/files/patch-build_config_BUILDCONFIG.gn27
1 files changed, 14 insertions, 13 deletions
diff --git a/www/chromium/files/patch-build_config_BUILDCONFIG.gn b/www/chromium/files/patch-build_config_BUILDCONFIG.gn
index 098fd9c..99df07d 100644
--- a/www/chromium/files/patch-build_config_BUILDCONFIG.gn
+++ b/www/chromium/files/patch-build_config_BUILDCONFIG.gn
@@ -1,6 +1,6 @@
---- build/config/BUILDCONFIG.gn.orig 2017-06-05 19:03:01 UTC
-+++ build/config/BUILDCONFIG.gn
-@@ -131,12 +131,13 @@ declare_args() {
+--- build/config/BUILDCONFIG.gn.orig 2017-08-03 00:05:04.000000000 +0200
++++ build/config/BUILDCONFIG.gn 2017-08-09 23:42:27.032065000 +0200
+@@ -131,13 +131,13 @@
is_official_build = false
# Whether we're a traditional desktop unix.
@@ -9,14 +9,14 @@
# Set to true when compiling with the Clang compiler. Typically this is used
# to configure warnings.
- is_clang = current_os == "mac" || current_os == "ios" ||
-- current_os == "linux" || current_os == "chromeos"
-+ current_os == "linux" || current_os == "chromeos" ||
-+ current_os == "bsd"
+ is_clang =
+ current_os == "mac" || current_os == "ios" || current_os == "chromeos" ||
+- current_os == "fuchsia" ||
++ current_os == "fuchsia" || current_os == "bsd" ||
+ (current_os == "linux" && current_cpu != "s390x" &&
+ current_cpu != "s390" && current_cpu != "ppc64" && current_cpu != "ppc")
- # Allows the path to a custom target toolchain to be injected as a single
- # argument, and set as the default toolchain.
-@@ -185,8 +186,8 @@ if (host_toolchain == "") {
+@@ -189,8 +189,8 @@
# TODO(dpranke): Add some sort of assert here that verifies that
# no toolchain omitted host_toolchain from its toolchain_args().
@@ -27,7 +27,7 @@
# TODO(dpranke) - is_clang normally applies only to the target
# build, and there is no way to indicate that you want to override
# it for both the target build *and* the host build. Do we need to
-@@ -222,7 +223,7 @@ if (target_os == "android") {
+@@ -228,7 +228,7 @@
} else {
_default_toolchain = "//build/toolchain/android:android_$target_cpu"
}
@@ -36,13 +36,14 @@
# See comments in build/toolchain/cros/BUILD.gn about board compiles.
if (is_clang) {
_default_toolchain = "//build/toolchain/linux:clang_$target_cpu"
-@@ -342,8 +343,17 @@ if (current_os == "win" || current_os == "winrt_81" ||
+@@ -378,8 +378,18 @@
is_nacl = false
is_posix = true
is_win = false
+} else if (current_os == "bsd") {
+ is_android = false
+ is_chromeos = false
++ is_fuchsia = false
+ is_ios = false
+ is_linux = false
+ is_bsd = true
@@ -55,7 +56,7 @@
# =============================================================================
# SOURCES FILTERS
# =============================================================================
-@@ -412,7 +422,7 @@ if (!is_ios) {
+@@ -449,7 +459,7 @@
if (!is_mac && !is_ios) {
sources_assignment_filter += [ "*.mm" ]
}
OpenPOWER on IntegriCloud