diff options
author | Yannic <contact@yannic-bonenberger.com> | 2021-01-05 10:54:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 09:54:04 +0000 |
commit | 8df87f6c879cbcabd17c5cfcec7b89687df36953 (patch) | |
tree | 815f03650e3516107669f3c95ac28e3d028aacb5 | |
parent | a6d08aea4b70c5532736924377df8be62ef2067a (diff) | |
download | google-benchmark-8df87f6c879cbcabd17c5cfcec7b89687df36953.tar.gz |
Revert "Add bazel target for benchmark_release (#1078)" (#1081)
This reverts commit d8254bb9eb5f6deeddee639d0b27347e186e0a84.
-rw-r--r-- | BUILD.bazel | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 2d87177..eb35b62 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -10,8 +10,8 @@ config_setting( visibility = [":__subpackages__"], ) -filegroup( - name = "benchmark_srcs", +cc_library( + name = "benchmark", srcs = glob( [ "src/*.cc", @@ -19,25 +19,7 @@ filegroup( ], exclude = ["src/benchmark_main.cc"], ), -) - -cc_library( - name = "benchmark", - srcs = [":benchmark_srcs"], - hdrs = ["include/benchmark/benchmark.h"], - linkopts = select({ - ":windows": ["-DEFAULTLIB:shlwapi.lib"], - "//conditions:default": ["-pthread"], - }), - strip_include_prefix = "include", - visibility = ["//visibility:public"], -) - -cc_library( - name = "benchmark_release", - srcs = [":benchmark_srcs"], hdrs = ["include/benchmark/benchmark.h"], - defines = ["NDEBUG"], linkopts = select({ ":windows": ["-DEFAULTLIB:shlwapi.lib"], "//conditions:default": ["-pthread"], |