Skip to content

Commit bab789e

Browse files
author
Michael Andreas Dagitses
committed
move //tools/codegen:codegen into shared build structure
This is currently only used by Buck. Differential Revision: [D34971529](https://our.internmc.facebook.com/intern/diff/D34971529/) **NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D34971529/)! ghstack-source-id: 151649215 Pull Request resolved: #74386
1 parent c170d39 commit bab789e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tools/codegen/build.bzl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
def define_targets(rules):
2+
rules.py_library(
3+
name = "codegen",
4+
srcs = glob(["**/*.py"]),
5+
deps = [
6+
rules.requirement("PyYAML"),
7+
rules.requirement("typing-extensions"),
8+
],
9+
visibility = ["//visibility:public"],
10+
)

0 commit comments

Comments
 (0)