33
44load ("@bazel_skylib//lib:selects.bzl" , "selects" )
55load ("@local_config_tensorrt//:build_defs.bzl" , "if_tensorrt" )
6- load ("@local_xla //xla/tsl/platform:build_config_root.bzl" , "if_pywrap" )
7- load ("@local_xla //xla/tsl/platform:rules_cc.bzl" , "cc_library" )
6+ load ("@xla //xla/tsl/platform:build_config_root.bzl" , "if_pywrap" )
7+ load ("@xla //xla/tsl/platform:rules_cc.bzl" , "cc_library" )
88load (
99 "//tensorflow:tensorflow.bzl" ,
1010 "check_deps" ,
@@ -69,7 +69,7 @@ filegroup(
6969 "tf_tensor_helper.h" ,
7070 "tf_tstring.h" ,
7171 "//tensorflow/core/platform:ctstring" ,
72- "@local_xla //xla/tsl/c:headers" ,
72+ "@xla //xla/tsl/c:headers" ,
7373 ] + if_tensorrt ([
7474 "//tensorflow/compiler/tf2tensorrt:headers" ,
7575 ]),
@@ -93,8 +93,8 @@ filegroup(
9393 ) + [
9494 "//tensorflow/cc:srcs_no_runtime" ,
9595 "//tensorflow/core/distributed_runtime:server_lib.h" ,
96- "@local_tsl //tsl/platform:ctstring" ,
97- "@local_xla //xla/tsl/c:srcs" ,
96+ "@tsl //tsl/platform:ctstring" ,
97+ "@xla //xla/tsl/c:srcs" ,
9898 ],
9999 visibility = ["//visibility:public" ],
100100)
@@ -112,7 +112,7 @@ cc_library(
112112 "tf_status_internal.h" ,
113113 "tf_tensor_helper.h" ,
114114 "tf_tensor_internal.h" ,
115- "@local_xla //xla/tsl/c:tsl_status_internal_headers" ,
115+ "@xla //xla/tsl/c:tsl_status_internal_headers" ,
116116 ],
117117 visibility = [
118118 "//tensorflow/core:__pkg__" ,
@@ -250,7 +250,7 @@ tf_cuda_library(
250250 "//tensorflow/core:protos_all_cc" ,
251251 "//tensorflow/core/platform:tstring" ,
252252 "@com_google_absl//absl/status" ,
253- "@local_xla //xla/tsl/c:tsl_status" ,
253+ "@xla //xla/tsl/c:tsl_status" ,
254254 ] + select ({
255255 "//tensorflow:with_xla_support" : [
256256 "//tensorflow/compiler/jit" ,
@@ -329,7 +329,7 @@ tf_cuda_library(
329329 hdrs = [
330330 "tf_status.h" ,
331331 "tf_status_internal.h" ,
332- "@local_xla //xla/tsl/c:tsl_status_internal_headers" ,
332+ "@xla //xla/tsl/c:tsl_status_internal_headers" ,
333333 ],
334334 visibility = [
335335 "//tensorflow/c:__subpackages__" ,
@@ -342,9 +342,9 @@ tf_cuda_library(
342342 ],
343343 deps = [
344344 ":c_api_macros_hdrs" ,
345- "@local_xla //xla/tsl/c:tsl_status" ,
346- "@local_xla //xla/tsl/c:tsl_status_internal" ,
347- "@local_xla //xla/tsl/platform:status" ,
345+ "@xla //xla/tsl/c:tsl_status" ,
346+ "@xla //xla/tsl/c:tsl_status_internal" ,
347+ "@xla //xla/tsl/platform:status" ,
348348 ] + select ({
349349 "//tensorflow:android" : [
350350 "//tensorflow/core:portable_tensorflow_lib_lite" , # TODO(annarev): exclude runtime srcs
@@ -359,7 +359,7 @@ filegroup(
359359 name = "tf_status_internal_headers" ,
360360 srcs = [
361361 "tf_status_internal.h" ,
362- "@local_xla //xla/tsl/c:tsl_status_internal_headers" ,
362+ "@xla //xla/tsl/c:tsl_status_internal_headers" ,
363363 ],
364364 visibility = [
365365 "//tensorflow/python:__subpackages__" ,
@@ -399,7 +399,7 @@ cc_library(
399399 deps = [
400400 ":c_api_macros_hdrs" ,
401401 ":tf_status_internal" ,
402- "@local_xla //xla/tsl/c:tsl_status" ,
402+ "@xla //xla/tsl/c:tsl_status" ,
403403 ] + select ({
404404 "//tensorflow:android" : [
405405 "//tensorflow/core:portable_tensorflow_lib_lite" , # TODO(annarev): exclude runtime srcs
@@ -416,7 +416,7 @@ cc_library(
416416 visibility = ["//visibility:public" ],
417417 deps = [
418418 ":c_api_macros_hdrs" ,
419- "@local_xla //xla/tsl/c:tsl_status_headers" ,
419+ "@xla //xla/tsl/c:tsl_status_headers" ,
420420 ],
421421)
422422
@@ -437,7 +437,7 @@ cc_library(
437437 ":tf_tensor_hdrs" ,
438438 "//tensorflow/core/platform:status" ,
439439 "//tensorflow/core/platform:tstring" ,
440- "@local_xla //xla/tsl/c:tsl_status" ,
440+ "@xla //xla/tsl/c:tsl_status" ,
441441 ],
442442)
443443
@@ -647,7 +647,7 @@ tf_cuda_library(
647647 "//tensorflow/core/platform:blocking_counter" ,
648648 "@com_google_absl//absl/strings" ,
649649 "@com_google_absl//absl/synchronization" ,
650- "@local_xla //xla/tsl/c:tsl_status_internal" ,
650+ "@xla //xla/tsl/c:tsl_status_internal" ,
651651 ],
652652 alwayslink = 1 ,
653653)
@@ -676,8 +676,8 @@ tf_cuda_library(
676676 visibility = ["//visibility:public" ],
677677 deps = [
678678 ":tf_status_headers" ,
679- "@local_xla //xla/tsl/c:tsl_status_helper" ,
680- "@local_xla //xla/tsl/platform:status" ,
679+ "@xla //xla/tsl/c:tsl_status_helper" ,
680+ "@xla //xla/tsl/platform:status" ,
681681 ],
682682)
683683
@@ -688,10 +688,10 @@ tf_cc_test(
688688 ":tf_status" ,
689689 ":tf_status_helper" ,
690690 "@com_google_googletest//:gtest_main" ,
691- "@local_xla //xla/tsl/platform:errors" ,
692- "@local_xla //xla/tsl/platform:status" ,
693- "@local_xla //xla/tsl/platform:test" ,
694- "@local_xla //xla/tsl/platform:test_main" ,
691+ "@xla //xla/tsl/platform:errors" ,
692+ "@xla //xla/tsl/platform:status" ,
693+ "@xla //xla/tsl/platform:test" ,
694+ "@xla //xla/tsl/platform:test_main" ,
695695 ],
696696)
697697
@@ -759,7 +759,7 @@ cc_library(
759759 ":tf_tensor_hdrs" ,
760760 "//tensorflow/c/experimental/stream_executor:stream_executor_hdrs" ,
761761 "//tensorflow/core/common_runtime/next_pluggable_device/c:tf_rendezvous_c_api" ,
762- "@local_tsl //tsl/platform" ,
762+ "@tsl //tsl/platform" ,
763763 ],
764764)
765765
@@ -787,7 +787,7 @@ tf_cuda_library(
787787 "@com_google_absl//absl/status" ,
788788 "@com_google_absl//absl/strings" ,
789789 "@com_google_absl//absl/synchronization" ,
790- "@local_xla //xla/tsl/c:tsl_status_internal" ,
790+ "@xla //xla/tsl/c:tsl_status_internal" ,
791791 ] + select ({
792792 "//tensorflow:android" : [
793793 "//tensorflow/c/experimental/stream_executor:stream_executor_hdrs" ,
@@ -800,9 +800,9 @@ tf_cuda_library(
800800 "//tensorflow/core:framework" ,
801801 "//tensorflow/core:framework_lite" ,
802802 "//tensorflow/core:protos_all_cc" ,
803- "@local_xla //xla/stream_executor:stream" ,
804- "@local_xla //xla/tsl/framework:device_id_utils" ,
805- "@local_xla //xla/tsl/platform:statusor" ,
803+ "@xla //xla/stream_executor:stream" ,
804+ "@xla //xla/tsl/framework:device_id_utils" ,
805+ "@xla //xla/tsl/platform:statusor" ,
806806 ],
807807 }),
808808)
0 commit comments