File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
shim/xplat/executorch/build Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def _patch_kwargs_common(kwargs):
171171 # don't pick up unexpected clients while things are still in flux.
172172 if not kwargs .pop ("_is_external_target" , False ):
173173 for target in kwargs .get ("visibility" , []):
174- if not (target .startswith ("//executorch" ) or target .startswith ("@" )):
174+ if not (target .startswith ("//executorch" ) or target .startswith ("//pytorch/tokenizers" ) or target . startswith ( " @" )):
175175 fail ("Please manage all external visibility using the " +
176176 "EXECUTORCH_CLIENTS list in " +
177177 "//executorch/build/fb/clients.bzl. " +
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ def define_common_targets():
2121 ],
2222 visibility = [
2323 "//executorch/..." ,
24+ "//pytorch/tokenizers/..." ,
2425 "@EXECUTORCH_CLIENTS" ,
2526 ],
2627 deps = [
You can’t perform that action at this time.
0 commit comments