mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-23 11:26:54 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
62 lines
1.7 KiB
Python
62 lines
1.7 KiB
Python
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
|
|
|
|
config_setting(
|
|
name = "debug_build",
|
|
values = {
|
|
"compilation_mode": "dbg",
|
|
},
|
|
)
|
|
|
|
config_setting(
|
|
name = "fastbuild_build",
|
|
values = {
|
|
"compilation_mode": "fastbuild",
|
|
},
|
|
)
|
|
|
|
flex_dependency = select({
|
|
":debug_build": [
|
|
"@flex_sdk//:FLEX"
|
|
],
|
|
":fastbuild_build": [
|
|
"@flex_sdk//:FLEX"
|
|
],
|
|
"//conditions:default": [],
|
|
})
|
|
|
|
|
|
swift_library(
|
|
name = "SGDebugUI",
|
|
module_name = "SGDebugUI",
|
|
srcs = glob([
|
|
"Sources/**/*.swift",
|
|
]),
|
|
copts = [
|
|
"-warnings-as-errors",
|
|
],
|
|
deps = [
|
|
"//Swiftgram/SGItemListUI:SGItemListUI",
|
|
"//Swiftgram/SGLogging:SGLogging",
|
|
"//Swiftgram/SGSimpleSettings:SGSimpleSettings",
|
|
"//Swiftgram/SGStrings:SGStrings",
|
|
"//Swiftgram/SGSwiftUI:SGSwiftUI",
|
|
"//Swiftgram/SGIAP:SGIAP",
|
|
"//Swiftgram/SGPayWall:SGPayWall",
|
|
"//submodules/TelegramUIPreferences:TelegramUIPreferences",
|
|
"//submodules/LegacyUI:LegacyUI",
|
|
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
|
|
"//submodules/Postbox:Postbox",
|
|
"//submodules/Display:Display",
|
|
"//submodules/TelegramCore:TelegramCore",
|
|
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
|
"//submodules/ItemListUI:ItemListUI",
|
|
"//submodules/PresentationDataUtils:PresentationDataUtils",
|
|
"//submodules/OverlayStatusController:OverlayStatusController",
|
|
"//submodules/AccountContext:AccountContext",
|
|
"//submodules/UndoUI:UndoUI"
|
|
] + flex_dependency,
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|