aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/google/benchmark/ya.make
blob: 73451b6535cfa4dcdfa51c9261953895adc026b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

VERSION(1.9.0)

ORIGINAL_SOURCE(https://github.com/google/benchmark/archive/v1.9.0.tar.gz)

LICENSE(Apache-2.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

ADDINCL(
    GLOBAL contrib/restricted/google/benchmark/include
    contrib/restricted/google/benchmark/src
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    GLOBAL -DBENCHMARK_STATIC_DEFINE
    -DBENCHMARK_VERSION=\"v1.9.0\"
    -DHAVE_POSIX_REGEX
    -DHAVE_PTHREAD_AFFINITY
    -DHAVE_STD_REGEX
    -DHAVE_STEADY_CLOCK
)

IF (OS_LINUX)
    CFLAGS(
        -DBENCHMARK_HAS_PTHREAD_AFFINITY
    )
ENDIF()

SRCS(
    src/benchmark.cc
    src/benchmark_api_internal.cc
    src/benchmark_name.cc
    src/benchmark_register.cc
    src/benchmark_runner.cc
    src/check.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/perf_counters.cc
    src/reporter.cc
    src/statistics.cc
    src/string_util.cc
    src/sysinfo.cc
    src/timers.cc
)

END()

RECURSE(
    test
    tools
)