Migrate from xla_proto_library to tf_proto_library_cc.

compile_metadata_proto is now a tf_proto_library_cc target.

PiperOrigin-RevId: 280603021
Change-Id: Iab19d056220013fa9e62d1075820250507f3a640
This commit is contained in:
Adrian Kuegel 2019-11-15 00:06:14 -08:00 committed by TensorFlower Gardener
parent 2205360b73
commit abc6b6d2fb

View File

@ -1,8 +1,8 @@
load("//tensorflow/compiler/xla:xla.bzl", "xla_proto_library")
load(
"//tensorflow/core/platform:default/build_config.bzl",
"tf_additional_all_protos",
"tf_proto_library",
"tf_proto_library_cc",
"tf_proto_library_py",
"tf_pyclif_proto_library",
)
@ -74,18 +74,19 @@ tf_proto_library_py(
visibility = ["//visibility:public"],
)
xla_proto_library(
tf_proto_library_cc(
name = "compile_metadata_proto",
srcs = [
"compile_metadata.proto",
],
visibility = ["//visibility:public"],
deps = [
cc_api_version = 2,
protodeps = [
":dynamic_padding_proto",
"//tensorflow/compiler/xla:xla_data_proto",
"//tensorflow/compiler/xla:xla_proto",
"//tensorflow/core:protos_all",
],
visibility = ["//visibility:public"],
)
tf_pyclif_proto_library(