• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2009-2024, Google LLC
2# All rights reserved.
3#
4# Use of this source code is governed by a BSD-style
5# license that can be found in the LICENSE file or at
6# https://developers.google.com/open-source/licenses/bsd
7"""java_lite_proto_library rule"""
8
9load("//bazel/private:java_lite_proto_library.bzl", _java_lite_proto_library = "java_lite_proto_library")  # buildifier: disable=bzl-visibility
10
11def java_lite_proto_library(**kwattrs):
12    # Only use Starlark rules when they are removed from Bazel
13    if not hasattr(native, "java_lite_proto_library"):
14        _java_lite_proto_library(**kwattrs)
15    else:
16        native.java_lite_proto_library(**kwattrs)
17