Files
ichmagmaus111andClaude Opus 5.5 0622057a4f Ghostgram: open-source release
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:57:09 +01:00

60 lines
1.4 KiB
Python

load("@rules_cc//cc:objc_library.bzl", "objc_library")
filegroup(
name = "LegacyComponentsResources",
srcs = glob([
"Resources/LegacyComponentsResources.bundle/**/*",
], exclude = ["Resources/LegacyComponentsResources.bundle/**/.*"]),
visibility = ["//visibility:public"],
)
filegroup(
name = "LegacyComponentsAssets",
srcs = glob(["LegacyImages.xcassets/**"]),
visibility = ["//visibility:public"],
)
objc_library(
name = "LegacyComponents",
enable_modules = True,
module_name = "LegacyComponents",
srcs = glob([
"Sources/*.m",
"Sources/*.mm",
"Sources/*.c",
"Sources/*.cpp",
"Sources/*.h",
]),
hdrs = glob([
"PublicHeaders/**/*.h",
]),
copts = [
"-Werror",
],
includes = [
"PublicHeaders",
],
deps = [
"//submodules/SSignalKit/SSignalKit:SSignalKit",
"//submodules/AppBundle:AppBundle",
],
sdk_frameworks = [
"Foundation",
"UIKIt",
"QuickLook",
# TGMediaPickerGalleryVideoItemView uses MPVolumeView; declared here so a test bundle that links this
# library without the app's other MediaPlayer clients still resolves it.
"MediaPlayer",
"CoreMotion",
],
weak_sdk_frameworks = [
"Vision",
"PhotosUI",
],
visibility = [
"//visibility:public",
],
)