Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
771 B
32 lines
771 B
8 months ago
|
# Copyright (c) 2009-2021, 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
|
||
|
|
||
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||
|
load("@rules_python//python:defs.bzl", "py_binary")
|
||
|
|
||
|
# begin:google_only
|
||
|
# package(default_applicable_licenses = ["//upb:license"])
|
||
|
# end:google_only
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
# begin:google_only
|
||
|
# selects.config_setting_group(
|
||
|
# name = "android_opt",
|
||
|
# match_all = [
|
||
|
# "//tools/cc_target_os:android",
|
||
|
# "//tools/compilation_mode:opt",
|
||
|
# ],
|
||
|
# )
|
||
|
# end:google_only
|
||
|
|
||
|
py_binary(
|
||
|
name = "amalgamate",
|
||
|
srcs = ["amalgamate.py"],
|
||
|
visibility = ["//upb:__pkg__"],
|
||
|
)
|