move Bazel version header generation to shared build structure (#75332)

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

ghstack-source-id: 154678044

Test Plan: Rely on OSS CI.

Reviewed By: malfet

Differential Revision: D35434229

fbshipit-source-id: 7cdd33fa32d0c485f44477e414c24c9bc4b74963
(cherry picked from commit 60285c613e8703c52f36f0bf1178e35c04574ffa)
This commit is contained in:
mikey dagitses
2022-04-25 10:45:10 -07:00
committed by PyTorch MergeBot
parent 111b2bf9da
commit f4200600e4
3 changed files with 15 additions and 8 deletions

View File

@ -19,6 +19,7 @@ rules = struct(
cc_test = cc_test,
cmake_configure_file = cmake_configure_file,
filegroup = native.filegroup,
genrule = native.genrule,
glob = native.glob,
if_cuda = if_cuda,
py_binary = native.py_binary,