| load("@protobuf//bazel:java_proto_library.bzl", "java_proto_library") |
| load("@protobuf//bazel:proto_library.bzl", "proto_library") |
| load("@rules_license//rules:license.bzl", "license") |
| |
| package( |
| default_applicable_licenses = [":license"], |
| default_visibility = ["//visibility:public"], |
| ) |
| |
| licenses(["notice"]) # Apache 2.0 |
| |
| license( |
| name = "license", |
| package_name = "pprof", |
| license_kinds = [ |
| "@rules_license//licenses/spdx:Apache-2.0", |
| ], |
| license_text = "LICENSE", |
| ) |
| |
| filegroup( |
| name = "srcs", |
| srcs = glob(["**"]), |
| ) |
| |
| proto_library( |
| name = "profile_proto", |
| srcs = ["profile.proto"], |
| ) |
| |
| java_proto_library( |
| name = "profile_java_proto", |
| deps = [":profile_proto"], |
| ) |