| static_library("benchmark") { |
| sources = [ |
| "src/benchmark.cc", |
| "src/benchmark_register.cc", |
| "src/colorprint.cc", |
| "src/commandlineflags.cc", |
| "src/complexity.cc", |
| "src/console_reporter.cc", |
| "src/counter.cc", |
| "src/csv_reporter.cc", |
| "src/json_reporter.cc", |
| "src/reporter.cc", |
| "src/sleep.cc", |
| "src/statistics.cc", |
| "src/string_util.cc", |
| "src/sysinfo.cc", |
| "src/timers.cc", |
| ] |
| deps = [ "//llvm/utils/gn/build/libs/pthread" ] |
| public_configs = [ ":benchmark_config" ] |
| } |
| |
| config("benchmark_config") { |
| include_dirs = [ "include" ] |
| } |