101 lines
2.7 KiB
Python
101 lines
2.7 KiB
Python
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
|
|
#
|
|
# 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
|
|
#
|
|
# http://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.
|
|
# ==============================================================================
|
|
|
|
load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library")
|
|
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
|
|
load("@rules_python//python:proto.bzl", "py_proto_library")
|
|
load(
|
|
"//tensorflow/core/platform:build_config.bzl",
|
|
"tf_proto_library",
|
|
)
|
|
# copybara:uncomment load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library")
|
|
|
|
package(
|
|
# copybara:uncomment default_applicable_licenses = ["//tensorflow:LICENSE"],
|
|
default_visibility = ["//visibility:public"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
proto_library(
|
|
name = "evaluation_stages_proto",
|
|
srcs = [
|
|
"evaluation_stages.proto",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
deps = [":preprocessing_steps_proto"],
|
|
)
|
|
|
|
cc_proto_library(
|
|
name = "evaluation_stages_cc_proto",
|
|
deps = ["evaluation_stages_proto"],
|
|
)
|
|
|
|
tf_proto_library(
|
|
name = "evaluation_stages", # bzl adds _py
|
|
srcs = [
|
|
"evaluation_stages.proto",
|
|
],
|
|
protodeps = [":preprocessing_steps"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
tf_proto_library(
|
|
name = "preprocessing_steps",
|
|
srcs = [
|
|
"preprocessing_steps.proto",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
proto_library(
|
|
name = "evaluation_config_proto",
|
|
srcs = [
|
|
"evaluation_config.proto",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
deps = [":evaluation_stages_proto"],
|
|
)
|
|
|
|
cc_proto_library(
|
|
name = "evaluation_config_cc_proto",
|
|
deps = ["evaluation_config_proto"],
|
|
)
|
|
|
|
java_proto_library(
|
|
name = "evaluation_config_java_proto",
|
|
deps = ["evaluation_config_proto"],
|
|
)
|
|
|
|
proto_library(
|
|
name = "preprocessing_steps_proto",
|
|
srcs = [
|
|
"preprocessing_steps.proto",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
cc_proto_library(
|
|
name = "preprocessing_steps_cc_proto",
|
|
deps = ["preprocessing_steps_proto"],
|
|
)
|
|
|
|
# copybara:uncomment_begin(google-only)
|
|
# py_proto_library(
|
|
# name = "evaluation_stages_py_pb2",
|
|
# visibility = ["//visibility:public"],
|
|
# deps = [":evaluation_stages_proto"],
|
|
# )
|
|
# copybara:uncomment_end
|