aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/gbenchmark/benchmark.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-06-08 13:56:44 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-06-08 13:56:44 +0300
commit40479c2d3d1e9bd3eb213aba537570d28d37d8a2 (patch)
tree9a275dff7a8b4b20f6c7f33022a7ef800d7a4063 /library/cpp/testing/gbenchmark/benchmark.h
parent74801b5fa21692b9fce51b8096694453568cbf8a (diff)
downloadydb-40479c2d3d1e9bd3eb213aba537570d28d37d8a2.tar.gz
Restrict direct usages of google benchmarking library
Forbid PEERDIR-ing Google Benchmark from modules other than G_BENCHMARK.
Diffstat (limited to 'library/cpp/testing/gbenchmark/benchmark.h')
-rw-r--r--library/cpp/testing/gbenchmark/benchmark.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/cpp/testing/gbenchmark/benchmark.h b/library/cpp/testing/gbenchmark/benchmark.h
new file mode 100644
index 0000000000..b7be8ef533
--- /dev/null
+++ b/library/cpp/testing/gbenchmark/benchmark.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#include <contrib/restricted/google/benchmark/include/benchmark/benchmark.h>