Skip to content

Commit 945078f

Browse files
terryheocopybara-github
authored andcommitted
LiteRT-LM: Apply recent LiteRT API refactoring
Use Handle, SharedLibrary in litert/internal LiteRT-PiperOrigin-RevId: 822357722
1 parent 64eb17c commit 945078f

File tree

4 files changed

+0
-607
lines changed

4 files changed

+0
-607
lines changed

litert/cc/BUILD

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,35 +1170,6 @@ cc_library(
11701170
# )
11711171
# copybara:uncomment_end(google-only)
11721172

1173-
# Temporary targets for LiteRT-LM API migration.
1174-
# TODO: b/451641822 - Remove these targets.
1175-
1176-
cc_library(
1177-
name = "litert_handle",
1178-
hdrs = ["litert_handle.h"],
1179-
visibility = [
1180-
"//third_party/odml/litert_lm:__subpackages__",
1181-
],
1182-
)
1183-
1184-
cc_library(
1185-
name = "litert_shared_library",
1186-
srcs = ["litert_shared_library.cc"],
1187-
hdrs = ["litert_shared_library.h"],
1188-
visibility = [
1189-
"//third_party/odml/litert_lm:__subpackages__",
1190-
],
1191-
deps = [
1192-
":litert_expected",
1193-
":litert_macros",
1194-
"//litert/c:litert_common",
1195-
"//litert/c/internal:litert_logging",
1196-
"@com_google_absl//absl/debugging:leak_check",
1197-
"@com_google_absl//absl/strings:str_format",
1198-
"@com_google_absl//absl/strings:string_view",
1199-
],
1200-
)
1201-
12021173
# -----------------------------------------------------------------------------
12031174
# LiteRT C++ APIs which needs to use (dynamic) C Runtime Framework.
12041175
#
@@ -1219,7 +1190,6 @@ cc_library(
12191190
"litert_environment_options.h",
12201191
"litert_event.h",
12211192
"litert_expected.h",
1222-
"litert_handle.h", # TODO: b/451641822 - Remove this target.
12231193
"litert_layout.h",
12241194
"litert_macros.h",
12251195
"litert_model.h",

litert/cc/litert_handle.h

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)