diff options
Diffstat (limited to 'third-party/benchmark/bindings/python/google_benchmark/BUILD')
-rw-r--r-- | third-party/benchmark/bindings/python/google_benchmark/BUILD | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/third-party/benchmark/bindings/python/google_benchmark/BUILD b/third-party/benchmark/bindings/python/google_benchmark/BUILD deleted file mode 100644 index 3c1561f48eee..000000000000 --- a/third-party/benchmark/bindings/python/google_benchmark/BUILD +++ /dev/null @@ -1,38 +0,0 @@ -load("//bindings/python:build_defs.bzl", "py_extension") - -py_library( - name = "google_benchmark", - srcs = ["__init__.py"], - visibility = ["//visibility:public"], - deps = [ - ":_benchmark", - # pip; absl:app - ], -) - -py_extension( - name = "_benchmark", - srcs = ["benchmark.cc"], - copts = [ - "-fexceptions", - "-fno-strict-aliasing", - ], - features = ["-use_header_modules"], - deps = [ - "//:benchmark", - "@pybind11", - "@python_headers", - ], -) - -py_test( - name = "example", - srcs = ["example.py"], - python_version = "PY3", - srcs_version = "PY3", - visibility = ["//visibility:public"], - deps = [ - ":google_benchmark", - ], -) - |