[llvm] e88e149 - gn build: s/target_os/current_os/g
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 6 20:58:01 PDT 2022
Author: Peter Collingbourne
Date: 2022-10-06T20:57:45-07:00
New Revision: e88e149fe4edb51e6409766bcdf96a54da84afe6
URL: https://github.com/llvm/llvm-project/commit/e88e149fe4edb51e6409766bcdf96a54da84afe6
DIFF: https://github.com/llvm/llvm-project/commit/e88e149fe4edb51e6409766bcdf96a54da84afe6.diff
LOG: gn build: s/target_os/current_os/g
Added:
Modified:
llvm/utils/gn/secondary/libunwind/src/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/libunwind/src/BUILD.gn b/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
index d5e15f220cc9..c60fc0362a4b 100644
--- a/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
@@ -74,7 +74,7 @@ config("unwind_config") {
}
}
-if (libunwind_enable_shared && target_os != "android") {
+if (libunwind_enable_shared && current_os != "android") {
shared_library("unwind_shared") {
output_dir = unwind_output_dir
output_name = "unwind"
@@ -138,7 +138,7 @@ if (libunwind_enable_static) {
group("src") {
deps = []
- if (libunwind_enable_shared && target_os != "android") {
+ if (libunwind_enable_shared && current_os != "android") {
deps += [ ":unwind_shared" ]
}
if (libunwind_enable_static) {
More information about the llvm-commits
mailing list