Skip to content

Commit daf7e80

Browse files
aaronndxcopybara-github
authored andcommitted
Let litert_shared_library be visible from other repos.
Currently there is no known way to let a package group "litert_public" define visibility that can let the target be visible from another repository. Only direct definition of "visibility = ["//visibility:public"]" works. This is a temp solution since for now only this library is related. Should discuss about further solutions later if necessary. LiteRT-PiperOrigin-RevId: 767292232
1 parent 37b737d commit daf7e80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

litert/cc/BUILD

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,11 @@ cc_library(
419419
srcs = ["litert_shared_library.cc"],
420420
hdrs = ["litert_shared_library.h"],
421421
visibility = [
422-
"//litert:litert_public",
422+
# copybara:uncomment_begin(oss)
423+
# "//litert:litert_public",
424+
# copybara:uncomment_end_and_comment_begin
425+
"//visibility:public",
426+
# copybara:comment_end
423427
],
424428
deps = [
425429
":litert_expected",

0 commit comments

Comments
 (0)