15 lines · plain
1config("atomic_config") {2 visibility = [ ":atomic" ]3 libs = [ "atomic" ]4}5 6group("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 on9 # macOS and Windows, and doesn't seem to be needed on Linux either.10 needs_explicit_lib_atomic = false11 if (needs_explicit_lib_atomic) {12 public_configs = [ ":atomic_config" ]13 }14}15