1import("//llvm/utils/gn/build/libs/pthread/enable.gni") 2 3config("pthread_config") { 4 visibility = [ ":pthread" ] 5 libs = [ "pthread" ] 6} 7 8group("pthread") { 9 # On Android, bionic has built-in support for pthreads. 10 if (llvm_enable_threads && current_os != "win" && current_os != "android") { 11 public_configs = [ ":pthread_config" ] 12 } 13} 14