mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-11-02 22:04:28 +01:00
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60 lines
1.4 KiB
Python
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",
|
|
],
|
|
)
|