diff --git a/tsl/platform/BUILD b/tsl/platform/BUILD index 112b740de..83b7a4c84 100644 --- a/tsl/platform/BUILD +++ b/tsl/platform/BUILD @@ -1324,7 +1324,6 @@ tsl_cc_test( ], deps = [ ":net", - ":platform", "@com_google_googletest//:gtest_main", "@xla//xla/tsl/platform:logging", "@xla//xla/tsl/platform:test", diff --git a/tsl/platform/net_test.cc b/tsl/platform/net_test.cc index 6aa5ff37a..25a82b62e 100644 --- a/tsl/platform/net_test.cc +++ b/tsl/platform/net_test.cc @@ -15,10 +15,6 @@ limitations under the License. #include "tsl/platform/net.h" -#include "xla/tsl/platform/logging.h" -#include "xla/tsl/platform/test.h" -#include "tsl/platform/platform.h" - #if !defined(PLATFORM_WINDOWS) #include #include @@ -27,6 +23,9 @@ limitations under the License. #include #endif // PLATFORM_WINDOWS +#include "xla/tsl/platform/logging.h" +#include "xla/tsl/platform/test.h" + namespace tsl { namespace net { #if !defined(PLATFORM_WINDOWS)