blob: 3dfb0f80ec3bd12926623af3d1a5230a383f079c [file] [log] [blame]
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@@//build/utils:template_file.bzl", "template_file")
template_file(
name = "config.h",
src = "@@//third_party/urcu:config.h.in",
substitutions = { },
)
cc_library(
name = "urcu",
srcs = glob(
[
"src/*.c",
"src/*.h",
],
),
hdrs = glob(["include/**/*.h"]),
includes = ["include"],
local_defines = ["RCU_MEMBARRIER", "_GNU_SOURCE"],
visibility = ["//visibility:public"],
)