[llvm] 272af9c - gn build: Build ubsan_minimal on Android.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 23 19:25:40 PDT 2021
Author: Peter Collingbourne
Date: 2021-06-23T19:25:21-07:00
New Revision: 272af9c700b462a0cc00e3ff7809ac2c199cabfe
URL: https://github.com/llvm/llvm-project/commit/272af9c700b462a0cc00e3ff7809ac2c199cabfe
DIFF: https://github.com/llvm/llvm-project/commit/272af9c700b462a0cc00e3ff7809ac2c199cabfe.diff
LOG: gn build: Build ubsan_minimal on Android.
Added:
Modified:
llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
index ce32282c722a6..43bc7fdf351c9 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
@@ -1,10 +1,10 @@
group("lib") {
deps = [ "//compiler-rt/lib/profile" ]
if (current_os == "linux") {
- deps += [
- "//compiler-rt/lib/msan",
- "//compiler-rt/lib/ubsan_minimal",
- ]
+ deps += [ "//compiler-rt/lib/msan" ]
+ }
+ if (current_os == "linux" || current_os == "android") {
+ deps += [ "//compiler-rt/lib/ubsan_minimal" ]
}
if (current_os != "win") {
deps += [
More information about the llvm-commits
mailing list