llvm/utils/gn/build/libs/atomic/BUILD.gn
raw| 1 | config("atomic_config") { |
| 2 | visibility = [ ":atomic" ] |
| 3 | libs = [ "atomic" ] |
| 4 | } |
| 5 | |
| 6 | group("atomic") { |
| 7 | # Needed on platforms that have no native support for 64-bit atomics. |
| 8 | # FIXME: Check which platforms need this; certainly needs to be false on |
| 9 | # macOS and Windows, and doesn't seem to be needed on Linux either. |
| 10 | needs_explicit_lib_atomic = false |
| 11 | if (needs_explicit_lib_atomic) { |
| 12 | public_configs = [ ":atomic_config" ] |
| 13 | } |
| 14 | } |