@@ -23,10 +23,7 @@ def define_common_targets():
2323 exported_headers = [
2424 "scalar_type_util.h" ,
2525 ],
26- visibility = [
27- "//executorch/..." ,
28- "@EXECUTORCH_CLIENTS" ,
29- ],
26+ visibility = ["PUBLIC" ],
3027 exported_preprocessor_flags = exported_preprocessor_flags_ ,
3128 exported_deps = exported_deps_ ,
3229 exported_external_deps = ["libtorch" ] if aten_mode else [],
@@ -42,10 +39,7 @@ def define_common_targets():
4239 "//executorch/runtime/core:core" ,
4340 "//executorch/runtime/core/portable_type/c10/c10:c10" ,
4441 ],
45- visibility = [
46- "//executorch/..." ,
47- "@EXECUTORCH_CLIENTS" ,
48- ],
42+ visibility = ["PUBLIC" ],
4943 exported_preprocessor_flags = ["-DUSE_ATEN_LIB" ] if aten_mode else [],
5044 )
5145
@@ -55,10 +49,7 @@ def define_common_targets():
5549 exported_headers = [
5650 "tensor_util.h" ,
5751 ],
58- visibility = [
59- "//executorch/..." ,
60- "@EXECUTORCH_CLIENTS" ,
61- ],
52+ visibility = ["PUBLIC" ],
6253 exported_preprocessor_flags = ["-DUSE_ATEN_LIB" ] if aten_mode else [],
6354 exported_deps = [
6455 ":tensor_dimension_limit" ,
@@ -84,17 +75,11 @@ def define_common_targets():
8475 "//executorch/runtime/core/exec_aten/util:tensor_dimension_limit" ,
8576 ],
8677 exported_headers = ["tensor_shape_to_c_string.h" ],
87- visibility = [
88- "//executorch/..." ,
89- "@EXECUTORCH_CLIENTS" ,
90- ],
78+ visibility = ["PUBLIC" ],
9179 )
9280
9381 runtime .cxx_library (
9482 name = "tensor_dimension_limit" ,
9583 exported_headers = ["tensor_dimension_limit.h" ],
96- visibility = [
97- "//executorch/..." ,
98- "@EXECUTORCH_CLIENTS" ,
99- ],
84+ visibility = ["PUBLIC" ],
10085 )
0 commit comments