• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@rules_cc//cc:defs.bzl", "cc_library")
2
3package(
4    default_visibility = ["//visibility:private"],
5)
6
7filegroup(
8    name = "distribution",
9    srcs = [
10        "BUILD.bazel",
11    ] + glob([
12        "*.cc",
13        "*.h",
14    ]),
15    visibility = ["//visibility:public"],
16)
17
18cc_library(
19    name = "namer",
20    hdrs = [
21        "idl_namer.h",
22        "namer.h",
23    ],
24    strip_include_prefix = "/include",
25    visibility = ["//:__subpackages__"],
26    deps = ["//:runtime_cc"],
27)
28
29cc_library(
30    name = "python",
31    srcs = ["python.cc"],
32    hdrs = ["python.h"],
33    strip_include_prefix = "/include",
34    visibility = [
35        "//grpc:__subpackages__",
36        "//src:__subpackages__",
37    ],
38    deps = [":namer"],
39)
40