Adding strong_hash target to tensorflow/core/platform/BUILD.

PiperOrigin-RevId: 268115660
This commit is contained in:
Brian Zhao 2019-09-09 17:33:13 -07:00 committed by TensorFlower Gardener
parent 92cf1204d2
commit 2c31c016f1
2 changed files with 22 additions and 0 deletions
tensorflow/core/platform

View File

@ -56,6 +56,7 @@ tf_instantiate_platform_libraries(names = [
"fingerprint",
"mutex",
"notification",
"strong_hash",
])
cc_library(
@ -395,6 +396,16 @@ cc_library(
],
)
cc_library(
name = "strong_hash",
hdrs = ["strong_hash.h"],
deps = [
":platform",
":strong_hash_impl",
":types",
],
)
cc_library(
name = "thread_annotations",
hdrs = ["thread_annotations.h"],

View File

@ -91,6 +91,17 @@ TF_PLATFORM_LIBRARIES = {
"visibility": ["//visibility:private"],
"tags": ["no_oss", "manual"],
},
"strong_hash": {
"name": "strong_hash_impl",
"textual_hdrs": [
"//tensorflow/core/platform:default/strong_hash.h",
],
"deps": [
"@highwayhash//:sip_hash",
],
"visibility": ["//visibility:private"],
"tags": ["no_oss", "manual"],
},
}
TF_WINDOWS_PLATFORM_LIBRARIES = {