mirror of
https://github.com/google-ai-edge/LiteRT.git
synced 2026-01-09 06:21:22 +08:00
Update litert_runtime_c_api_shared_lib to depends on proper dylib file
LiteRT-PiperOrigin-RevId: 853469560
This commit is contained in:
parent
5cd2ae9875
commit
ace5318762
@ -786,7 +786,7 @@ SELECT_LITERT_RUNTIME_C_API_SO = select({
|
||||
":resolve_symbols_in_exec": [],
|
||||
"@platforms//os:ios": [":litert_runtime_c_api_dylib"],
|
||||
":litert_macos_wheel_use_so": [":litert_runtime_c_api_so"],
|
||||
":litert_macos_default": [":litert_runtime_c_api_dylib"],
|
||||
"@platforms//os:macos": [":litert_runtime_c_api_dylib"],
|
||||
"@platforms//os:windows": [],
|
||||
"//conditions:default": [":litert_runtime_c_api_so"],
|
||||
})
|
||||
@ -811,12 +811,6 @@ config_setting(
|
||||
define_values = {"litert_macos_wheel_use_so": "true"},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "litert_macos_default",
|
||||
constraint_values = ["@platforms//os:macos"],
|
||||
define_values = {"litert_macos_wheel_use_so": "false"},
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "c_api_headers",
|
||||
srcs = glob(["litert_*.h"]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user