Move THPStorage definitions out of `torch/csrc/generic` (#78032)
Fixes #77908
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78032
Approved by: https://github.com/ezyang
diff --git a/tools/build_variables.bzl b/tools/build_variables.bzl
index 24a7367..bdb5775 100644
--- a/tools/build_variables.bzl
+++ b/tools/build_variables.bzl
@@ -843,6 +843,8 @@
"torch/csrc/python_dimname.cpp",
"torch/csrc/Size.cpp",
"torch/csrc/Storage.cpp",
+ "torch/csrc/StorageMethods.cpp",
+ "torch/csrc/StorageSharing.cpp",
"torch/csrc/Stream.cpp",
"torch/csrc/TypeInfo.cpp",
"torch/csrc/api/src/python/init.cpp",