Download this file

47 lines (41 with data), 978 Bytes

 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
36
37
38
39
40
41
42
43
44
45
46
# Placeholder: load py_test
load("//third_party:clif.bzl", "py_clif_cc")
package(
#default_applicable_licenses = ["//third_party/nucleus:license"],
default_visibility = [
"//visibility:public",
],
)
licenses(["notice"])
py_clif_cc(
name = "math",
srcs = ["math.clif"],
py_deps = [],
pyclif_deps = [],
deps = ["//third_party/nucleus/util:cpp_math"],
)
py_test(
name = "math_wrap_test",
size = "small",
srcs = ["math_wrap_test.py"],
data = [],
python_version = "PY3",
srcs_version = "PY3",
deps = [
":math",
"@absl_py//absl/testing:absltest",
],
)
py_clif_cc(
name = "utils",
srcs = ["utils.clif"],
py_deps = [],
pyclif_deps = [
"//third_party/nucleus/protos:range_pyclif",
"//third_party/nucleus/protos:reads_pyclif",
],
deps = [
"//third_party/nucleus/util:cpp_utils",
"//third_party/nucleus/util:proto_clif_converter",
],
)