summaryrefslogtreecommitdiff
path: root/multimedia/ringrtc/files/patch-build_config_BUILDCONFIG.gn
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ringrtc/files/patch-build_config_BUILDCONFIG.gn')
-rw-r--r--multimedia/ringrtc/files/patch-build_config_BUILDCONFIG.gn14
1 files changed, 7 insertions, 7 deletions
diff --git a/multimedia/ringrtc/files/patch-build_config_BUILDCONFIG.gn b/multimedia/ringrtc/files/patch-build_config_BUILDCONFIG.gn
index 79473a536c3d..384f674203f1 100644
--- a/multimedia/ringrtc/files/patch-build_config_BUILDCONFIG.gn
+++ b/multimedia/ringrtc/files/patch-build_config_BUILDCONFIG.gn
@@ -10,7 +10,7 @@
(current_cpu != "s390x" && current_cpu != "s390" &&
current_cpu != "ppc64" && current_cpu != "ppc" &&
current_cpu != "mips" && current_cpu != "mips64" &&
-@@ -231,6 +232,10 @@ if (host_toolchain == "") {
+@@ -235,6 +236,10 @@ if (host_toolchain == "") {
host_toolchain = "//build/toolchain/aix:$host_cpu"
} else if (host_os == "zos") {
host_toolchain = "//build/toolchain/zos:$host_cpu"
@@ -21,16 +21,16 @@
} else {
assert(false, "Unsupported host_os: $host_os")
}
-@@ -274,6 +279,8 @@ if (target_os == "android") {
+@@ -279,6 +284,8 @@ if (target_os == "android") {
_default_toolchain = "//build/toolchain/aix:$target_cpu"
} else if (target_os == "zos") {
_default_toolchain = "//build/toolchain/zos:$target_cpu"
+} else if (target_os == "openbsd" || target_os == "freebsd") {
+ _default_toolchain = host_toolchain
- } else {
- assert(false, "Unsupported target_os: $target_os")
- }
-@@ -308,7 +315,11 @@ is_android = current_os == "android"
+ } else if (target_os == "emscripten") {
+ # Because it's too hard to remove all targets from //BUILD.gn that do not work with it.
+ assert(
+@@ -318,7 +325,11 @@ is_ios = current_os == "ios"
is_chromeos = current_os == "chromeos"
is_fuchsia = current_os == "fuchsia"
is_ios = current_os == "ios"
@@ -42,4 +42,4 @@
+is_bsd = current_os == "openbsd" || current_os == "freebsd"
is_mac = current_os == "mac"
is_nacl = current_os == "nacl"
- is_win = current_os == "win" || current_os == "winuwp"
+ is_wasm = current_os == "emscripten"