Usta Shrestha | 47541bb | 2023-02-14 01:09:03 -0500 | [diff] [blame] | 1 | # Copyright (C) 2023 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | load("//build/bazel/rules/python:py_proto.bzl", "py_proto_library") |
| 16 | |
| 17 | py_proto_library( |
| 18 | name = "metrics-py-proto", |
| 19 | visibility = ["//build/bazel/scripts/incremental_build:__pkg__"], |
| 20 | deps = [":metrics-proto"], |
| 21 | ) |
| 22 | |
| 23 | proto_library( |
| 24 | name = "metrics-proto", |
| 25 | srcs = [ |
| 26 | "bp2build_metrics_proto/bp2build_metrics.proto", |
| 27 | "metrics_proto/metrics.proto", |
| 28 | ], |
| 29 | strip_import_prefix = "", |
| 30 | ) |