blob: 872826c0ee84f5c3e2be076fe88523b5488adb14 [file] [log] [blame]
# Copyright 2016 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("benchmark_config") {
visibility = [ ":*" ]
include_dirs = [ "include" ]
}
static_library("benchmark") {
testonly = true
sources = [
"//third_party/benchmark/src/arraysize.h",
"//third_party/benchmark/src/benchmark.cc",
"//third_party/benchmark/src/benchmark_api_internal.cc",
"//third_party/benchmark/src/benchmark_api_internal.h",
"//third_party/benchmark/src/benchmark_main.cc",
"//third_party/benchmark/src/benchmark_name.cc",
"//third_party/benchmark/src/benchmark_register.cc",
"//third_party/benchmark/src/benchmark_register.h",
"//third_party/benchmark/src/benchmark_runner.cc",
"//third_party/benchmark/src/benchmark_runner.h",
"//third_party/benchmark/src/check.h",
"//third_party/benchmark/src/colorprint.cc",
"//third_party/benchmark/src/colorprint.h",
"//third_party/benchmark/src/commandlineflags.cc",
"//third_party/benchmark/src/commandlineflags.h",
"//third_party/benchmark/src/complexity.cc",
"//third_party/benchmark/src/complexity.h",
"//third_party/benchmark/src/console_reporter.cc",
"//third_party/benchmark/src/counter.cc",
"//third_party/benchmark/src/counter.h",
"//third_party/benchmark/src/csv_reporter.cc",
"//third_party/benchmark/src/cycleclock.h",
"//third_party/benchmark/src/internal_macros.h",
"//third_party/benchmark/src/json_reporter.cc",
"//third_party/benchmark/src/log.h",
"//third_party/benchmark/src/mutex.h",
"//third_party/benchmark/src/perf_counters.cc",
"//third_party/benchmark/src/perf_counters.h",
"//third_party/benchmark/src/re.h",
"//third_party/benchmark/src/reporter.cc",
"//third_party/benchmark/src/sleep.cc",
"//third_party/benchmark/src/sleep.h",
"//third_party/benchmark/src/statistics.cc",
"//third_party/benchmark/src/statistics.h",
"//third_party/benchmark/src/string_util.cc",
"//third_party/benchmark/src/string_util.h",
"//third_party/benchmark/src/sysinfo.cc",
"//third_party/benchmark/src/sysinfo.h",
"//third_party/benchmark/src/thread_manager.h",
"//third_party/benchmark/src/thread_timer.h",
"//third_party/benchmark/src/timers.cc",
"//third_party/benchmark/src/timers.h",
]
public_configs = [ ":benchmark_config" ]
defines = [
"HAVE_POSIX_REGEX",
"HAVE_THREAD_SAFETY_ATTRIBUTES",
]
}