| 1 | cxx_library( |
| 2 | name='buffer', |
| 3 | visibility=['PUBLIC'], |
| 4 | header_namespace='utils', |
| 5 | exported_headers=['Buffer.h'], |
| 6 | deps=[':range'], |
| 7 | ) |
| 8 | |
| 9 | cxx_library( |
| 10 | name='file_system', |
| 11 | visibility=['PUBLIC'], |
| 12 | header_namespace='utils', |
| 13 | exported_headers=['FileSystem.h'], |
| 14 | deps=[':range'], |
| 15 | ) |
| 16 | |
| 17 | cxx_library( |
| 18 | name='likely', |
| 19 | visibility=['PUBLIC'], |
| 20 | header_namespace='utils', |
| 21 | exported_headers=['Likely.h'], |
| 22 | ) |
| 23 | |
| 24 | cxx_library( |
| 25 | name='range', |
| 26 | visibility=['PUBLIC'], |
| 27 | header_namespace='utils', |
| 28 | exported_headers=['Range.h'], |
| 29 | deps=[':likely'], |
| 30 | ) |
| 31 | |
| 32 | cxx_library( |
| 33 | name='resource_pool', |
| 34 | visibility=['PUBLIC'], |
| 35 | header_namespace='utils', |
| 36 | exported_headers=['ResourcePool.h'], |
| 37 | ) |
| 38 | |
| 39 | cxx_library( |
| 40 | name='scope_guard', |
| 41 | visibility=['PUBLIC'], |
| 42 | header_namespace='utils', |
| 43 | exported_headers=['ScopeGuard.h'], |
| 44 | ) |
| 45 | |
| 46 | cxx_library( |
| 47 | name='thread_pool', |
| 48 | visibility=['PUBLIC'], |
| 49 | header_namespace='utils', |
| 50 | exported_headers=['ThreadPool.h'], |
| 51 | deps=[':work_queue'], |
| 52 | ) |
| 53 | |
| 54 | cxx_library( |
| 55 | name='work_queue', |
| 56 | visibility=['PUBLIC'], |
| 57 | header_namespace='utils', |
| 58 | exported_headers=['WorkQueue.h'], |
| 59 | deps=[':buffer'], |
| 60 | ) |
| 61 | |
| 62 | cxx_library( |
| 63 | name='utils', |
| 64 | visibility=['PUBLIC'], |
| 65 | deps=[ |
| 66 | ':buffer', |
| 67 | ':file_system', |
| 68 | ':likely', |
| 69 | ':range', |
| 70 | ':resource_pool', |
| 71 | ':scope_guard', |
| 72 | ':thread_pool', |
| 73 | ':work_queue', |
| 74 | ], |
| 75 | ) |