crocparty/sys/BUILD

22 lines
588 B
Python
Raw Permalink Normal View History

2024-02-26 20:42:07 +00:00
load("@bazel_skylib//rules:run_binary.bzl", "run_binary")
cc_library(
name = "sys",
2024-02-26 20:42:07 +00:00
srcs = glob(["*.c"]) + [":fonts/sys_font_small.c"],
hdrs = glob(["*.h"]) + [":fonts/sys_font_small.h"],
visibility = ["//visibility:public"],
2024-02-26 20:42:07 +00:00
deps = ["//device:device"],
)
run_binary(
name = "sys_font_small",
args = [
"sys_font_small",
"256",
"$(location :fonts/sys_font_small.png)",
"$(location :fonts/sys_font_small.c)"
],
srcs = [":fonts/sys_font_small.png"],
outs = [":fonts/sys_font_small.c"],
tool = "//pytools:font",
)