mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-11-03 06:14:14 +01:00
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
45 lines
849 B
Python
Vendored
45 lines
849 B
Python
Vendored
load("@rules_cc//cc:objc_library.bzl", "objc_library")
|
|
|
|
public_headers = glob([
|
|
"Source/PublicHeaders/AsyncDisplayKit/*.h",
|
|
])
|
|
|
|
private_headers = glob([
|
|
"Source/*.h",
|
|
], allow_empty=True)
|
|
|
|
objc_library(
|
|
name = "AsyncDisplayKit",
|
|
enable_modules = True,
|
|
module_name = "AsyncDisplayKit",
|
|
srcs = glob([
|
|
"Source/**/*.m",
|
|
"Source/**/*.mm",
|
|
], allow_empty=True) + private_headers,
|
|
copts = [
|
|
"-Werror",
|
|
],
|
|
cxxopts = [
|
|
"-Werror",
|
|
"-std=c++17",
|
|
],
|
|
hdrs = public_headers,
|
|
defines = [
|
|
"MINIMAL_ASDK",
|
|
],
|
|
includes = [
|
|
"Source/PublicHeaders",
|
|
],
|
|
sdk_frameworks = [
|
|
"Foundation",
|
|
"UIKit",
|
|
"QuartzCore",
|
|
"CoreMedia",
|
|
"CoreText",
|
|
"CoreGraphics",
|
|
],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|