mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-05 19:28:46 +02:00
Adds three thin forwarding methods on TelegramEngine.Resources (fetch, status, data) over MediaBox, then migrates SaveToCameraRoll's three public functions to use them, drops import Postbox from the module (source + Bazel dep), and updates all 23 call sites across 14 caller files atomically. Bundled: spec + fix + plan + C1 facades + C2 SaveToCameraRoll rewrite + BUILD dep drop + CLAUDE.md outcome. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
23 lines
650 B
Text
23 lines
650 B
Text
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
|
|
|
|
swift_library(
|
|
name = "SaveToCameraRoll",
|
|
module_name = "SaveToCameraRoll",
|
|
srcs = glob([
|
|
"Sources/**/*.swift",
|
|
]),
|
|
copts = [
|
|
"-warnings-as-errors",
|
|
],
|
|
deps = [
|
|
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
|
|
"//submodules/TelegramCore:TelegramCore",
|
|
"//submodules/Display:Display",
|
|
"//submodules/AccountContext:AccountContext",
|
|
"//submodules/DeviceAccess:DeviceAccess",
|
|
"//submodules/LegacyComponents:LegacyComponents",
|
|
],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|