Kaido Kert | b108943 | 2024-03-18 19:46:49 -0700 | [diff] [blame] | 1 | import("//build/config/linux/pkg_config.gni") |
| 2 | import("//build/shim_headers.gni") |
| 3 | |
| 4 | pkg_config("system_absl_synchronization") { |
| 5 | packages = [ "absl_synchronization" ] |
| 6 | } |
| 7 | |
| 8 | shim_headers("synchronization_shim") { |
| 9 | root_path = "." |
| 10 | prefix = "absl/synchronization/" |
| 11 | headers = [ |
| 12 | "barrier.h", |
| 13 | "blocking_counter.h", |
| 14 | "mutex.h", |
| 15 | "notification.h", |
| 16 | ] |
| 17 | } |
| 18 | |
| 19 | source_set("synchronization") { |
| 20 | deps = [ ":synchronization_shim" ] |
| 21 | public_configs = [ ":system_absl_synchronization" ] |
| 22 | } |