remove //c10:headers dependency from //c10 (#70996)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70996

This is no longer necessary and does not exist internally.
ghstack-source-id: 148159361

Test Plan: Relying on CI.

Reviewed By: malfet

Differential Revision: D33477755

fbshipit-source-id: 7d375a0770d5c6277cfdea4bb0e85a9b2b4f40cd
This commit is contained in:
mikey dagitses 2022-02-03 14:49:37 -08:00 committed by Facebook GitHub Bot
parent 469f3d0562
commit 360f9a548c

View File

@ -51,18 +51,22 @@ cc_library(
cc_library( cc_library(
name = "c10", name = "c10",
deps = [ deps = [
":headers",
"//c10/core:CPUAllocator", "//c10/core:CPUAllocator",
"//c10/core:ScalarType", "//c10/core:ScalarType",
"//c10/core:alignment",
"//c10/core:alloc_cpu", "//c10/core:alloc_cpu",
"//c10/core:base", "//c10/core:base",
"//c10/macros",
"//c10/mobile:CPUCachingAllocator", "//c10/mobile:CPUCachingAllocator",
"//c10/mobile:CPUProfilingAllocator", "//c10/mobile:CPUProfilingAllocator",
"//c10/util:TypeCast", "//c10/util:TypeCast",
"//c10/util:base", "//c10/util:base",
"//c10/util:typeid", "//c10/util:typeid",
] + if_cuda( ] + if_cuda(
["//c10/cuda"], [
"//c10/cuda",
"//c10/cuda:Macros",
],
[], [],
), ),
alwayslink = True, alwayslink = True,