aboutsummaryrefslogtreecommitdiff
path: root/scripts/difftool/BUILD.bazel
blob: 719bc4123c48a67097ea74a85616339a6c165d1d (plain)
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
filegroup (
  name = "collect_zip",
  srcs = [":collect"],
  output_group = "python_zip_file",
)

py_binary(
    name = "collect",
    srcs = ["collect.py"],
    python_version = "PY3",
)

filegroup (
  name = "difftool_zip",
  srcs = [":difftool"],
  output_group = "python_zip_file",
)

py_library(
    name = "difftool_commands",
    srcs = [
        "clangcompile.py",
        "commands.py",
    ],
)

py_test(
    name = "difftool_test",
    srcs = ["difftool_test.py"],
    deps = [":difftool", ":collect"],
)

py_binary(
    name = "difftool",
    srcs = ["difftool.py"],
    deps = [":difftool_commands", ":collect"],
    python_version = "PY3",
)