llvm/utils/gn/build/libs/pthread/BUILD.gn
raw| 1 | import("//llvm/utils/gn/build/libs/pthread/enable.gni") |
| 2 | |
| 3 | config("pthread_config") { |
| 4 | visibility = [ ":pthread" ] |
| 5 | libs = [ "pthread" ] |
| 6 | } |
| 7 | |
| 8 | group("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 | } |