Introduce hpb_proto_library_bzl

PiperOrigin-RevId: 660150036
pull/17746/head
Hong Shin 6 months ago committed by Copybara-Service
parent c8272f5b0e
commit 2f8472adc1
  1. 11
      hpb/bazel/BUILD
  2. 14
      hpb/bazel/hpb_proto_library.bzl

@ -13,6 +13,17 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
licenses(["notice"])
bzl_library(
name = "hpb_proto_library_bzl",
srcs = ["hpb_proto_library.bzl"],
visibility = ["//visibility:public"],
deps = [
"//bazel:upb_proto_library_bzl",
"@bazel_skylib//lib:paths",
"@bazel_tools//tools/cpp:toolchain_utils.bzl",
],
)
bzl_library(
name = "upb_cc_proto_library_bzl",
srcs = ["upb_cc_proto_library.bzl"],

@ -0,0 +1,14 @@
# Copyright (c) 2024 Google LLC
# All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
"""Public rules for using hpb:
- hpb_proto_library()
"""
load("//hpb/bazel:upb_cc_proto_library.bzl", "upb_cc_proto_library")
hpb_proto_library = upb_cc_proto_library
Loading…
Cancel
Save