File tree 2 files changed +2
-1
lines changed
shim/xplat/executorch/build
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):
171
171
# don't pick up unexpected clients while things are still in flux.
172
172
if not kwargs .pop ("_is_external_target" , False ):
173
173
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 ( " @" )):
175
175
fail ("Please manage all external visibility using the " +
176
176
"EXECUTORCH_CLIENTS list in " +
177
177
"//executorch/build/fb/clients.bzl. " +
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ def define_common_targets():
21
21
],
22
22
visibility = [
23
23
"//executorch/..." ,
24
+ "//pytorch/tokenizers/..." ,
24
25
"@EXECUTORCH_CLIENTS" ,
25
26
],
26
27
deps = [
You can’t perform that action at this time.
0 commit comments