Telegram-iOS/Telegram/WatchApp/BUILD
isaac 78267e8902 Vendor tgwatch sources into Telegram/WatchApp; build from in-repo snapshot
Vendor the standalone tgwatch watch-app sources into Telegram/WatchApp/ as a
tracked snapshot and build it from there by default (tracked Bazel inputs).
Make.py drives embedding via --embedWatchApp (--watchAppSourcePath removed);
the filegroup excludes .swiftpm/.build. Documented in CLAUDE.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 23:12:16 +02:00

19 lines
632 B
Text

# Committed snapshot of the tgwatch watch app (synced from the standalone tgwatch repo
# via tools/export-sources.sh). Built by //Telegram:TelegramWatchApp
# (apple_prebuilt_watchos_application) via xcodebuild. These files are the rule's tracked
# inputs, so the watch build re-runs only when the snapshot changes.
filegroup(
name = "sources",
srcs = glob(
["**"],
exclude = [
"**/.build/**",
"**/.swiftpm/**",
"**/xcuserdata/**",
"**/DerivedData/**",
"BUILD",
".gitignore",
],
),
visibility = ["//Telegram:__pkg__"],
)