mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-11-29 18:03:33 +01:00
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
607 B
Python
24 lines
607 B
Python
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
|
|
|
|
swift_library(
|
|
name = "ImageCompression",
|
|
module_name = "ImageCompression",
|
|
srcs = glob([
|
|
"Sources/**/*.swift",
|
|
]) + [
|
|
# GHOST: outgoing photo size / quality / pixels (GGOutgoingImageHooks)
|
|
"//Ghostgram/GGHooks:ImageCompressionHookSources",
|
|
],
|
|
copts = [
|
|
"-warnings-as-errors",
|
|
],
|
|
deps = [
|
|
"//submodules/MozjpegBinding:MozjpegBinding",
|
|
# GHOST: hook points
|
|
"//Ghostgram/GGCore:GGCore",
|
|
],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|