mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-06-20 18:24:43 +00:00
Squashes 79 sequential refactor waves into a single commit. Highlights: - Drop `import Postbox` (and matching `//submodules/Postbox` BUILD deps) from a wide swath of consumer files: ChatList, ChatMessage*BubbleContentNode subclasses, ListMessageNode/ListMessageItem, GalleryData, ChatHistorySearchContainerNode, ChatPanelInterfaceInteraction, ChatControllerInteraction, ChatMessageStickerItemNode, ChatMessageReplyInfoNode, ChatMessageInstantVideoItemNode, ChatPresentationInterfaceState, BrowserMarkdown/Readability, MediaResources, LocalMediaResources, ICloudResources, FetchManager, ShareController, OpenChatMessage, GalleryController, GroupStickerSearchContainerNode, GroupStickerPackCurrentItem, ChatPinnedMessageTitlePanelNode, OverlayAudioPlayerController, PresentationThemeSettings, StatisticsUI/StoryIconNode, TextFormat/StringWithAppliedEntities, GalleryUI/VideoAdComponent, StickerPackPreviewUI, WallpaperPreviewMedia, WallpaperResources, YoutubeEmbedImplementation, InstantPageExternalMediaResource, PlatformRestrictionMatching, TelegramUIDeclareEncodables, ChatListNode/ChatListSearchContainerNode. - Add `TelegramEngine` facades: `Themes.wallpapers`, `Themes.themes`, `AccountData.addAppLogEvent`. - Add `EngineMessageHistoryEntryLocation` wrapper. - Add `EngineRaw*` escape-hatch typealiases (`EngineRawMessage`, `EngineRawPeer`, `EngineRawMedia`, `EngineRawMediaResource`, `EngineRawMediaResourceData`, `EngineRawItemCollectionItem`, `EngineRawItemCollectionInfo`) and `engineDeclareEncodable` forwarder. - Drop unused `account:`/`postbox:`/`network:` parameters from several public functions and delete the dead overloads/types/functions left over: `automaticThemeShouldSwitchNow`, `cancelFreeMediaFileInteractiveFetch`, `legacyEnqueueVideoMessage`, `TelegramMediaFileReference`, plus assorted dead public TelegramCore/AccountContext SecureId entry points. - Delete entire dead modules: `LegacyDataImport`, `TonBinding`, `SpotlightSupport`, `SvgRendering`, third-party `AppCenter`/`VectorPlus`/`SwiftColor`/`SwiftSVG`. - Drop orphan `//submodules/Postbox` BUILD deps across 3 cleanup rounds. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
43 lines
2.0 KiB
Python
43 lines
2.0 KiB
Python
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
|
|
|
|
swift_library(
|
|
name = "EntityKeyboardGifContent",
|
|
module_name = "EntityKeyboardGifContent",
|
|
srcs = glob([
|
|
"Sources/**/*.swift",
|
|
]),
|
|
copts = [
|
|
"-warnings-as-errors",
|
|
],
|
|
deps = [
|
|
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
|
|
"//submodules/Display:Display",
|
|
"//submodules/ComponentFlow:ComponentFlow",
|
|
"//submodules/Components/PagerComponent:PagerComponent",
|
|
"//submodules/Components/BlurredBackgroundComponent:BlurredBackgroundComponent",
|
|
"//submodules/Components/ComponentDisplayAdapters:ComponentDisplayAdapters",
|
|
"//submodules/Components/BundleIconComponent:BundleIconComponent",
|
|
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
|
"//submodules/TelegramCore:TelegramCore",
|
|
"//submodules/AnimatedStickerNode:AnimatedStickerNode",
|
|
"//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
|
|
"//submodules/YuvConversion:YuvConversion",
|
|
"//submodules/AccountContext:AccountContext",
|
|
"//submodules/SoftwareVideo:SoftwareVideo",
|
|
"//submodules/ShimmerEffect:ShimmerEffect",
|
|
"//submodules/PhotoResources:PhotoResources",
|
|
"//submodules/StickerResources:StickerResources",
|
|
"//submodules/AppBundle:AppBundle",
|
|
"//submodules/Components/MultilineTextComponent:MultilineTextComponent",
|
|
"//submodules/Components/SolidRoundedButtonComponent:SolidRoundedButtonComponent",
|
|
"//submodules/Components/LottieAnimationComponent:LottieAnimationComponent",
|
|
"//submodules/LocalizedPeerData:LocalizedPeerData",
|
|
"//submodules/TelegramNotices:TelegramNotices",
|
|
"//submodules/TelegramUI/Components/MultiplexedVideoNode:MultiplexedVideoNode",
|
|
"//submodules/TelegramUI/Components/EntityKeyboard:EntityKeyboard",
|
|
],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|