2020-01-27 18:04:07 +00:00
|
|
|
load("//tools:defs.bzl", "pkg_tar", "py_library", "py_requirement", "py_test")
|
2019-12-03 06:51:55 +00:00
|
|
|
|
|
|
|
package(
|
|
|
|
default_visibility = ["//benchmarks:__subpackages__"],
|
|
|
|
licenses = ["notice"],
|
|
|
|
)
|
|
|
|
|
|
|
|
py_library(
|
|
|
|
name = "syscall",
|
|
|
|
srcs = ["__init__.py"],
|
|
|
|
)
|
|
|
|
|
|
|
|
py_test(
|
|
|
|
name = "syscall_test",
|
|
|
|
srcs = ["syscall_test.py"],
|
|
|
|
python_version = "PY3",
|
|
|
|
deps = [
|
|
|
|
":syscall",
|
2020-01-27 18:04:07 +00:00
|
|
|
py_requirement("attrs", False),
|
|
|
|
py_requirement("atomicwrites", False),
|
|
|
|
py_requirement("more-itertools", False),
|
|
|
|
py_requirement("pathlib2", False),
|
|
|
|
py_requirement("pluggy", False),
|
|
|
|
py_requirement("py", False),
|
|
|
|
py_requirement("pytest", True),
|
|
|
|
py_requirement("six", False),
|
2019-12-03 06:51:55 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-01-15 22:24:55 +00:00
|
|
|
pkg_tar(
|
|
|
|
name = "tar",
|
2019-12-03 06:51:55 +00:00
|
|
|
srcs = [
|
|
|
|
"Dockerfile",
|
|
|
|
"syscall.c",
|
|
|
|
],
|
|
|
|
)
|