|
| 1 | +# Copyright 2016 The Fuchsia Authors. All rights reserved. |
| 2 | +# Use of this source code is governed by a BSD-style license that can be |
| 3 | +# found in the LICENSE file. |
| 4 | +config("benchmark_config") { |
| 5 | + visibility = [ ":*" ] |
| 6 | + include_dirs = [ "include" ] |
| 7 | +} |
| 8 | +static_library("benchmark") { |
| 9 | + testonly = true |
| 10 | + |
| 11 | + sources = [ |
| 12 | + "//flutter/third_party/benchmark/src/arraysize.h", |
| 13 | + "//flutter/third_party/benchmark/src/benchmark.cc", |
| 14 | + "//flutter/third_party/benchmark/src/benchmark_api_internal.cc", |
| 15 | + "//flutter/third_party/benchmark/src/benchmark_api_internal.h", |
| 16 | + "//flutter/third_party/benchmark/src/benchmark_main.cc", |
| 17 | + "//flutter/third_party/benchmark/src/benchmark_name.cc", |
| 18 | + "//flutter/third_party/benchmark/src/benchmark_register.cc", |
| 19 | + "//flutter/third_party/benchmark/src/benchmark_register.h", |
| 20 | + "//flutter/third_party/benchmark/src/benchmark_runner.cc", |
| 21 | + "//flutter/third_party/benchmark/src/benchmark_runner.h", |
| 22 | + "//flutter/third_party/benchmark/src/check.h", |
| 23 | + "//flutter/third_party/benchmark/src/colorprint.cc", |
| 24 | + "//flutter/third_party/benchmark/src/colorprint.h", |
| 25 | + "//flutter/third_party/benchmark/src/commandlineflags.cc", |
| 26 | + "//flutter/third_party/benchmark/src/commandlineflags.h", |
| 27 | + "//flutter/third_party/benchmark/src/complexity.cc", |
| 28 | + "//flutter/third_party/benchmark/src/complexity.h", |
| 29 | + "//flutter/third_party/benchmark/src/console_reporter.cc", |
| 30 | + "//flutter/third_party/benchmark/src/counter.cc", |
| 31 | + "//flutter/third_party/benchmark/src/counter.h", |
| 32 | + "//flutter/third_party/benchmark/src/csv_reporter.cc", |
| 33 | + "//flutter/third_party/benchmark/src/cycleclock.h", |
| 34 | + "//flutter/third_party/benchmark/src/internal_macros.h", |
| 35 | + "//flutter/third_party/benchmark/src/json_reporter.cc", |
| 36 | + "//flutter/third_party/benchmark/src/log.h", |
| 37 | + "//flutter/third_party/benchmark/src/mutex.h", |
| 38 | + "//flutter/third_party/benchmark/src/perf_counters.cc", |
| 39 | + "//flutter/third_party/benchmark/src/perf_counters.h", |
| 40 | + "//flutter/third_party/benchmark/src/re.h", |
| 41 | + "//flutter/third_party/benchmark/src/reporter.cc", |
| 42 | + "//flutter/third_party/benchmark/src/sleep.cc", |
| 43 | + "//flutter/third_party/benchmark/src/sleep.h", |
| 44 | + "//flutter/third_party/benchmark/src/statistics.cc", |
| 45 | + "//flutter/third_party/benchmark/src/statistics.h", |
| 46 | + "//flutter/third_party/benchmark/src/string_util.cc", |
| 47 | + "//flutter/third_party/benchmark/src/string_util.h", |
| 48 | + "//flutter/third_party/benchmark/src/sysinfo.cc", |
| 49 | + "//flutter/third_party/benchmark/src/thread_manager.h", |
| 50 | + "//flutter/third_party/benchmark/src/thread_timer.h", |
| 51 | + "//flutter/third_party/benchmark/src/timers.cc", |
| 52 | + "//flutter/third_party/benchmark/src/timers.h", |
| 53 | + ] |
| 54 | + public_configs = [ ":benchmark_config" ] |
| 55 | + defines = [ |
| 56 | + "HAVE_STD_REGEX", |
| 57 | + "HAVE_THREAD_SAFETY_ATTRIBUTES", |
| 58 | + ] |
| 59 | +} |
0 commit comments