Extend tf_platform_alias with variable platform_dir argument.
PiperOrigin-RevId: 306655077 Change-Id: I30b1577b5d25a51f54a75cc1b8635daa628a92b8
This commit is contained in:
parent
816f73b2c4
commit
e52f9cf556
@ -750,8 +750,8 @@ def tf_windows_aware_platform_deps(name):
|
||||
def tf_platform_deps(name, platform_dir = "//tensorflow/core/platform/"):
|
||||
return [platform_dir + "default:" + name]
|
||||
|
||||
def tf_platform_alias(name):
|
||||
return ["//tensorflow/core/platform/default:" + name]
|
||||
def tf_platform_alias(name, platform_dir = "//tensorflow/core/platform/"):
|
||||
return [platform_dir + "default:" + name]
|
||||
|
||||
def tf_logging_deps():
|
||||
return ["//tensorflow/core/platform/default:logging"]
|
||||
|
Loading…
Reference in New Issue
Block a user