load("@rules_cc//cc:defs.bzl", "cc_library") | |
cc_library( | |
name = "xtrans", | |
hdrs = [ | |
"Xtrans.c", | |
"Xtrans.h", | |
"Xtransint.h", | |
"Xtranslcl.c", | |
"Xtranssock.c", | |
"Xtransutil.c", | |
"transport.c", | |
], | |
features = ["parse_headers"], | |
include_prefix = "X11/Xtrans", | |
visibility = ["//visibility:public"], | |
) | |
alias( | |
name = "libxtrans", | |
actual = ":xtrans", | |
visibility = ["//visibility:public"], | |
) |