Skip to content

Commit 07c3daa

Browse files
Vysaratfacebook-github-bot
authored andcommitted
Expose gen_oplist_lib to clients
Summary: I'm working on a linter that checks a model's ops against those available in our runtime environment (see D75110565), and I'd like to call `gen_oplist` programmatically. I can't do that because `gen_oplist_lib` is not visible outside the `executorch` subdir. If there are no objections, I'd like to expose it to clients. Differential Revision: D75630096
1 parent 1f697f0 commit 07c3daa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codegen/tools/targets.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def define_common_targets(is_fbcode = False):
1414
base_module = "executorch.codegen.tools",
1515
visibility = [
1616
"//executorch/...",
17+
"@EXECUTORCH_CLIENTS",
1718
],
1819
deps = [
1920
"//executorch/codegen:gen_lib",

0 commit comments

Comments
 (0)