load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") | |
cc_library( | |
name = "pystring", | |
srcs = ["pystring.cpp"], | |
hdrs = ["pystring.h"], | |
visibility = ["//visibility:public"], | |
) | |
cc_test( | |
name = "pystring_test", | |
srcs = ["test.cpp", "unittest.h"], | |
deps = [":pystring"] | |
) |