llvm-for-llvmta/utils/gn/build/libs/atomic/BUILD.gn

15 lines
434 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
config("atomic_config") {
visibility = [ ":atomic" ]
libs = [ "atomic" ]
}
group("atomic") {
# Needed on platforms that have no native support for 64-bit atomics.
# FIXME: Check which platforms need this; certainly needs to be false on
# macOS and Windows, and doesn't seem to be needed on Linux either.
needs_explicit_lib_atomic = false
if (needs_explicit_lib_atomic) {
public_configs = [ ":atomic_config" ]
}
}