Jaesung Chung 62feaa576a Update the remaining unchanged spots, which read builtin code
PiperOrigin-RevId: 338183423
Change-Id: Ib208da7e61475165b58dbac3771c9c330ca6f101
2020-10-20 19:30:01 -07:00

50 lines
1.3 KiB
Python

load(
"//tensorflow:tensorflow.bzl",
"tf_cc_test",
)
load("//tensorflow:tensorflow.bzl", "get_compatible_with_cloud")
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "versioning",
srcs = [
"op_version.cc",
"runtime_version.cc",
],
hdrs = [
"op_version.h",
"runtime_version.h",
],
compatible_with = get_compatible_with_cloud(),
deps = [
"//tensorflow/core:tflite_portable_logging",
"//tensorflow/lite:minimal_logging",
"//tensorflow/lite/kernels/internal:compatibility",
"//tensorflow/lite/schema:schema_fbs",
"//tensorflow/lite/schema:schema_fbs_with_mutable",
"//tensorflow/lite/schema:schema_utils",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/strings",
"@flatbuffers",
],
)
tf_cc_test(
name = "versioning_test",
srcs = [
"op_version_test.cc",
"runtime_version_test.cc",
],
deps = [
":versioning",
"//tensorflow/lite/kernels:builtin_ops",
"//tensorflow/lite/schema:schema_fbs",
"//tensorflow/lite/schema:schema_fbs_with_mutable",
"@com_google_googletest//:gtest_main",
],
)