Files
nearby/proto/errorcode/BUILD
T
suetfei 287f0d7174 Internal Flow change for BUILD.
PiperOrigin-RevId: 424991730
2022-02-02 11:51:37 -08:00

56 lines
1.6 KiB
Python

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Proto for Nearby products
load("//net/proto2/contrib/portable/cc:portable_proto_build_defs.bzl", "portable_proto_library")
load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library")
licenses(["notice"])
package(default_visibility = ["//visibility:public"])
proto_library(
name = "error_code_enums_proto",
srcs = ["error_code_enums.proto"],
)
java_lite_proto_library(
name = "error_code_enums_java_proto_lite",
deps = [":error_code_enums_proto"],
)
cc_proto_library(
name = "error_code_enums_cc_proto",
deps = [":error_code_enums_proto"],
)
portable_proto_library(
name = "error_code_enums_portable_proto",
config = ":error_code_enums_proto_config",
copts = [
"-DGOOGLE_PROTOBUF_NO_RTTI=1",
],
proto_deps = [
":error_code_enums_proto",
],
visibility = [
"//third_party/nearby:__subpackages__",
],
)
filegroup(
name = "error_code_enums_proto_config",
srcs = ["error_code_enums_proto_config.asciipb"],
)