8000 move aten_core_headers to common build structure · pytorch/pytorch@b7fdaeb · GitHub
[go: up one dir, main page]

Skip to content

Commit b7fdaeb

Browse files
author
Michael Andreas Dagitses
committed
move aten_core_headers to common build structure
Differential Revision: [D36597720](https://our.internmc.facebook.com/intern/diff/D36597720/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D36597720/)! [ghstack-poisoned]
1 parent 193a95d commit b7fdaeb

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

BUILD.bazel

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,6 @@ header_template_rule(
212212
},
213213
)
214214

215-
cc_library(
216-
name = "aten_core_headers",
217-
hdrs = aten_core_hdrs(rules = rules),
218-
strip_include_prefix = "aten/src/",
219-
deps = ["//c10:headers"],
220-
)
221-
222215
cc_library(
223216
name = "aten_headers",
224217
hdrs = glob([

build.bzl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ load(
66
)
77

88
def define_targets(rules):
9+
rules.cc_library(
10+
name = "aten_core_headers",
11+
hdrs = aten_core_hdrs(rules = rules),
12+
strip_include_prefix = "aten/src/",
13+
deps = ["//c10"],
14+
visibility = ["//visibility:private"],
15+
)
16+
917
rules.cc_library(
1018
name = "caffe2_serialize",
1119
srcs = [

0 commit comments

Comments
 (0)
0