forked from pz4kybsvg/Conception
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1007 B
48 lines
1007 B
load(
|
|
"@drake//tools/skylark:drake_cc.bzl",
|
|
"drake_cc_library",
|
|
)
|
|
load(
|
|
"@drake//tools/skylark:drake_py.bzl",
|
|
"drake_py_binary",
|
|
)
|
|
load("//tools/lint:lint.bzl", "add_lint_tests")
|
|
|
|
package(default_visibility = [
|
|
# All benchmarks should be in folders named "benchmarking".
|
|
"//common/benchmarking:__pkg__",
|
|
"//geometry/benchmarking:__pkg__",
|
|
"//multibody/benchmarking:__pkg__",
|
|
"//solvers/benchmarking:__pkg__",
|
|
"//systems/benchmarking:__pkg__",
|
|
])
|
|
|
|
drake_cc_library(
|
|
name = "fixture_common",
|
|
srcs = ["fixture_common.cc"],
|
|
hdrs = ["fixture_common.h"],
|
|
deps = [
|
|
"@googlebenchmark//:benchmark",
|
|
],
|
|
)
|
|
|
|
drake_cc_library(
|
|
name = "gflags_main",
|
|
srcs = ["gflags_main.cc"],
|
|
deps = [
|
|
"@gflags",
|
|
"@googlebenchmark//:benchmark",
|
|
],
|
|
)
|
|
|
|
drake_py_binary(
|
|
name = "benchmark_tool",
|
|
testonly = True,
|
|
srcs = ["benchmark_tool.py"],
|
|
data = [
|
|
"//tools/workspace/cc:compiler.txt",
|
|
],
|
|
)
|
|
|
|
add_lint_tests()
|