mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
The only Postbox usage in Sources/ was a `PeerId?` parameter in the public signature of openUserGeneratedUrl. Switch to the EnginePeer.Id typealias (same type as PeerId, so no call sites break) and remove the Postbox import. Add TelegramCore to BUILD deps since EnginePeer lives there; Postbox was not in BUILD (was transitively supplied). Behavior-preserving. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
1,001 B
Text
29 lines
1,001 B
Text
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
|
|
|
|
swift_library(
|
|
name = "PresentationDataUtils",
|
|
module_name = "PresentationDataUtils",
|
|
srcs = glob([
|
|
"Sources/**/*.swift",
|
|
]),
|
|
copts = [
|
|
"-warnings-as-errors",
|
|
],
|
|
deps = [
|
|
"//submodules/Display:Display",
|
|
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
|
|
"//submodules/TelegramCore:TelegramCore",
|
|
"//submodules/AccountContext:AccountContext",
|
|
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
|
"//submodules/AlertUI:AlertUI",
|
|
"//submodules/ItemListUI:ItemListUI",
|
|
"//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
|
|
"//submodules/OverlayStatusController:OverlayStatusController",
|
|
"//submodules/UrlWhitelist:UrlWhitelist",
|
|
"//submodules/TelegramUI/Components/AlertComponent",
|
|
"//submodules/UrlHandling",
|
|
],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|