Skip to content

Commit 139be81

Browse files
authored
Update .ptd serialization target visibility to include clients (#8582)
Update .ptd serialization target visibility to include clients (#8582) Summary: Make .ptd saving utilities visible outside of targets within *executorch*. Reviewed By: jackzhxng Differential Revision: D69871232
1 parent 2fff01a commit 139be81

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

extension/flat_tensor/serialize/targets.bzl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def define_common_targets():
3939
name = "flat_tensor_header",
4040
srcs = ["flat_tensor_header.cpp"],
4141
exported_headers = ["flat_tensor_header.h"],
42-
visibility = ["//executorch/..."],
42+
visibility = [
43+
"//executorch/...",
44+
],
4345
exported_deps = ["//executorch/runtime/core:core"],
4446
)
4547

@@ -54,6 +56,7 @@ def define_common_targets():
5456
exported_headers = ["serialize.h"],
5557
visibility = [
5658
"//executorch/...",
59+
"@EXECUTORCH_CLIENTS",
5760
],
5861
exported_external_deps = ["flatbuffers-api"],
5962
)

0 commit comments

Comments
 (0)