aboutsummaryrefslogtreecommitdiff
path: root/tools/interface_generator/BUILD.bazel
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2024-08-18 15:08:13 +0300
committeraqua <aqua@iserlohn-fortress.net>2024-08-18 15:08:13 +0300
commitff0286195eeb4dc659863af4afbdf9ddd4d53a1b (patch)
tree94b06a2efdf8b349f7822dd79f5a6de5780bcbe3 /tools/interface_generator/BUILD.bazel
parentMoved pytest to private (diff)
downloadkernel-ff0286195eeb4dc659863af4afbdf9ddd4d53a1b.tar.xz
Moved interface_generator script to bin
Diffstat (limited to 'tools/interface_generator/BUILD.bazel')
-rw-r--r--tools/interface_generator/BUILD.bazel38
1 files changed, 0 insertions, 38 deletions
diff --git a/tools/interface_generator/BUILD.bazel b/tools/interface_generator/BUILD.bazel
index e62d7b9..8c4bde6 100644
--- a/tools/interface_generator/BUILD.bazel
+++ b/tools/interface_generator/BUILD.bazel
@@ -1,7 +1,4 @@
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
-load("@pip//:requirements.bzl", "requirement")
-load(":defs.bzl", "generate_interface")
-load("//private:defs.bzl", "py_pytest")
package(default_visibility = ["//visibility:public"])
@@ -12,40 +9,5 @@ compile_pip_requirements(
requirements_txt = "requirements_lock.txt",
)
-py_binary(
- name = "interface_generator",
- srcs = [
- "interface_definition.py",
- "interface_generator.py",
- "templates.py",
- ],
- data = glob(["templates/*"]) + ["LICENSE.md"],
- main = "interface_generator.py",
- deps = ["@pip//mako"],
-)
-
-# interface generator python tests
-py_test(
- name = "templates_unittest",
- srcs = [
- "templates.py",
- "templates_unittest.py",
- ],
- data = glob(["templates/*"]),
- deps = ["@pip//mako"],
-)
-
-py_pytest(
- name = "pytest",
- srcs = [
- "interface_definition.py",
- "interface_generator.py",
- "templates.py",
- ],
- deps = [
- requirement("mako"),
- ],
-)
-
# make license available to test package
exports_files(["LICENSE.md"])