1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
load("//benchmarks:defs.bzl", "py_library", "requirement")
package(
default_visibility = ["//benchmarks:__subpackages__"],
licenses = ["notice"],
)
py_library(
name = "harness",
srcs = ["__init__.py"],
)
py_library(
name = "machine_producer",
srcs = ["machine_producer.py"],
)
py_library(
name = "mock_producer",
srcs = ["mock_producer.py"],
deps = [
"//benchmarks/harness:machine",
"//benchmarks/harness/machine_producers:machine_producer",
],
)
py_library(
name = "yaml_producer",
srcs = ["yaml_producer.py"],
deps = [
"//benchmarks/harness:machine",
"//benchmarks/harness/machine_producers:machine_producer",
requirement("PyYAML", False),
],
)
|