| 1 |
group("lib") { |
| 2 |
deps = [ |
| 3 |
"//compiler-rt/lib/asan:ignorelist($host_toolchain)", |
| 4 |
"//compiler-rt/lib/builtins", |
| 5 |
"//compiler-rt/lib/cfi:ignorelist($host_toolchain)", |
| 6 |
] |
| 7 |
if (current_os == "linux" && current_cpu == "x64") { |
| 8 |
deps += [ "//compiler-rt/lib/msan" ] |
| 9 |
} |
| 10 |
if (current_os == "linux" || current_os == "android") { |
| 11 |
deps += [ "//compiler-rt/lib/ubsan_minimal" ] |
| 12 |
} |
| 13 |
if (current_os == "android" && current_cpu == "arm64") { |
| 14 |
deps += [ "//compiler-rt/lib/hwasan" ] |
| 15 |
} |
| 16 |
if (current_os != "baremetal") { |
| 17 |
deps += [ |
| 18 |
"//compiler-rt/lib/asan", |
| 19 |
"//compiler-rt/lib/profile", |
| 20 |
] |
| 21 |
} |
| 22 |
if (current_os != "win" && current_os != "baremetal") { |
| 23 |
deps += [ "//compiler-rt/lib/ubsan" ] |
| 24 |
if (current_cpu == "x64" || current_cpu == "arm64") { |
| 25 |
deps += [ "//compiler-rt/lib/tsan/rtl" ] |
| 26 |
} |
| 27 |
} |
| 28 |
} |