[gn build] don't build ubsan_minimal on mac

It doesn't build there, see http://45.33.8.238/macm1/12180/step_4.txt
This commit is contained in:
Nico Weber 2021-06-22 22:21:18 -04:00
parent 6569cf2a44
commit e8c8ce0974
1 changed files with 4 additions and 2 deletions

View File

@ -1,13 +1,15 @@
group("lib") { group("lib") {
deps = [ "//compiler-rt/lib/profile" ] deps = [ "//compiler-rt/lib/profile" ]
if (current_os == "linux") { if (current_os == "linux") {
deps += [ "//compiler-rt/lib/msan" ] deps += [
"//compiler-rt/lib/msan",
"//compiler-rt/lib/ubsan_minimal",
]
} }
if (current_os != "win") { if (current_os != "win") {
deps += [ deps += [
"//compiler-rt/lib/asan", "//compiler-rt/lib/asan",
"//compiler-rt/lib/builtins", "//compiler-rt/lib/builtins",
"//compiler-rt/lib/ubsan_minimal",
] ]
if (current_cpu == "x64" || current_cpu == "arm64") { if (current_cpu == "x64" || current_cpu == "arm64") {
deps += [ "//compiler-rt/lib/tsan" ] deps += [ "//compiler-rt/lib/tsan" ]