message: Only run RegisterTpuPlatform() statically when running on Google platforms
diff: @@ -16,6 +16,7 @@ limitations under the License.
  #include "tensorflow/stream_executor/platform/initialize.h"
  #include "tensorflow/stream_executor/tpu/tpu_platform.h"
  +#if defined(PLATFORM_GOOGLE)
  REGISTER_MODULE_INITIALIZER(tpu_platform, tensorflow::RegisterTpuPlatform());
  DECLARE_MODULE_INITIALIZER(multi_platform_manager);
  @@ -26,3 +27,4 @@ DECLARE_MODULE_INITIALIZER(multi_platform_manager_listener);
  REGISTER_MODULE_INITIALIZER_SEQUENCE(tpu_platform, multi_platform_manager);
  REGISTER_MODULE_INITIALIZER_SEQUENCE(multi_platform_manager_listener,
  tpu_platform);
  +#endif
  