mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Temp
This commit is contained in:
parent
dcfb6ddd9c
commit
dbfb4eb8d9
@ -1,7 +1,7 @@
|
||||
[cxx]
|
||||
default_platform = iphonesimulator-x86_64
|
||||
cflags = -g -fmodules -fobjc-arc -D BUCK -w $(config custom.other_cflags)
|
||||
cxxflags = -fobjc-arc -std=c++14 -D DEBUG -g $(config custom.other_cxxflags)
|
||||
cflags = -g -fmodules -fobjc-arc -D BUCK -DTARGET_OS_IOS=1 -D DEBUG -w $(config custom.other_cflags)
|
||||
cxxflags = -fobjc-arc -std=c++14 -D BUCK -DTARGET_OS_IOS=1 -D DEBUG -g $(config custom.other_cxxflags)
|
||||
combined_preprocess_and_compile = true
|
||||
pch_enabled = false
|
||||
ldflags = -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime $(config custom.other_cxxflags)
|
||||
|
@ -263,19 +263,6 @@
|
||||
<key>explicitFileType</key>
|
||||
<string>archive.ar</string>
|
||||
</dict>
|
||||
<key>1DD70E2987C9226300000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>libEmoji.dylib</string>
|
||||
<key>path</key>
|
||||
<string>libEmoji.dylib</string>
|
||||
<key>sourceTree</key>
|
||||
<string>BUILT_PRODUCTS_DIR</string>
|
||||
<key>explicitFileType</key>
|
||||
<string>compiled.mach-o.dylib</string>
|
||||
</dict>
|
||||
<key>1DD70E29B22505DC00000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
@ -289,6 +276,32 @@
|
||||
<key>explicitFileType</key>
|
||||
<string>compiled.mach-o.dylib</string>
|
||||
</dict>
|
||||
<key>1DD70E29DB6520C800000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>libPostbox.dylib</string>
|
||||
<key>path</key>
|
||||
<string>libPostbox.dylib</string>
|
||||
<key>sourceTree</key>
|
||||
<string>BUILT_PRODUCTS_DIR</string>
|
||||
<key>explicitFileType</key>
|
||||
<string>compiled.mach-o.dylib</string>
|
||||
</dict>
|
||||
<key>1DD70E29D65BA68200000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>libSwiftSignalKit.dylib</string>
|
||||
<key>path</key>
|
||||
<string>libSwiftSignalKit.dylib</string>
|
||||
<key>sourceTree</key>
|
||||
<string>BUILT_PRODUCTS_DIR</string>
|
||||
<key>explicitFileType</key>
|
||||
<string>compiled.mach-o.dylib</string>
|
||||
</dict>
|
||||
<key>B401C97968022A5500000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
@ -300,8 +313,9 @@
|
||||
<key>children</key>
|
||||
<array>
|
||||
<string>1DD70E297ADFB9F200000000</string>
|
||||
<string>1DD70E2987C9226300000000</string>
|
||||
<string>1DD70E29B22505DC00000000</string>
|
||||
<string>1DD70E29DB6520C800000000</string>
|
||||
<string>1DD70E29D65BA68200000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>1DD70E2933D47CB400000000</key>
|
||||
@ -384,13 +398,6 @@
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E297ADFB9F200000000</string>
|
||||
</dict>
|
||||
<key>E7A30F0487C9226300000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E2987C9226300000000</string>
|
||||
</dict>
|
||||
<key>E7A30F04B22505DC00000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
@ -398,6 +405,20 @@
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E29B22505DC00000000</string>
|
||||
</dict>
|
||||
<key>E7A30F04DB6520C800000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E29DB6520C800000000</string>
|
||||
</dict>
|
||||
<key>E7A30F04D65BA68200000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E29D65BA68200000000</string>
|
||||
</dict>
|
||||
<key>4F426D880000000000000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
@ -405,25 +426,11 @@
|
||||
<key>files</key>
|
||||
<array>
|
||||
<string>E7A30F047ADFB9F200000000</string>
|
||||
<string>E7A30F0487C9226300000000</string>
|
||||
<string>E7A30F04B22505DC00000000</string>
|
||||
<string>E7A30F04DB6520C800000000</string>
|
||||
<string>E7A30F04D65BA68200000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>E7A30F0487C9226300000001</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E2987C9226300000000</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>ATTRIBUTES</key>
|
||||
<array>
|
||||
<string>CodeSignOnCopy</string>
|
||||
<string>RemoveHeadersOnCopy</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>E7A30F04B22505DC00000001</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
@ -439,14 +446,45 @@
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>E7A30F04DB6520C800000001</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E29DB6520C800000000</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>ATTRIBUTES</key>
|
||||
<array>
|
||||
<string>CodeSignOnCopy</string>
|
||||
<string>RemoveHeadersOnCopy</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>E7A30F04D65BA68200000001</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E29D65BA68200000000</string>
|
||||
<key>settings</key>
|
||||
<dict>
|
||||
<key>ATTRIBUTES</key>
|
||||
<array>
|
||||
<string>CodeSignOnCopy</string>
|
||||
<string>RemoveHeadersOnCopy</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>FAF5FAC90000000000000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXCopyFilesBuildPhase</string>
|
||||
<key>files</key>
|
||||
<array>
|
||||
<string>E7A30F0487C9226300000001</string>
|
||||
<string>E7A30F04B22505DC00000001</string>
|
||||
<string>E7A30F04DB6520C800000001</string>
|
||||
<string>E7A30F04D65BA68200000001</string>
|
||||
</array>
|
||||
<key>dstSubfolderSpec</key>
|
||||
<integer>10</integer>
|
||||
@ -550,12 +588,19 @@
|
||||
<string>E7A30F048FA05E8C00000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>E7A30F0487C9226300000002</key>
|
||||
<key>E7A30F04DB6520C800000002</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E2987C9226300000000</string>
|
||||
<string>1DD70E29DB6520C800000000</string>
|
||||
</dict>
|
||||
<key>E7A30F04D65BA68200000002</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E29D65BA68200000000</string>
|
||||
</dict>
|
||||
<key>FAF5FAC90000000000000001</key>
|
||||
<dict>
|
||||
@ -563,7 +608,8 @@
|
||||
<string>PBXCopyFilesBuildPhase</string>
|
||||
<key>files</key>
|
||||
<array>
|
||||
<string>E7A30F0487C9226300000002</string>
|
||||
<string>E7A30F04DB6520C800000002</string>
|
||||
<string>E7A30F04D65BA68200000002</string>
|
||||
</array>
|
||||
<key>name</key>
|
||||
<string>Fake Swift Dependencies (Copy Files Phase)</string>
|
||||
|
@ -1,85 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "9999"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E0001020100000000"
|
||||
BuildableName = ".app"
|
||||
BlueprintName = "App"
|
||||
ReferencedContainer = "container:App.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04EC43AA77A00000000"
|
||||
BuildableName = "lib.a"
|
||||
BlueprintName = "AppLibrary"
|
||||
ReferencedContainer = "container:App.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E0001020100000000"
|
||||
BuildableName = ".app"
|
||||
BlueprintName = "App"
|
||||
ReferencedContainer = "container:App.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><Scheme LastUpgradeVersion="9999" version="1.7"><BuildAction buildImplicitDependencies="YES" parallelizeBuildables="YES"><BuildActionEntries><BuildActionEntry buildForAnalyzing="YES" buildForArchiving="YES" buildForProfiling="YES" buildForRunning="YES" buildForTesting="YES"><BuildableReference BlueprintIdentifier="E66DC04E0001020100000000" BlueprintName="App" BuildableIdentifier="primary" BuildableName="App.app" ReferencedContainer="container:App.xcodeproj"/></BuildActionEntry><BuildActionEntry buildForAnalyzing="YES" buildForArchiving="YES" buildForProfiling="YES" buildForRunning="YES" buildForTesting="YES"><BuildableReference BlueprintIdentifier="E66DC04EC43AA77A00000000" BlueprintName="AppLibrary" BuildableIdentifier="primary" BuildableName="libAppLibrary.a" ReferencedContainer="container:App.xcodeproj"/></BuildActionEntry></BuildActionEntries></BuildAction><TestAction buildConfiguration="Debug" shouldUseLaunchSchemeArgsEnv="YES"><Testables/></TestAction><LaunchAction buildConfiguration="Debug"/><ProfileAction buildConfiguration="Release"/><AnalyzeAction buildConfiguration="Debug"/><ArchiveAction buildConfiguration="Release" revealArchiveInOrganizer="YES"/></Scheme>
|
@ -1 +1 @@
|
||||
{"required-targets":["//submodules/MtProtoKit:openssl_libs"],"xcconfig-paths":["buck-out/gen/App/App-Debug.xcconfig","buck-out/gen/App/App-Profile.xcconfig","buck-out/gen/App/App-Release.xcconfig","buck-out/gen/App/AppLibrary-Debug.xcconfig","buck-out/gen/App/AppLibrary-Profile.xcconfig","buck-out/gen/App/AppLibrary-Release.xcconfig","buck-out/gen/submodules/Emoji/Emoji#shared-Debug.xcconfig","buck-out/gen/submodules/Emoji/Emoji#shared-Profile.xcconfig","buck-out/gen/submodules/Emoji/Emoji#shared-Release.xcconfig","buck-out/gen/submodules/MtProtoKit/MtProtoKit#shared-Debug.xcconfig","buck-out/gen/submodules/MtProtoKit/MtProtoKit#shared-Profile.xcconfig","buck-out/gen/submodules/MtProtoKit/MtProtoKit#shared-Release.xcconfig","buck-out/gen/submodules/MtProtoKit/openssl-Debug.xcconfig","buck-out/gen/submodules/MtProtoKit/openssl-Profile.xcconfig","buck-out/gen/submodules/MtProtoKit/openssl-Release.xcconfig"],"copy-in-xcode":[]}
|
||||
{"required-targets":["//submodules/MtProtoKit:openssl_libs"],"xcconfig-paths":["buck-out/gen/App/App-Debug.xcconfig","buck-out/gen/App/App-Profile.xcconfig","buck-out/gen/App/App-Release.xcconfig","buck-out/gen/App/AppLibrary-Debug.xcconfig","buck-out/gen/App/AppLibrary-Profile.xcconfig","buck-out/gen/App/AppLibrary-Release.xcconfig","buck-out/gen/submodules/Crc32/Crc32-Debug.xcconfig","buck-out/gen/submodules/Crc32/Crc32-Profile.xcconfig","buck-out/gen/submodules/Crc32/Crc32-Release.xcconfig","buck-out/gen/submodules/MtProtoKit/MtProtoKit#shared-Debug.xcconfig","buck-out/gen/submodules/MtProtoKit/MtProtoKit#shared-Profile.xcconfig","buck-out/gen/submodules/MtProtoKit/MtProtoKit#shared-Release.xcconfig","buck-out/gen/submodules/MtProtoKit/openssl-Debug.xcconfig","buck-out/gen/submodules/MtProtoKit/openssl-Profile.xcconfig","buck-out/gen/submodules/MtProtoKit/openssl-Release.xcconfig","buck-out/gen/submodules/Postbox/Postbox#shared-Debug.xcconfig","buck-out/gen/submodules/Postbox/Postbox#shared-Profile.xcconfig","buck-out/gen/submodules/Postbox/Postbox#shared-Release.xcconfig","buck-out/gen/submodules/SSignalKit/SwiftSignalKit/SwiftSignalKit#shared-Debug.xcconfig","buck-out/gen/submodules/SSignalKit/SwiftSignalKit/SwiftSignalKit#shared-Profile.xcconfig","buck-out/gen/submodules/SSignalKit/SwiftSignalKit/SwiftSignalKit#shared-Release.xcconfig","buck-out/gen/submodules/sqlcipher/sqlcipher-Debug.xcconfig","buck-out/gen/submodules/sqlcipher/sqlcipher-Profile.xcconfig","buck-out/gen/submodules/sqlcipher/sqlcipher-Release.xcconfig"],"copy-in-xcode":[]}
|
2
App/App.xcworkspace/contents.xcworkspacedata
generated
2
App/App.xcworkspace/contents.xcworkspacedata
generated
@ -1 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><Workspace version="1.0"><FileRef location="container:App.xcodeproj"/><Group location="container:" name="submodules"><FileRef location="container:../submodules/Emoji/Emoji.xcodeproj"/><FileRef location="container:../submodules/MtProtoKit/MtProtoKit.xcodeproj"/></Group></Workspace>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><Workspace version="1.0"><FileRef location="container:App.xcodeproj"/><Group location="container:" name="submodules"><Group location="container:" name="SSignalKit"><FileRef location="container:../submodules/SSignalKit/SwiftSignalKit/SwiftSignalKit.xcodeproj"/></Group><FileRef location="container:../submodules/Crc32/Crc32.xcodeproj"/><FileRef location="container:../submodules/MtProtoKit/MtProtoKit.xcodeproj"/><FileRef location="container:../submodules/Postbox/Postbox.xcodeproj"/><FileRef location="container:../submodules/sqlcipher/sqlcipher.xcodeproj"/></Group></Workspace>
|
@ -6,20 +6,6 @@
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E6969DF6200000000"
|
||||
BuildableName = ".dylib"
|
||||
BlueprintName = "Emoji#shared"
|
||||
ReferencedContainer = "container:../submodules/Emoji/Emoji.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
@ -29,7 +15,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04EB4B57B8200000000"
|
||||
BuildableName = "lib.a"
|
||||
BuildableName = "libopenssl.a"
|
||||
BlueprintName = "openssl"
|
||||
ReferencedContainer = "container:../submodules/MtProtoKit/MtProtoKit.xcodeproj">
|
||||
</BuildableReference>
|
||||
@ -43,11 +29,67 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E123A55F300000000"
|
||||
BuildableName = ".dylib"
|
||||
BuildableName = "libMtProtoKit.dylib"
|
||||
BlueprintName = "MtProtoKit#shared"
|
||||
ReferencedContainer = "container:../submodules/MtProtoKit/MtProtoKit.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E03E5731300000000"
|
||||
BuildableName = "libCrc32.a"
|
||||
BlueprintName = "Crc32"
|
||||
ReferencedContainer = "container:../submodules/Crc32/Crc32.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E89A74F8D00000000"
|
||||
BuildableName = "libSwiftSignalKit.dylib"
|
||||
BlueprintName = "SwiftSignalKit#shared"
|
||||
ReferencedContainer = "container:../submodules/SSignalKit/SwiftSignalKit/SwiftSignalKit.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E752F915900000000"
|
||||
BuildableName = "libsqlcipher.a"
|
||||
BlueprintName = "sqlcipher"
|
||||
ReferencedContainer = "container:../submodules/sqlcipher/sqlcipher.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E71825ADD00000000"
|
||||
BuildableName = "libPostbox.dylib"
|
||||
BlueprintName = "Postbox#shared"
|
||||
ReferencedContainer = "container:../submodules/Postbox/Postbox.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
@ -57,7 +99,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04EC43AA77A00000000"
|
||||
BuildableName = "lib.a"
|
||||
BuildableName = "libAppLibrary.a"
|
||||
BlueprintName = "AppLibrary"
|
||||
ReferencedContainer = "container:App.xcodeproj">
|
||||
</BuildableReference>
|
||||
@ -71,7 +113,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E0001020100000000"
|
||||
BuildableName = ".app"
|
||||
BuildableName = "App.app"
|
||||
BlueprintName = "App"
|
||||
ReferencedContainer = "container:App.xcodeproj">
|
||||
</BuildableReference>
|
||||
@ -103,7 +145,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E0001020100000000"
|
||||
BuildableName = ".app"
|
||||
BuildableName = "App.app"
|
||||
BlueprintName = "App"
|
||||
ReferencedContainer = "container:App.xcodeproj">
|
||||
</BuildableReference>
|
||||
@ -122,7 +164,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E66DC04E0001020100000000"
|
||||
BuildableName = ".app"
|
||||
BuildableName = "App.app"
|
||||
BlueprintName = "App"
|
||||
ReferencedContainer = "container:App.xcodeproj">
|
||||
</BuildableReference>
|
||||
|
13
App/BUCK
13
App/BUCK
@ -20,8 +20,11 @@ ui_tests = [
|
||||
static_library_dependencies = [
|
||||
]
|
||||
framework_dependencies = [
|
||||
'//submodules/MtProtoKit:MtProtoKit',
|
||||
'//submodules/Emoji:Emoji',
|
||||
"//submodules/MtProtoKit:MtProtoKit",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
|
||||
"//submodules/Postbox:Postbox",
|
||||
"//submodules/TelegramCore:TelegramCore",
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit",
|
||||
]
|
||||
|
||||
# Build Phase scripts need to be added as dependencies.
|
||||
@ -36,7 +39,7 @@ apple_library(
|
||||
"//App/...",
|
||||
],
|
||||
configs = library_configs(),
|
||||
swift_version = native.read_config('swift', 'version'),
|
||||
swift_version = native.read_config("swift", "version"),
|
||||
srcs = [
|
||||
"Sources/TempMain.m",
|
||||
"Sources/Temp.swift"
|
||||
@ -54,7 +57,7 @@ apple_binary(
|
||||
"//App/...",
|
||||
],
|
||||
configs = app_binary_configs("App"),
|
||||
swift_version = native.read_config('swift', 'version'),
|
||||
swift_version = native.read_config("swift", "version"),
|
||||
srcs = [
|
||||
"SupportFiles/Empty.swift",
|
||||
],
|
||||
@ -80,7 +83,7 @@ apple_bundle(
|
||||
info_plist = "Info.plist",
|
||||
info_plist_substitutions = app_info_plist_substitutions("App"),
|
||||
deps = [
|
||||
"//submodules/Emoji:EmojiFiles",
|
||||
#"//submodules/Emoji:EmojiFiles",
|
||||
]
|
||||
+ framework_bundle_dependencies(framework_dependencies),
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
import Emoji
|
||||
//import Emoji
|
||||
|
||||
@objc(AppDelegate1)
|
||||
public final class AppDelegate: NSObject, UIApplicationDelegate {
|
||||
@ -9,7 +9,7 @@ public final class AppDelegate: NSObject, UIApplicationDelegate {
|
||||
override init() {
|
||||
super.init()
|
||||
|
||||
print("OK6".isSingleEmoji)
|
||||
//print("OK6".isSingleEmoji)
|
||||
}
|
||||
|
||||
public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
|
||||
|
9
Config/app_configuration.bzl
Normal file
9
Config/app_configuration.bzl
Normal file
@ -0,0 +1,9 @@
|
||||
AppConfig = {
|
||||
"apiId": "8",
|
||||
"apiHash": "7245de8e747a0d6fbe11f7cc14fcc0bb",
|
||||
"hockeyAppId": "ad8831329ffc8f8aff9a2b0b86558b24",
|
||||
"isInternalBuild": "true",
|
||||
"isAppStoreBuild": "false",
|
||||
"appstoreId": "686449807",
|
||||
"appSpecificUrlScheme": "tgapp",
|
||||
}
|
@ -84,14 +84,6 @@ def apple_lib(
|
||||
link_style = "static",
|
||||
linker_flags = ["-Wl,-install_name,@rpath/lib%s.dylib" % (name)],
|
||||
)
|
||||
native.apple_bundle(
|
||||
name = name + "Framework",
|
||||
visibility = visibility,
|
||||
binary = ":" + name + "#shared",
|
||||
extension = "framework",
|
||||
info_plist = "Info.plist",
|
||||
info_plist_substitutions = info_plist_substitutions(name),
|
||||
)
|
||||
|
||||
else:
|
||||
native.apple_library(
|
||||
@ -205,14 +197,6 @@ def apple_cxx_lib(
|
||||
**kwargs
|
||||
)
|
||||
|
||||
def apple_cxx_third_party_library(
|
||||
**kwargs):
|
||||
apple_cxx_lib(
|
||||
warning_as_error = False,
|
||||
suppress_warnings = True,
|
||||
**kwargs
|
||||
)
|
||||
|
||||
def framework_binary_dependencies(names):
|
||||
result = []
|
||||
if native.read_config("custom", "mode") == "project":
|
||||
@ -234,3 +218,15 @@ def framework_bundle_dependencies(names):
|
||||
result.append(name + "#shared")
|
||||
pass
|
||||
return result
|
||||
|
||||
def gen_header_targets(header_paths, prefix, flavor, source_rule, source_path):
|
||||
result = dict()
|
||||
for header_path in header_paths:
|
||||
name = prefix + header_path.replace('/', '_sub_')
|
||||
native.genrule(
|
||||
name = name + flavor,
|
||||
cmd = 'cp $(location :' + source_rule + ')/' + source_path + '/' + header_path + ' $OUT',
|
||||
out = name,
|
||||
)
|
||||
result[header_path] = ':' + name + flavor
|
||||
return result
|
||||
|
27
Makefile
27
Makefile
@ -1,29 +1,21 @@
|
||||
.PHONY : install_buck build targets audit project clean
|
||||
.PHONY : build build_arm64 build_verbose targets project kill_xcode clean
|
||||
|
||||
BUCK=/Users/peter/build/buck-next/buck/buck-out/gen/programs/buck.pex
|
||||
|
||||
log:
|
||||
echo "Make"
|
||||
|
||||
install_buck:
|
||||
curl https://jitpack.io/com/github/airbnb/buck/457ebb73fcd8f86be0112dc74948d022b6969dbd/buck-457ebb73fcd8f86be0112dc74948d022b6969dbd.pex --output tools/buck
|
||||
chmod u+x tools/buck
|
||||
|
||||
build_buck:
|
||||
sh build_buck.sh
|
||||
|
||||
build:
|
||||
$(BUCK) build //App:AppPackage
|
||||
$(BUCK) build //App:AppPackage#iphoneos-arm64,iphoneos-armv7
|
||||
sh package_app.sh $(BUCK) iphoneos-arm64,iphoneos-armv7
|
||||
|
||||
build_arm64:
|
||||
$(BUCK) build //App:AppPackage#iphoneos-arm64
|
||||
sh package_app.sh $(BUCK) iphoneos-arm64
|
||||
|
||||
build_verbose:
|
||||
$(BUCK) build //App:AppPackage --verbose 8
|
||||
$(BUCK) build //App:AppPackage#iphoneos-armv7,iphoneos-arm64 --verbose 8
|
||||
|
||||
targets:
|
||||
$(BUCK) targets //...
|
||||
|
||||
audit:
|
||||
$(BUCK) audit rules BUCK > Config/Gen/App-BUCK.py
|
||||
|
||||
kill_xcode:
|
||||
killall Xcode || true
|
||||
killall Simulator || true
|
||||
@ -35,6 +27,3 @@ project: clean
|
||||
$(BUCK) project //App:workspace --config custom.mode=project
|
||||
open App/App.xcworkspace
|
||||
|
||||
next_project: clean
|
||||
/Users/peter/build/buck-next/buck/buck-out/gen/programs/buck.pex project //App:workspace --config custom.mode=project
|
||||
#open App/App.xcworkspace
|
||||
|
@ -177,7 +177,7 @@
|
||||
location = "container:"
|
||||
name = "Image Processing">
|
||||
<FileRef
|
||||
location = "group:submodules/YuvConversion/YuvConversion.xcodeproj">
|
||||
location = "group:/Users/peter/build/telegram-temp/telegram-ios/submodules/YuvConversion/YuvConversion_Xcode.xcodeproj">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:submodules/ImageBlur/ImageBlur_Xcode.xcodeproj">
|
||||
|
18
get_dsym.sh
18
get_dsym.sh
@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -rf "DSYM-out"
|
||||
mkdir -p "DSYM-out"
|
||||
|
||||
PLATFORM="iphonesimulator-x86_64"
|
||||
|
||||
for DEPENDENCY in $(buck query "kind('apple_library|apple_binary', deps('//App:App#$PLATFORM', 1))"); do
|
||||
case "$DEPENDENCY" in
|
||||
*"#"*)
|
||||
;;
|
||||
*)
|
||||
DEPENDENCY="$DEPENDENCY#$PLATFORM"
|
||||
;;
|
||||
esac
|
||||
DSYM_PATH="buck-out/gen/$(echo "$DEPENDENCY" | sed -e "s/#/#apple-dsym,/" | sed -e "s#^//##" | sed -e "s#:#/#").dSYM"
|
||||
cp -f -r "$DSYM_PATH" "DSYM-out/"
|
||||
done
|
44
package_app.sh
Normal file
44
package_app.sh
Normal file
@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
if [ -z "$1" ] || [ -z "$2" ]; then
|
||||
echo "Usage: sh package_app.sh path/to/buck platform-flavors"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PLATFORM_FLAVORS="$2"
|
||||
BUCK="$1"
|
||||
|
||||
BUILD_PATH="build"
|
||||
APP_NAME="Telegram"
|
||||
|
||||
IPA_PATH="$BUILD_PATH/$APP_NAME.ipa"
|
||||
DSYMS_FOLDER_NAME="DSYMs"
|
||||
DSYMS_ZIP="$BUILD_PATH/$DSYMS_FOLDER_NAME.zip"
|
||||
DSYMS_DIR="$BUILD_PATH/$DSYMS_FOLDER_NAME"
|
||||
|
||||
mkdir -p "$BUILD_PATH"
|
||||
rm -f "$IPA_PATH"
|
||||
rm -f "$DSYMS_ZIP"
|
||||
rm -rf "$DSYMS_DIR"
|
||||
mkdir -p "$DSYMS_DIR"
|
||||
|
||||
cp "buck-out/gen/App/AppPackage#$PLATFORM_FLAVORS.ipa" "$IPA_PATH"
|
||||
|
||||
for DEPENDENCY in $($BUCK query "kind('apple_library|apple_binary', deps('//App:App#$PLATFORM_FLAVORS', 1))"); do
|
||||
case "$DEPENDENCY" in
|
||||
*"#"*)
|
||||
;;
|
||||
*)
|
||||
DEPENDENCY="$DEPENDENCY#$PLATFORM_FLAVORS"
|
||||
;;
|
||||
esac
|
||||
DSYM_PATH="buck-out/gen/$(echo "$DEPENDENCY" | sed -e "s/#/#apple-dsym,/" | sed -e "s#^//##" | sed -e "s#:#/#").dSYM"
|
||||
cp -f -r "$DSYM_PATH" "$DSYMS_DIR/"
|
||||
done
|
||||
|
||||
DIR=$(pwd)
|
||||
cd "$BUILD_PATH"
|
||||
zip -r "$DSYMS_FOLDER_NAME.zip" "$DSYMS_FOLDER_NAME"
|
||||
cd "$DIR"
|
23
submodules/AccountContext/BUCK
Normal file
23
submodules/AccountContext/BUCK
Normal file
@ -0,0 +1,23 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "AccountContext",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramAudio:TelegramAudio",
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#dynamic",
|
||||
"//submodules/TemporaryCachedPeerDataManager:TemporaryCachedPeerDataManager",
|
||||
"//submodules/DeviceLocationManager:DeviceLocationManager",
|
||||
"//submodules/MediaPlayer:UniversalMediaPlayer",
|
||||
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#dynamic",
|
||||
"//submodules/Postbox:Postbox#dynamic",
|
||||
"//submodules/TelegramCore:TelegramCore#dynamic",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Contacts.framework",
|
||||
],
|
||||
)
|
20
submodules/ActionSheetPeerItem/BUCK
Normal file
20
submodules/ActionSheetPeerItem/BUCK
Normal file
@ -0,0 +1,20 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ActionSheetPeerItem",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/AvatarNode",
|
||||
"//submodules/TelegramPresentationData",
|
||||
"//submodules/Postbox",
|
||||
"//submodules/TelegramCore",
|
||||
"//submodules/Display",
|
||||
"//submodules/AsyncDisplayKit",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
16
submodules/ActivityIndicator/BUCK
Normal file
16
submodules/ActivityIndicator/BUCK
Normal file
@ -0,0 +1,16 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ActivityIndicator",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramPresentationData",
|
||||
"//submodules/AsyncDisplayKit",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
15
submodules/AlertUI/BUCK
Normal file
15
submodules/AlertUI/BUCK
Normal file
@ -0,0 +1,15 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "AlertUI",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#dynamic",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
27
submodules/AnimationUI/BUCK
Normal file
27
submodules/AnimationUI/BUCK
Normal file
@ -0,0 +1,27 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "AnimationUI",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/YuvConversion:YuvConversion",
|
||||
"//submodules/StickerResources:StickerResources",
|
||||
"//submodules/MediaResources:MediaResources",
|
||||
"//submodules/Tuples:Tuples",
|
||||
"//submodules/GZip:GZip",
|
||||
"//submodules/RLottie:RLottie",
|
||||
"//submodules/lottie-ios:Lottie",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/MobileCoreServices.framework",
|
||||
],
|
||||
)
|
39
submodules/AsyncDisplayKit/BUCK
Normal file
39
submodules/AsyncDisplayKit/BUCK
Normal file
@ -0,0 +1,39 @@
|
||||
load("//Config:buck_rule_macros.bzl", "framework")
|
||||
|
||||
ASYNCDISPLAYKIT_EXPORTED_HEADERS = glob([
|
||||
"Source/*.h",
|
||||
"Source/Details/**/*.h",
|
||||
"Source/Layout/*.h",
|
||||
"Source/Base/*.h",
|
||||
"Source/Debug/AsyncDisplayKit+Debug.h",
|
||||
"Source/TextKit/ASTextNodeTypes.h",
|
||||
"Source/TextKit/ASTextKitComponents.h"
|
||||
])
|
||||
|
||||
ASYNCDISPLAYKIT_PRIVATE_HEADERS = glob([
|
||||
"Source/**/*.h"
|
||||
],
|
||||
exclude = ASYNCDISPLAYKIT_EXPORTED_HEADERS,
|
||||
)
|
||||
|
||||
framework(
|
||||
name = "AsyncDisplayKit",
|
||||
headers = ASYNCDISPLAYKIT_PRIVATE_HEADERS,
|
||||
exported_headers = ASYNCDISPLAYKIT_EXPORTED_HEADERS,
|
||||
srcs = glob([
|
||||
"Source/**/*.m",
|
||||
"Source/**/*.mm",
|
||||
"Source/Base/*.m"
|
||||
]),
|
||||
compiler_flags = [
|
||||
"-DMINIMAL_ASDK",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/QuartzCore.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/CoreMedia.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/CoreText.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
|
||||
]
|
||||
)
|
19
submodules/AuthorizationUI/BUCK
Normal file
19
submodules/AuthorizationUI/BUCK
Normal file
@ -0,0 +1,19 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "AuthorizationUI",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/TextFormat:TextFormat",
|
||||
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
19
submodules/AvatarNode/BUCK
Normal file
19
submodules/AvatarNode/BUCK
Normal file
@ -0,0 +1,19 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "AvatarNode",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
||||
"//submodules/AnimationUI:AnimationUI",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
14
submodules/BotPaymentsUI/BUCK
Normal file
14
submodules/BotPaymentsUI/BUCK
Normal file
@ -0,0 +1,14 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "BotPaymentsUI",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
31
submodules/BuildConfig/BUCK
Normal file
31
submodules/BuildConfig/BUCK
Normal file
@ -0,0 +1,31 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
load("//Config:app_configuration.bzl", "AppConfig")
|
||||
|
||||
static_library(
|
||||
name = "BuildConfig",
|
||||
srcs = glob([
|
||||
"Sources/*.m",
|
||||
]),
|
||||
compiler_flags = [
|
||||
'-DAPP_CONFIG_API_ID=' + AppConfig["apiId"],
|
||||
'-DAPP_CONFIG_API_HASH="' + AppConfig["apiHash"] + '"',
|
||||
'-DAPP_CONFIG_HOCKEYAPP_ID="' + AppConfig["hockeyAppId"] + '"',
|
||||
'-DAPP_CONFIG_IS_INTERNAL_BUILD=' + AppConfig["isInternalBuild"],
|
||||
'-DAPP_CONFIG_IS_APPSTORE_BUILD=' + AppConfig["isAppStoreBuild"],
|
||||
'-DAPP_CONFIG_APPSTORE_ID=' + AppConfig["appstoreId"],
|
||||
'-DAPP_SPECIFIC_URL_SCHEME="' + AppConfig["appSpecificUrlScheme"] + '"',
|
||||
|
||||
],
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/MtProtoKit:MtProtoKit#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
14
submodules/CallListUI/BUCK
Normal file
14
submodules/CallListUI/BUCK
Normal file
@ -0,0 +1,14 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "CallListUI",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
14
submodules/ChatListSearchItemHeader/BUCK
Normal file
14
submodules/ChatListSearchItemHeader/BUCK
Normal file
@ -0,0 +1,14 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ChatListSearchItemHeader",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
14
submodules/ChatListSearchItemNode/BUCK
Normal file
14
submodules/ChatListSearchItemNode/BUCK
Normal file
@ -0,0 +1,14 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ChatListSearchItemNode",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
14
submodules/ChatListSearchRecentPeersNode/BUCK
Normal file
14
submodules/ChatListSearchRecentPeersNode/BUCK
Normal file
@ -0,0 +1,14 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ChatListSearchRecentPeersNode",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
14
submodules/ChatListUI/BUCK
Normal file
14
submodules/ChatListUI/BUCK
Normal file
@ -0,0 +1,14 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ChatListUI",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
14
submodules/ChatTitleActivityNode/BUCK
Normal file
14
submodules/ChatTitleActivityNode/BUCK
Normal file
@ -0,0 +1,14 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ChatTitleActivityNode",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
24
submodules/CheckNode/BUCK
Normal file
24
submodules/CheckNode/BUCK
Normal file
@ -0,0 +1,24 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "CheckNode",
|
||||
srcs = glob([
|
||||
"Sources/**/*.swift",
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/TelegramPresentationData.h"]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/TelegramPresentationData.h"]),
|
||||
deps = [
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/LegacyComponents:LegacyComponents",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
19
submodules/Crc32/BUCK
Normal file
19
submodules/Crc32/BUCK
Normal file
@ -0,0 +1,19 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "Crc32",
|
||||
srcs = glob([
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
]),
|
||||
deps = [
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
343
submodules/Crc32/Crc32.xcodeproj/project.pbxproj
Normal file
343
submodules/Crc32/Crc32.xcodeproj/project.pbxproj
Normal file
@ -0,0 +1,343 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>archiveVersion</key>
|
||||
<string>1</string>
|
||||
<key>classes</key>
|
||||
<dict>
|
||||
</dict>
|
||||
<key>objectVersion</key>
|
||||
<string>46</string>
|
||||
<key>objects</key>
|
||||
<dict>
|
||||
<key>1DD70E29005B5D4200000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>Crc32-Debug.xcconfig</string>
|
||||
<key>path</key>
|
||||
<string>../../buck-out/gen/submodules/Crc32/Crc32-Debug.xcconfig</string>
|
||||
<key>sourceTree</key>
|
||||
<string>SOURCE_ROOT</string>
|
||||
<key>explicitFileType</key>
|
||||
<string>text.xcconfig</string>
|
||||
</dict>
|
||||
<key>1DD70E293C1BAC2C00000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>Crc32-Profile.xcconfig</string>
|
||||
<key>path</key>
|
||||
<string>../../buck-out/gen/submodules/Crc32/Crc32-Profile.xcconfig</string>
|
||||
<key>sourceTree</key>
|
||||
<string>SOURCE_ROOT</string>
|
||||
<key>explicitFileType</key>
|
||||
<string>text.xcconfig</string>
|
||||
</dict>
|
||||
<key>1DD70E29AFB2578E00000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>Crc32-Release.xcconfig</string>
|
||||
<key>path</key>
|
||||
<string>../../buck-out/gen/submodules/Crc32/Crc32-Release.xcconfig</string>
|
||||
<key>sourceTree</key>
|
||||
<string>SOURCE_ROOT</string>
|
||||
<key>explicitFileType</key>
|
||||
<string>text.xcconfig</string>
|
||||
</dict>
|
||||
<key>B401C9792F7F325000000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXGroup</string>
|
||||
<key>name</key>
|
||||
<string>Buck (Do Not Modify)</string>
|
||||
<key>sourceTree</key>
|
||||
<string><![CDATA[<group>]]></string>
|
||||
<key>children</key>
|
||||
<array>
|
||||
<string>1DD70E29005B5D4200000000</string>
|
||||
<string>1DD70E293C1BAC2C00000000</string>
|
||||
<string>1DD70E29AFB2578E00000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>B401C979B781F65D00000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXGroup</string>
|
||||
<key>name</key>
|
||||
<string>Configurations</string>
|
||||
<key>sourceTree</key>
|
||||
<string><![CDATA[<group>]]></string>
|
||||
<key>children</key>
|
||||
<array>
|
||||
<string>B401C9792F7F325000000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>1DD70E29001F47FB00000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>BUCK</string>
|
||||
<key>path</key>
|
||||
<string>BUCK</string>
|
||||
<key>sourceTree</key>
|
||||
<string>SOURCE_ROOT</string>
|
||||
<key>explicitFileType</key>
|
||||
<string>text.script.python</string>
|
||||
</dict>
|
||||
<key>1DD70E29A055004D00000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>Crc32.h</string>
|
||||
<key>path</key>
|
||||
<string>Sources/Crc32.h</string>
|
||||
<key>sourceTree</key>
|
||||
<string>SOURCE_ROOT</string>
|
||||
<key>lastKnownFileType</key>
|
||||
<string>sourcecode.c.h</string>
|
||||
</dict>
|
||||
<key>1DD70E29A055005200000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>Crc32.m</string>
|
||||
<key>path</key>
|
||||
<string>Sources/Crc32.m</string>
|
||||
<key>sourceTree</key>
|
||||
<string>SOURCE_ROOT</string>
|
||||
<key>lastKnownFileType</key>
|
||||
<string>sourcecode.c.objc</string>
|
||||
</dict>
|
||||
<key>B401C979EAB5339800000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXGroup</string>
|
||||
<key>name</key>
|
||||
<string>Sources</string>
|
||||
<key>sourceTree</key>
|
||||
<string><![CDATA[<group>]]></string>
|
||||
<key>children</key>
|
||||
<array>
|
||||
<string>1DD70E29A055004D00000000</string>
|
||||
<string>1DD70E29A055005200000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>B401C97903E5731300000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXGroup</string>
|
||||
<key>name</key>
|
||||
<string>Crc32</string>
|
||||
<key>sourceTree</key>
|
||||
<string><![CDATA[<group>]]></string>
|
||||
<key>children</key>
|
||||
<array>
|
||||
<string>1DD70E29001F47FB00000000</string>
|
||||
<string>B401C979EAB5339800000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>1DD70E2943956E2100000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXFileReference</string>
|
||||
<key>name</key>
|
||||
<string>libCrc32.a</string>
|
||||
<key>path</key>
|
||||
<string>libCrc32.a</string>
|
||||
<key>sourceTree</key>
|
||||
<string>BUILT_PRODUCTS_DIR</string>
|
||||
<key>explicitFileType</key>
|
||||
<string>archive.ar</string>
|
||||
</dict>
|
||||
<key>B401C979C806358400000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXGroup</string>
|
||||
<key>name</key>
|
||||
<string>Products</string>
|
||||
<key>sourceTree</key>
|
||||
<string><![CDATA[<group>]]></string>
|
||||
<key>children</key>
|
||||
<array>
|
||||
<string>1DD70E2943956E2100000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>B401C979EFB6AC4600000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXGroup</string>
|
||||
<key>name</key>
|
||||
<string>mainGroup</string>
|
||||
<key>sourceTree</key>
|
||||
<string><![CDATA[<group>]]></string>
|
||||
<key>children</key>
|
||||
<array>
|
||||
<string>B401C979B781F65D00000000</string>
|
||||
<string>B401C97903E5731300000000</string>
|
||||
<string>B401C979C806358400000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>E7A30F04A055005200000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXBuildFile</string>
|
||||
<key>fileRef</key>
|
||||
<string>1DD70E29A055005200000000</string>
|
||||
</dict>
|
||||
<key>1870857F0000000000000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXSourcesBuildPhase</string>
|
||||
<key>files</key>
|
||||
<array>
|
||||
<string>E7A30F04A055005200000000</string>
|
||||
</array>
|
||||
</dict>
|
||||
<key>4952437303EDA63300000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>XCBuildConfiguration</string>
|
||||
<key>name</key>
|
||||
<string>Debug</string>
|
||||
<key>buildSettings</key>
|
||||
<dict>
|
||||
</dict>
|
||||
<key>baseConfigurationReference</key>
|
||||
<string>1DD70E29005B5D4200000000</string>
|
||||
</dict>
|
||||
<key>4952437350C7218900000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>XCBuildConfiguration</string>
|
||||
<key>name</key>
|
||||
<string>Profile</string>
|
||||
<key>buildSettings</key>
|
||||
<dict>
|
||||
</dict>
|
||||
<key>baseConfigurationReference</key>
|
||||
<string>1DD70E293C1BAC2C00000000</string>
|
||||
</dict>
|
||||
<key>49524373A439BFE700000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>XCBuildConfiguration</string>
|
||||
<key>name</key>
|
||||
<string>Release</string>
|
||||
<key>buildSettings</key>
|
||||
<dict>
|
||||
</dict>
|
||||
<key>baseConfigurationReference</key>
|
||||
<string>1DD70E29AFB2578E00000000</string>
|
||||
</dict>
|
||||
<key>218C37090000000000000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>XCConfigurationList</string>
|
||||
<key>buildConfigurations</key>
|
||||
<array>
|
||||
<string>4952437303EDA63300000000</string>
|
||||
<string>4952437350C7218900000000</string>
|
||||
<string>49524373A439BFE700000000</string>
|
||||
</array>
|
||||
<key>defaultConfigurationIsVisible</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>E66DC04E03E5731300000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXNativeTarget</string>
|
||||
<key>name</key>
|
||||
<string>Crc32</string>
|
||||
<key>productName</key>
|
||||
<string>Crc32</string>
|
||||
<key>productReference</key>
|
||||
<string>1DD70E2943956E2100000000</string>
|
||||
<key>productType</key>
|
||||
<string>com.apple.product-type.library.static</string>
|
||||
<key>dependencies</key>
|
||||
<array>
|
||||
</array>
|
||||
<key>buildPhases</key>
|
||||
<array>
|
||||
<string>1870857F0000000000000000</string>
|
||||
</array>
|
||||
<key>buildConfigurationList</key>
|
||||
<string>218C37090000000000000000</string>
|
||||
</dict>
|
||||
<key>4952437303EDA63300000001</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>XCBuildConfiguration</string>
|
||||
<key>name</key>
|
||||
<string>Debug</string>
|
||||
<key>buildSettings</key>
|
||||
<dict>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>4952437350C7218900000001</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>XCBuildConfiguration</string>
|
||||
<key>name</key>
|
||||
<string>Profile</string>
|
||||
<key>buildSettings</key>
|
||||
<dict>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>49524373A439BFE700000001</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>XCBuildConfiguration</string>
|
||||
<key>name</key>
|
||||
<string>Release</string>
|
||||
<key>buildSettings</key>
|
||||
<dict>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>218C37090000000000000001</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>XCConfigurationList</string>
|
||||
<key>buildConfigurations</key>
|
||||
<array>
|
||||
<string>4952437303EDA63300000001</string>
|
||||
<string>4952437350C7218900000001</string>
|
||||
<string>49524373A439BFE700000001</string>
|
||||
</array>
|
||||
<key>defaultConfigurationIsVisible</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>96C8479303E5731300000000</key>
|
||||
<dict>
|
||||
<key>isa</key>
|
||||
<string>PBXProject</string>
|
||||
<key>mainGroup</key>
|
||||
<string>B401C979EFB6AC4600000000</string>
|
||||
<key>targets</key>
|
||||
<array>
|
||||
<string>E66DC04E03E5731300000000</string>
|
||||
</array>
|
||||
<key>buildConfigurationList</key>
|
||||
<string>218C37090000000000000001</string>
|
||||
<key>compatibilityVersion</key>
|
||||
<string>Xcode 3.2</string>
|
||||
<key>attributes</key>
|
||||
<dict>
|
||||
<key>LastUpgradeCheck</key>
|
||||
<string>9999</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>rootObject</key>
|
||||
<string>96C8479303E5731300000000</string>
|
||||
</dict>
|
||||
</plist>
|
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><Scheme LastUpgradeVersion="9999" version="1.7"><BuildAction buildImplicitDependencies="YES" parallelizeBuildables="YES"><BuildActionEntries><BuildActionEntry buildForAnalyzing="YES" buildForArchiving="YES" buildForProfiling="YES" buildForRunning="YES" buildForTesting="YES"><BuildableReference BlueprintIdentifier="E66DC04E03E5731300000000" BlueprintName="Crc32" BuildableIdentifier="primary" BuildableName="libCrc32.a" ReferencedContainer="container:Crc32.xcodeproj"/></BuildActionEntry></BuildActionEntries></BuildAction><TestAction buildConfiguration="Debug" shouldUseLaunchSchemeArgsEnv="YES"><Testables/></TestAction><LaunchAction buildConfiguration="Debug"/><ProfileAction buildConfiguration="Release"/><AnalyzeAction buildConfiguration="Debug"/><ArchiveAction buildConfiguration="Release" revealArchiveInOrganizer="YES"/></Scheme>
|
19
submodules/DeviceAccess/BUCK
Normal file
19
submodules/DeviceAccess/BUCK
Normal file
@ -0,0 +1,19 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "DeviceAccess",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/AccountContext:AccountContext",
|
||||
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
||||
"//submodules/LegacyComponents:LegacyComponents",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
15
submodules/DeviceLocationManager/BUCK
Normal file
15
submodules/DeviceLocationManager/BUCK
Normal file
@ -0,0 +1,15 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "DeviceLocationManager",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#dynamic",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
|
||||
],
|
||||
)
|
18
submodules/DeviceProximity/BUCK
Normal file
18
submodules/DeviceProximity/BUCK
Normal file
@ -0,0 +1,18 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "DeviceProximity",
|
||||
srcs = glob([
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/DeviceProximity.h"]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/DeviceProximity.h"]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
23
submodules/Display/BUCK
Normal file
23
submodules/Display/BUCK
Normal file
@ -0,0 +1,23 @@
|
||||
load("//Config:buck_rule_macros.bzl", "framework")
|
||||
|
||||
framework(
|
||||
name = "Display",
|
||||
srcs = glob([
|
||||
"Display/*.swift",
|
||||
"Display/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Display/*.h",
|
||||
], exclude = ["Display/Display.h"]),
|
||||
exported_headers = glob([
|
||||
"Display/*.h",
|
||||
], exclude = ["Display/Display.h"]),
|
||||
deps = [
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#dynamic",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#dynamic",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
@ -34,7 +34,7 @@ final class ActionSheetControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
self.scrollNode.canCancelAllTouchesInViews = true
|
||||
self.scrollView = self.scrollNode.view
|
||||
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.scrollView.contentInsetAdjustmentBehavior = .never
|
||||
}
|
||||
self.scrollView.alwaysBounceVertical = true
|
||||
|
@ -43,7 +43,7 @@ final class ActionSheetItemGroupNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
|
||||
self.scrollNode = ASScrollNode()
|
||||
self.scrollNode.canCancelAllTouchesInViews = true
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.scrollNode.view.contentInsetAdjustmentBehavior = .never
|
||||
}
|
||||
self.scrollNode.view.delaysContentTouches = false
|
||||
|
@ -1,9 +1,5 @@
|
||||
import UIKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
@objc private class CALayerAnimationDelegate: NSObject, CAAnimationDelegate {
|
||||
private let keyPath: String?
|
||||
var completion: ((Bool) -> Void)?
|
||||
|
@ -249,7 +249,7 @@ final class ContextMenuNode: ASDisplayNode {
|
||||
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
||||
if let event = event {
|
||||
var eventIsPresses = false
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
eventIsPresses = event.type == .presses
|
||||
}
|
||||
if event.type == .touches || eventIsPresses {
|
||||
|
@ -3,7 +3,7 @@ import UIKit
|
||||
import Accelerate
|
||||
|
||||
public let deviceColorSpace: CGColorSpace = {
|
||||
if #available(iOSApplicationExtension 9.3, *) {
|
||||
if #available(iOSApplicationExtension 9.3, iOS 9.3, *) {
|
||||
if let colorSpace = CGColorSpace(name: CGColorSpace.displayP3) {
|
||||
return colorSpace
|
||||
} else {
|
||||
|
@ -14,7 +14,7 @@ private class GridNodeScrollerView: UIScrollView {
|
||||
override init(frame: CGRect) {
|
||||
super.init(frame: frame)
|
||||
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.contentInsetAdjustmentBehavior = .never
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ public final class HapticFeedback {
|
||||
deinit {
|
||||
let impl = self.impl
|
||||
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 1.0, execute: {
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
if let impl = impl as? HapticFeedbackImpl {
|
||||
impl.f()
|
||||
}
|
||||
@ -120,7 +120,7 @@ public final class HapticFeedback {
|
||||
}
|
||||
|
||||
public func prepareTap() {
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
self.withImpl { impl in
|
||||
impl.prepareTap()
|
||||
}
|
||||
@ -128,7 +128,7 @@ public final class HapticFeedback {
|
||||
}
|
||||
|
||||
public func tap() {
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
self.withImpl { impl in
|
||||
impl.tap()
|
||||
}
|
||||
@ -136,7 +136,7 @@ public final class HapticFeedback {
|
||||
}
|
||||
|
||||
public func prepareImpact(_ style: ImpactHapticFeedbackStyle = .medium) {
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
self.withImpl { impl in
|
||||
impl.prepareImpact(style)
|
||||
}
|
||||
@ -144,7 +144,7 @@ public final class HapticFeedback {
|
||||
}
|
||||
|
||||
public func impact(_ style: ImpactHapticFeedbackStyle = .medium) {
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
self.withImpl { impl in
|
||||
impl.impact(style)
|
||||
}
|
||||
@ -152,7 +152,7 @@ public final class HapticFeedback {
|
||||
}
|
||||
|
||||
public func success() {
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
self.withImpl { impl in
|
||||
impl.success()
|
||||
}
|
||||
@ -160,7 +160,7 @@ public final class HapticFeedback {
|
||||
}
|
||||
|
||||
public func prepareError() {
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
self.withImpl { impl in
|
||||
impl.prepareError()
|
||||
}
|
||||
@ -168,7 +168,7 @@ public final class HapticFeedback {
|
||||
}
|
||||
|
||||
public func error() {
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
self.withImpl { impl in
|
||||
impl.error()
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ extension UIKeyModifierFlags: Hashable {
|
||||
|
||||
extension KeyShortcut {
|
||||
var uiKeyCommand: UIKeyCommand {
|
||||
if #available(iOSApplicationExtension 9.0, *), !self.title.isEmpty {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *), !self.title.isEmpty {
|
||||
return UIKeyCommand(input: self.input, modifierFlags: self.modifiers, action: #selector(KeyShortcutsController.handleKeyCommand(_:)), discoverabilityTitle: self.title)
|
||||
} else {
|
||||
return UIKeyCommand(input: self.input, modifierFlags: self.modifiers, action: #selector(KeyShortcutsController.handleKeyCommand(_:)))
|
||||
|
@ -9,7 +9,7 @@ public class KeyShortcutsController: UIResponder {
|
||||
private var viewControllerEnumerator: ((ContainableController) -> Bool) -> Void
|
||||
|
||||
public static var isAvailable: Bool {
|
||||
if #available(iOSApplicationExtension 8.0, *), UIDevice.current.userInterfaceIdiom == .pad {
|
||||
if #available(iOSApplicationExtension 8.0, iOS 8.0, *), UIDevice.current.userInterfaceIdiom == .pad {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
|
@ -1,9 +1,5 @@
|
||||
import Foundation
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
public enum Keyboard {
|
||||
public static func applyAutocorrection() {
|
||||
applyKeyboardAutocorrection()
|
||||
|
@ -2,10 +2,6 @@ import Foundation
|
||||
import UIKit
|
||||
import AsyncDisplayKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
struct KeyboardSurface {
|
||||
let host: UIView
|
||||
}
|
||||
|
@ -2,10 +2,6 @@ import Foundation
|
||||
import UIKit
|
||||
import AsyncDisplayKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
public enum LegacyPresentedControllerPresentation {
|
||||
case custom
|
||||
case modal
|
||||
|
@ -2,10 +2,6 @@ import UIKit
|
||||
import AsyncDisplayKit
|
||||
import SwiftSignalKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
private let infiniteScrollSize: CGFloat = 10000.0
|
||||
private let insertionAnimationDuration: Double = 0.4
|
||||
|
||||
|
@ -1,10 +1,6 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
public protocol Interpolatable {
|
||||
static func interpolator() -> (Interpolatable, Interpolatable, CGFloat) -> (Interpolatable)
|
||||
}
|
||||
|
@ -2,10 +2,6 @@ import Foundation
|
||||
import UIKit
|
||||
import AsyncDisplayKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
public enum ListViewItemHeaderStickDirection {
|
||||
case top
|
||||
case bottom
|
||||
|
@ -3,10 +3,6 @@ import UIKit
|
||||
import AsyncDisplayKit
|
||||
import SwiftSignalKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
var testSpringFrictionLimits: (CGFloat, CGFloat) = (3.0, 60.0)
|
||||
var testSpringFriction: CGFloat = 31.8211269378662
|
||||
|
||||
|
@ -6,7 +6,7 @@ class ListViewScroller: UIScrollView, UIGestureRecognizerDelegate {
|
||||
|
||||
#if os(iOS)
|
||||
self.scrollsToTop = false
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.contentInsetAdjustmentBehavior = .never
|
||||
}
|
||||
#endif
|
||||
|
@ -77,7 +77,7 @@ private final class WindowRootViewController: UIViewController, UIViewController
|
||||
var gestureEdges: UIRectEdge = [] {
|
||||
didSet {
|
||||
if oldValue != self.gestureEdges {
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.setNeedsUpdateOfScreenEdgesDeferringSystemGestures()
|
||||
}
|
||||
}
|
||||
@ -87,7 +87,7 @@ private final class WindowRootViewController: UIViewController, UIViewController
|
||||
var preferNavigationUIHidden: Bool = false {
|
||||
didSet {
|
||||
if oldValue != self.preferNavigationUIHidden {
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.setNeedsUpdateOfHomeIndicatorAutoHidden()
|
||||
}
|
||||
}
|
||||
@ -111,7 +111,7 @@ private final class WindowRootViewController: UIViewController, UIViewController
|
||||
|
||||
self.extendedLayoutIncludesOpaqueBars = true
|
||||
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.voiceOverStatusObserver = NotificationCenter.default.addObserver(forName: UIAccessibility.voiceOverStatusDidChangeNotification, object: nil, queue: OperationQueue.main, using: { [weak self] _ in
|
||||
if let strongSelf = self {
|
||||
strongSelf.updatePreviewingRegistration()
|
||||
@ -159,7 +159,7 @@ private final class WindowRootViewController: UIViewController, UIViewController
|
||||
var shouldRegister = false
|
||||
|
||||
var isVoiceOverRunning = false
|
||||
if #available(iOSApplicationExtension 10.0, *) {
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
isVoiceOverRunning = UIAccessibility.isVoiceOverRunning
|
||||
}
|
||||
if !isVoiceOverRunning {
|
||||
@ -169,13 +169,13 @@ private final class WindowRootViewController: UIViewController, UIViewController
|
||||
if shouldRegister != self.registeredForPreviewing {
|
||||
self.registeredForPreviewing = shouldRegister
|
||||
if shouldRegister {
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
self.previewingContext = self.registerForPreviewing(with: self, sourceView: self.view)
|
||||
}
|
||||
} else if let previewingContext = self.previewingContext {
|
||||
self.previewingContext = nil
|
||||
if let previewingContext = previewingContext as? UIViewControllerPreviewing {
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
self.unregisterForPreviewing(withContext: previewingContext)
|
||||
}
|
||||
}
|
||||
@ -189,7 +189,7 @@ private final class WindowRootViewController: UIViewController, UIViewController
|
||||
if UIAccessibility.isVoiceOverRunning {
|
||||
return nil
|
||||
}
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
guard let result = self.view.hitTest(location, with: nil) else {
|
||||
return nil
|
||||
}
|
||||
@ -205,7 +205,7 @@ private final class WindowRootViewController: UIViewController, UIViewController
|
||||
}
|
||||
|
||||
public func previewingContext(_ previewingContext: UIViewControllerPreviewing, commit viewControllerToCommit: UIViewController) {
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
if let previousPreviewingHostView = self.previousPreviewingHostView, let delegate = previousPreviewingHostView.previewingDelegate {
|
||||
delegate.commitController(viewControllerToCommit)
|
||||
}
|
||||
@ -237,7 +237,7 @@ private final class NativeWindow: UIWindow, WindowHost {
|
||||
let sizeUpdated = super.frame.size != value.size
|
||||
|
||||
var frameTransition: ContainedViewLayoutTransition = .immediate
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
let duration = UIView.inheritedAnimationDuration
|
||||
if !duration.isZero {
|
||||
frameTransition = .animated(duration: duration, curve: .easeInOut)
|
||||
|
@ -3,10 +3,6 @@ import UIKit
|
||||
import AsyncDisplayKit
|
||||
import SwiftSignalKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
public final class NavigationControllerTheme {
|
||||
public let navigationBar: NavigationBarTheme
|
||||
public let emptyAreaColor: UIColor
|
||||
@ -781,7 +777,7 @@ open class NavigationController: UINavigationController, ContainableController,
|
||||
self.controllerView.backgroundColor = self.theme.emptyAreaColor
|
||||
self.controllerView.separatorView.backgroundColor = theme.navigationBar.separatorColor
|
||||
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.navigationBar.prefersLargeTitles = false
|
||||
}
|
||||
self.navigationBar.removeFromSuperview()
|
||||
|
@ -184,7 +184,7 @@ public final class PeekControllerGestureRecognizer: UIPanGestureRecognizer {
|
||||
(presentedController.displayNode as? PeekControllerNode)?.applyDraggingOffset(offset)
|
||||
}
|
||||
case .press:
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
if touch.force >= 2.5 {
|
||||
if presentedController.isNodeLoaded {
|
||||
(presentedController.displayNode as? PeekControllerNode)?.activateMenu()
|
||||
@ -275,7 +275,7 @@ public final class PeekControllerGestureRecognizer: UIPanGestureRecognizer {
|
||||
case .drag:
|
||||
break
|
||||
case .press:
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
if presentedController.traitCollection.forceTouchCapability != .available {
|
||||
strongSelf.startPressTimer()
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ class ScrollToTopView: UIScrollView, UIScrollViewDelegate {
|
||||
|
||||
self.delegate = self
|
||||
self.scrollsToTop = true
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.contentInsetAdjustmentBehavior = .never
|
||||
}
|
||||
}
|
||||
|
@ -2,10 +2,6 @@ import Foundation
|
||||
import UIKit
|
||||
import AsyncDisplayKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
public class StatusBarSurface {
|
||||
var statusBars: [StatusBar] = []
|
||||
|
||||
|
@ -3,10 +3,6 @@ import UIKit
|
||||
import AsyncDisplayKit
|
||||
import SwiftSignalKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
private let separatorHeight: CGFloat = 1.0 / UIScreen.main.scale
|
||||
private func tabBarItemImage(_ image: UIImage?, title: String, backgroundColor: UIColor, tintColor: UIColor, horizontal: Bool, imageMode: Bool) -> (UIImage, CGFloat) {
|
||||
let font = horizontal ? Font.regular(13.0) : Font.medium(10.0)
|
||||
|
@ -121,7 +121,7 @@ final class TooltipControllerNode: ASDisplayNode {
|
||||
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
||||
if let event = event {
|
||||
var eventIsPresses = false
|
||||
if #available(iOSApplicationExtension 9.0, *) {
|
||||
if #available(iOSApplicationExtension 9.0, iOS 9.0, *) {
|
||||
eventIsPresses = event.type == .presses
|
||||
}
|
||||
if event.type == .touches || eventIsPresses {
|
||||
|
@ -2,10 +2,6 @@ import Foundation
|
||||
import UIKit
|
||||
import AsyncDisplayKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
open class UITracingLayerView: UIView {
|
||||
private var scheduledWithLayout: (() -> Void)?
|
||||
|
||||
|
@ -3,10 +3,6 @@ import UIKit
|
||||
import AsyncDisplayKit
|
||||
import SwiftSignalKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
private func findCurrentResponder(_ view: UIView) -> UIResponder? {
|
||||
if view.isFirstResponder {
|
||||
return view
|
||||
|
@ -3,10 +3,6 @@ import UIKit
|
||||
import AsyncDisplayKit
|
||||
import SwiftSignalKit
|
||||
|
||||
#if BUCK
|
||||
import DisplayPrivate
|
||||
#endif
|
||||
|
||||
private struct WindowLayout: Equatable {
|
||||
let size: CGSize
|
||||
let metrics: LayoutMetrics
|
||||
@ -248,7 +244,7 @@ public final class WindowHostView {
|
||||
}
|
||||
|
||||
var hasOnScreenNavigation: Bool {
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
return !self.eventView.safeAreaInsets.bottom.isZero
|
||||
} else {
|
||||
return false
|
||||
@ -514,7 +510,7 @@ public class Window1 {
|
||||
}
|
||||
})
|
||||
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.keyboardTypeChangeObserver = NotificationCenter.default.addObserver(forName: UITextInputMode.currentInputModeDidChangeNotification, object: nil, queue: OperationQueue.main, using: { [weak self] notification in
|
||||
if let strongSelf = self, let initialInputHeight = strongSelf.windowLayout.inputHeight, let firstResponder = getFirstResponderAndAccessoryHeight(strongSelf.hostView.eventView).0 {
|
||||
if firstResponder.textInputMode?.primaryLanguage != nil {
|
||||
@ -542,7 +538,7 @@ public class Window1 {
|
||||
})
|
||||
}
|
||||
|
||||
if #available(iOSApplicationExtension 11.0, *) {
|
||||
if #available(iOSApplicationExtension 11.0, iOS 11.0, *) {
|
||||
self.voiceOverStatusObserver = NotificationCenter.default.addObserver(forName: UIAccessibility.voiceOverStatusDidChangeNotification, object: nil, queue: OperationQueue.main, using: { [weak self] _ in
|
||||
if let strongSelf = self {
|
||||
strongSelf.updateLayout { $0.update(inVoiceOver: UIAccessibility.isVoiceOverRunning) }
|
||||
|
@ -1,16 +1,6 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library", "framework")
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
apple_resource(
|
||||
name = 'EmojiFiles',
|
||||
dirs = [
|
||||
"TestFolder.bundle",
|
||||
],
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
],
|
||||
)
|
||||
|
||||
framework(
|
||||
static_library(
|
||||
name = "Emoji",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
|
21
submodules/EncryptionKeyVisualization/BUCK
Normal file
21
submodules/EncryptionKeyVisualization/BUCK
Normal file
@ -0,0 +1,21 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "EncryptionKeyVisualization",
|
||||
srcs = glob([
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/EncryptionKeyVisualization.h"]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/EncryptionKeyVisualization.h"]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
17
submodules/GZip/BUCK
Normal file
17
submodules/GZip/BUCK
Normal file
@ -0,0 +1,17 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "GZip",
|
||||
srcs = glob([
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
15
submodules/Geocoding/BUCK
Normal file
15
submodules/Geocoding/BUCK
Normal file
@ -0,0 +1,15 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "Geocoding",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
|
||||
],
|
||||
)
|
12
submodules/HexColor/BUCK
Normal file
12
submodules/HexColor/BUCK
Normal file
@ -0,0 +1,12 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "HexColor",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
58
submodules/HockeySDK-iOS/BUCK
Normal file
58
submodules/HockeySDK-iOS/BUCK
Normal file
@ -0,0 +1,58 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
prebuilt_apple_framework(
|
||||
name = "CrashReporter",
|
||||
framework = "Vendor/CrashReporter.framework",
|
||||
preferred_linkage = "static",
|
||||
)
|
||||
|
||||
static_library(
|
||||
name = "HockeySDK",
|
||||
srcs = glob([
|
||||
"Classes/*.m",
|
||||
"Classes/*.mm",
|
||||
]),
|
||||
headers = glob([
|
||||
"Classes/*.h",
|
||||
]),
|
||||
exported_headers = [
|
||||
"Classes/HockeySDKFeatureConfig.h",
|
||||
"Classes/HockeySDKEnums.h",
|
||||
"Classes/HockeySDKNullability.h",
|
||||
"Classes/BITAlertAction.h",
|
||||
|
||||
"Classes/BITHockeyManager.h",
|
||||
|
||||
"Classes/BITHockeyAttachment.h",
|
||||
|
||||
"Classes/BITHockeyBaseManager.h",
|
||||
"Classes/BITCrashManager.h",
|
||||
"Classes/BITCrashAttachment.h",
|
||||
"Classes/BITCrashManagerDelegate.h",
|
||||
"Classes/BITCrashDetails.h",
|
||||
"Classes/BITCrashMetaData.h",
|
||||
|
||||
"Classes/BITUpdateManager.h",
|
||||
"Classes/BITUpdateManagerDelegate.h",
|
||||
"Classes/BITUpdateViewController.h",
|
||||
"Classes/BITHockeyBaseViewController.h",
|
||||
"Classes/BITHockeyManagerDelegate.h",
|
||||
],
|
||||
compiler_flags = [
|
||||
'-DBITHOCKEY_VERSION=@\"5.1.2\"',
|
||||
'-DBITHOCKEY_C_VERSION="5.1.2"',
|
||||
'-DBITHOCKEY_C_BUILD="108"',
|
||||
"-DHOCKEYSDK_FEATURE_CRASH_REPORTER=1",
|
||||
"-DHOCKEYSDK_FEATURE_UPDATES=1",
|
||||
"-DHOCKEYSDK_FEATURE_FEEDBACK=0",
|
||||
"-DHOCKEYSDK_FEATURE_AUTHENTICATOR=0",
|
||||
"-DHOCKEYSDK_FEATURE_METRICS=0",
|
||||
],
|
||||
deps = [
|
||||
":CrashReporter",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
20
submodules/ImageBlur/BUCK
Normal file
20
submodules/ImageBlur/BUCK
Normal file
@ -0,0 +1,20 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ImageBlur",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/ImageBlur.h"]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/ImageBlur.h"]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Accelerate.framework",
|
||||
],
|
||||
)
|
13
submodules/ImageCompression/BUCK
Normal file
13
submodules/ImageCompression/BUCK
Normal file
@ -0,0 +1,13 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ImageCompression",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
|
||||
],
|
||||
)
|
16
submodules/ImageTransparency/BUCK
Normal file
16
submodules/ImageTransparency/BUCK
Normal file
@ -0,0 +1,16 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "ImageTransparency",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/Display:Display#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Accelerate.framework",
|
||||
],
|
||||
)
|
19
submodules/InstantPageCache/BUCK
Normal file
19
submodules/InstantPageCache/BUCK
Normal file
@ -0,0 +1,19 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "InstantPageCache",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/TelegramUIPreferences:TelegramUIPreferences",
|
||||
"//submodules/PersistentStringHash:PersistentStringHash",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
366
submodules/LegacyComponents/BUCK
Normal file
366
submodules/LegacyComponents/BUCK
Normal file
@ -0,0 +1,366 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
apple_resource(
|
||||
name = "LegacyComponentsResources",
|
||||
dirs = [
|
||||
"LegacyComponents/Resources/LegacyComponentsResources.bundle",
|
||||
],
|
||||
)
|
||||
|
||||
static_library(
|
||||
name = "LegacyComponents",
|
||||
srcs = glob([
|
||||
"LegacyComponents/*.m",
|
||||
"LegacyComponents/*.mm",
|
||||
"LegacyComponents/*.c",
|
||||
"LegacyComponents/*.cpp",
|
||||
]),
|
||||
headers = glob([
|
||||
"LegacyComponents/*.h",
|
||||
], exclude = ["LegacyComponents/LegacyComponents.h"]),
|
||||
exported_headers = [
|
||||
"LegacyComponents/LegacyComponentsGlobals.h",
|
||||
"LegacyComponents/LegacyComponentsContext.h",
|
||||
"LegacyComponents/TGLocalization.h",
|
||||
"LegacyComponents/TGPluralization.h",
|
||||
"LegacyComponents/TGStringUtils.h",
|
||||
"LegacyComponents/TGPhoneUtils.h",
|
||||
"LegacyComponents/NSObject+TGLock.h",
|
||||
"LegacyComponents/RMPhoneFormat.h",
|
||||
"LegacyComponents/NSInputStream+TL.h",
|
||||
"LegacyComponents/TGFont.h",
|
||||
"LegacyComponents/TGImageUtils.h",
|
||||
"LegacyComponents/TGDateUtils.h",
|
||||
"LegacyComponents/Freedom.h",
|
||||
"LegacyComponents/FreedomUIKit.h",
|
||||
"LegacyComponents/TGHacks.h",
|
||||
"LegacyComponents/TGImageBlur.h",
|
||||
"LegacyComponents/UIDevice+PlatformInfo.h",
|
||||
"LegacyComponents/TGObserverProxy.h",
|
||||
"LegacyComponents/TGModernCache.h",
|
||||
"LegacyComponents/TGMemoryImageCache.h",
|
||||
"LegacyComponents/LegacyComponentsAccessChecker.h",
|
||||
"LegacyComponents/TGTimerTarget.h",
|
||||
"LegacyComponents/TGKeyCommand.h",
|
||||
"LegacyComponents/TGKeyCommandController.h",
|
||||
"LegacyComponents/TGWeakDelegate.h",
|
||||
"LegacyComponents/TGCache.h",
|
||||
"LegacyComponents/TGLiveUploadInterface.h",
|
||||
|
||||
"LegacyComponents/JNWSpringAnimation.h",
|
||||
"LegacyComponents/POPAnimationEvent.h",
|
||||
"LegacyComponents/POPAnimationTracer.h",
|
||||
"LegacyComponents/POPAnimation.h",
|
||||
"LegacyComponents/POPBasicAnimation.h",
|
||||
"LegacyComponents/POPCustomAnimation.h",
|
||||
"LegacyComponents/POPDecayAnimation.h",
|
||||
"LegacyComponents/POPPropertyAnimation.h",
|
||||
"LegacyComponents/POPSpringAnimation.h",
|
||||
"LegacyComponents/POPGeometry.h",
|
||||
"LegacyComponents/POPAnimatableProperty.h",
|
||||
|
||||
"LegacyComponents/lmdb.h",
|
||||
"LegacyComponents/PSLMDBTable.h",
|
||||
"LegacyComponents/PSLMDBKeyValueStore.h",
|
||||
"LegacyComponents/PSLMDBKeyValueReaderWriter.h",
|
||||
"LegacyComponents/PSLMDBKeyValueCursor.h",
|
||||
|
||||
"LegacyComponents/PSCoding.h",
|
||||
"LegacyComponents/PSData.h",
|
||||
"LegacyComponents/PSKeyValueCoder.h",
|
||||
"LegacyComponents/PSKeyValueDecoder.h",
|
||||
"LegacyComponents/PSKeyValueEncoder.h",
|
||||
"LegacyComponents/PSKeyValueReader.h",
|
||||
"LegacyComponents/PSKeyValueStore.h",
|
||||
"LegacyComponents/PSKeyValueWriter.h",
|
||||
|
||||
"LegacyComponents/TGPeerIdAdapter.h",
|
||||
"LegacyComponents/TGUser.h",
|
||||
"LegacyComponents/TGBotInfo.h",
|
||||
"LegacyComponents/TGBotComandInfo.h",
|
||||
"LegacyComponents/TGConversation.h",
|
||||
|
||||
"LegacyComponents/TGModernConversationAssociatedInputPanel.h",
|
||||
"LegacyComponents/TGModernConversationHashtagsAssociatedPanel.h",
|
||||
"LegacyComponents/TGModernConversationMentionsAssociatedPanel.h",
|
||||
"LegacyComponents/TGModernConversationAlphacodeAssociatedPanel.h",
|
||||
"LegacyComponents/TGSuggestionContext.h",
|
||||
"LegacyComponents/TGAlphacode.h",
|
||||
|
||||
"LegacyComponents/TGTextCheckingResult.h",
|
||||
"LegacyComponents/TGChannelBannedRights.h",
|
||||
"LegacyComponents/TGChannelAdminRights.h",
|
||||
"LegacyComponents/TGDatabaseMessageDraft.h",
|
||||
"LegacyComponents/TGMessageGroup.h",
|
||||
"LegacyComponents/TGMessageHole.h",
|
||||
"LegacyComponents/TGMessageViewCountContentProperty.h",
|
||||
"LegacyComponents/TGAuthorSignatureMediaAttachment.h",
|
||||
"LegacyComponents/TGWebDocument.h",
|
||||
"LegacyComponents/TGInvoiceMediaAttachment.h",
|
||||
"LegacyComponents/TGGameMediaAttachment.h",
|
||||
"LegacyComponents/TGViaUserAttachment.h",
|
||||
"LegacyComponents/TGBotContextResultAttachment.h",
|
||||
"LegacyComponents/TGMessageEntity.h",
|
||||
"LegacyComponents/TGMessageEntityBold.h",
|
||||
"LegacyComponents/TGMessageEntityBotCommand.h",
|
||||
"LegacyComponents/TGMessageEntityCode.h",
|
||||
"LegacyComponents/TGMessageEntityEmail.h",
|
||||
"LegacyComponents/TGMessageEntityHashtag.h",
|
||||
"LegacyComponents/TGMessageEntityItalic.h",
|
||||
"LegacyComponents/TGMessageEntityMention.h",
|
||||
"LegacyComponents/TGMessageEntityMentionName.h",
|
||||
"LegacyComponents/TGMessageEntityPre.h",
|
||||
"LegacyComponents/TGMessageEntityTextUrl.h",
|
||||
"LegacyComponents/TGMessageEntityUrl.h",
|
||||
"LegacyComponents/TGMessageEntitiesAttachment.h",
|
||||
"LegacyComponents/TGBotReplyMarkup.h",
|
||||
"LegacyComponents/TGBotReplyMarkupButton.h",
|
||||
"LegacyComponents/TGBotReplyMarkupRow.h",
|
||||
"LegacyComponents/TGReplyMarkupAttachment.h",
|
||||
"LegacyComponents/TGInstantPage.h",
|
||||
"LegacyComponents/TGWebPageMediaAttachment.h",
|
||||
"LegacyComponents/TGAudioMediaAttachment.h",
|
||||
"LegacyComponents/TGAudioWaveform.h",
|
||||
"LegacyComponents/TGStickerPackReference.h",
|
||||
"LegacyComponents/TGDocumentAttributeFilename.h",
|
||||
"LegacyComponents/TGDocumentAttributeImageSize.h",
|
||||
"LegacyComponents/TGDocumentAttributeSticker.h",
|
||||
"LegacyComponents/TGDocumentAttributeVideo.h",
|
||||
"LegacyComponents/TGDocumentAttributeAnimated.h",
|
||||
"LegacyComponents/TGDocumentAttributeAudio.h",
|
||||
"LegacyComponents/TGDocumentMediaAttachment.h",
|
||||
"LegacyComponents/TGUnsupportedMediaAttachment.h",
|
||||
"LegacyComponents/TGForwardedMessageMediaAttachment.h",
|
||||
"LegacyComponents/TGContactMediaAttachment.h",
|
||||
"LegacyComponents/TGVideoInfo.h",
|
||||
"LegacyComponents/TGVideoMediaAttachment.h",
|
||||
"LegacyComponents/TGLocalMessageMetaMediaAttachment.h",
|
||||
"LegacyComponents/TGLocationMediaAttachment.h",
|
||||
"LegacyComponents/TGImageMediaAttachment.h",
|
||||
"LegacyComponents/TGMediaAttachment.h",
|
||||
"LegacyComponents/TGImageInfo.h",
|
||||
"LegacyComponents/TGMediaOriginInfo.h",
|
||||
"LegacyComponents/TGMessage.h",
|
||||
"LegacyComponents/TGStickerPack.h",
|
||||
"LegacyComponents/TGStickerAssociation.h",
|
||||
"LegacyComponents/TGPhotoMaskPosition.h",
|
||||
|
||||
"LegacyComponents/ActionStage.h",
|
||||
"LegacyComponents/ASActor.h",
|
||||
"LegacyComponents/ASHandle.h",
|
||||
"LegacyComponents/ASQueue.h",
|
||||
"LegacyComponents/ASWatcher.h",
|
||||
"LegacyComponents/SGraphListNode.h",
|
||||
"LegacyComponents/SGraphNode.h",
|
||||
"LegacyComponents/SGraphObjectNode.h",
|
||||
|
||||
"LegacyComponents/TGLabel.h",
|
||||
"LegacyComponents/TGToolbarButton.h",
|
||||
"LegacyComponents/UIScrollView+TGHacks.h",
|
||||
"LegacyComponents/TGAnimationBlockDelegate.h",
|
||||
"LegacyComponents/TGBackdropView.h",
|
||||
"LegacyComponents/UIImage+TG.h",
|
||||
"LegacyComponents/TGStaticBackdropAreaData.h",
|
||||
"LegacyComponents/TGStaticBackdropImageData.h",
|
||||
"LegacyComponents/TGImageLuminanceMap.h",
|
||||
"LegacyComponents/TGFullscreenContainerView.h",
|
||||
"LegacyComponents/TGDoubleTapGestureRecognizer.h",
|
||||
"LegacyComponents/TGModernButton.h",
|
||||
"LegacyComponents/TGModernToolbarButton.h",
|
||||
"LegacyComponents/TGModernBackToolbarButton.h",
|
||||
"LegacyComponents/UIControl+HitTestEdgeInsets.h",
|
||||
"LegacyComponents/TGMenuView.h",
|
||||
"LegacyComponents/TGImageView.h",
|
||||
"LegacyComponents/UICollectionView+Utils.h",
|
||||
"LegacyComponents/TGMessageImageViewOverlayView.h",
|
||||
"LegacyComponents/TGLetteredAvatarView.h",
|
||||
"LegacyComponents/TGGradientLabel.h",
|
||||
"LegacyComponents/TGRemoteImageView.h",
|
||||
|
||||
"LegacyComponents/TGProgressSpinnerView.h",
|
||||
"LegacyComponents/TGProgressWindow.h",
|
||||
|
||||
"LegacyComponents/TGMenuSheetController.h",
|
||||
"LegacyComponents/TGMenuSheetButtonItemView.h",
|
||||
"LegacyComponents/TGMenuSheetCollectionView.h",
|
||||
"LegacyComponents/TGMenuSheetItemView.h",
|
||||
"LegacyComponents/TGMenuSheetTitleItemView.h",
|
||||
"LegacyComponents/TGMenuSheetView.h",
|
||||
|
||||
"LegacyComponents/HPGrowingTextView.h",
|
||||
"LegacyComponents/HPTextViewInternal.h",
|
||||
"LegacyComponents/TGInputTextTag.h",
|
||||
|
||||
"LegacyComponents/TGStickerKeyboardTabPanel.h",
|
||||
|
||||
"LegacyComponents/TGItemPreviewController.h",
|
||||
"LegacyComponents/TGItemPreviewView.h",
|
||||
"LegacyComponents/TGItemMenuSheetPreviewView.h",
|
||||
|
||||
"LegacyComponents/TGImageManager.h",
|
||||
"LegacyComponents/TGDataResource.h",
|
||||
"LegacyComponents/TGImageDataSource.h",
|
||||
"LegacyComponents/TGImageManagerTask.h",
|
||||
|
||||
"LegacyComponents/TGRTLScreenEdgePanGestureRecognizer.h",
|
||||
"LegacyComponents/TGPopoverController.h",
|
||||
"LegacyComponents/TGNavigationController.h",
|
||||
"LegacyComponents/TGNavigationBar.h",
|
||||
"LegacyComponents/TGViewController.h",
|
||||
"LegacyComponents/TGViewController+TGRecursiveEnumeration.h",
|
||||
"LegacyComponents/TGOverlayController.h",
|
||||
"LegacyComponents/TGOverlayControllerWindow.h",
|
||||
|
||||
"LegacyComponents/TGMediaAssetsLibrary.h",
|
||||
"LegacyComponents/TGMediaAssetsModernLibrary.h",
|
||||
"LegacyComponents/TGMediaAsset.h",
|
||||
"LegacyComponents/TGMediaAssetFetchResult.h",
|
||||
"LegacyComponents/TGMediaAssetFetchResultChange.h",
|
||||
"LegacyComponents/TGMediaAssetGroup.h",
|
||||
"LegacyComponents/TGMediaAssetMoment.h",
|
||||
"LegacyComponents/TGMediaAssetMomentList.h",
|
||||
"LegacyComponents/TGMediaAssetImageSignals.h",
|
||||
"LegacyComponents/TGMediaSelectionContext.h",
|
||||
"LegacyComponents/TGMediaEditingContext.h",
|
||||
|
||||
"LegacyComponents/TGModernGalleryZoomableItemViewContent.h",
|
||||
"LegacyComponents/TGModernGalleryZoomableScrollView.h",
|
||||
"LegacyComponents/TGModernGalleryZoomableScrollViewSwipeGestureRecognizer.h",
|
||||
"LegacyComponents/TGModernGalleryVideoView.h",
|
||||
"LegacyComponents/TGModernGalleryScrollView.h",
|
||||
"LegacyComponents/TGModernGalleryItem.h",
|
||||
"LegacyComponents/TGModernGalleryItemView.h",
|
||||
"LegacyComponents/TGModernGalleryImageItem.h",
|
||||
"LegacyComponents/TGModernGalleryImageItemView.h",
|
||||
"LegacyComponents/TGModernGalleryImageItemImageView.h",
|
||||
"LegacyComponents/TGModernGalleryEditableItemView.h",
|
||||
"LegacyComponents/TGModernGallerySelectableItem.h",
|
||||
"LegacyComponents/TGModernGalleryDefaultFooterAccessoryView.h",
|
||||
"LegacyComponents/TGModernGalleryDefaultFooterView.h",
|
||||
"LegacyComponents/TGModernGalleryDefaultHeaderView.h",
|
||||
"LegacyComponents/TGModernGalleryDefaultInterfaceView.h",
|
||||
"LegacyComponents/TGModernGalleryInterfaceView.h",
|
||||
"LegacyComponents/TGModernGalleryImageItemContainerView.h",
|
||||
"LegacyComponents/TGModernGalleryZoomableItemView.h",
|
||||
"LegacyComponents/TGModernGalleryModel.h",
|
||||
"LegacyComponents/TGModernGalleryTransitionView.h",
|
||||
"LegacyComponents/TGModernGalleryView.h",
|
||||
"LegacyComponents/TGModernGalleryContainerView.h",
|
||||
"LegacyComponents/TGModernGalleryEmbeddedStickersHeaderView.h",
|
||||
"LegacyComponents/TGModernGalleryController.h",
|
||||
|
||||
"LegacyComponents/TGPhotoToolbarView.h",
|
||||
"LegacyComponents/TGMediaPickerGalleryModel.h",
|
||||
"LegacyComponents/TGMediaPickerGalleryInterfaceView.h",
|
||||
"LegacyComponents/TGPhotoEditorController.h",
|
||||
"LegacyComponents/TGMediaAvatarEditorTransition.h",
|
||||
|
||||
"LegacyComponents/TGPhotoEditorUtils.h",
|
||||
"LegacyComponents/PGPhotoEditorValues.h",
|
||||
"LegacyComponents/TGVideoEditAdjustments.h",
|
||||
"LegacyComponents/AVURLAsset+TGMediaItem.h",
|
||||
"LegacyComponents/UIImage+TGMediaEditableItem.h",
|
||||
"LegacyComponents/TGMediaVideoConverter.h",
|
||||
"LegacyComponents/TGGifConverter.h",
|
||||
|
||||
"LegacyComponents/TGPhotoEditorAnimation.h",
|
||||
|
||||
"LegacyComponents/TGPaintingData.h",
|
||||
"LegacyComponents/TGPaintUtils.h",
|
||||
"LegacyComponents/TGPhotoPaintEntity.h",
|
||||
"LegacyComponents/TGPhotoPaintStickerEntity.h",
|
||||
"LegacyComponents/TGPaintUndoManager.h",
|
||||
|
||||
"LegacyComponents/PGCamera.h",
|
||||
"LegacyComponents/PGCameraCaptureSession.h",
|
||||
"LegacyComponents/PGCameraDeviceAngleSampler.h",
|
||||
"LegacyComponents/PGCameraMomentSegment.h",
|
||||
"LegacyComponents/PGCameraMomentSession.h",
|
||||
"LegacyComponents/PGCameraMovieWriter.h",
|
||||
"LegacyComponents/PGCameraShotMetadata.h",
|
||||
"LegacyComponents/PGCameraVolumeButtonHandler.h",
|
||||
"LegacyComponents/TGCameraPreviewView.h",
|
||||
"LegacyComponents/TGCameraMainPhoneView.h",
|
||||
"LegacyComponents/TGCameraMainTabletView.h",
|
||||
"LegacyComponents/TGCameraMainView.h",
|
||||
"LegacyComponents/TGCameraFlashActiveView.h",
|
||||
"LegacyComponents/TGCameraFlashControl.h",
|
||||
"LegacyComponents/TGCameraFlipButton.h",
|
||||
"LegacyComponents/TGCameraInterfaceAssets.h",
|
||||
"LegacyComponents/TGCameraModeControl.h",
|
||||
"LegacyComponents/TGCameraSegmentsView.h",
|
||||
"LegacyComponents/TGCameraShutterButton.h",
|
||||
"LegacyComponents/TGCameraTimeCodeView.h",
|
||||
"LegacyComponents/TGCameraZoomView.h",
|
||||
"LegacyComponents/TGCameraPhotoPreviewController.h",
|
||||
"LegacyComponents/TGCameraController.h",
|
||||
"LegacyComponents/TGCameraCapturedPhoto.h",
|
||||
"LegacyComponents/TGCameraCapturedVideo.h",
|
||||
"LegacyComponents/TGPhotoVideoEditor.h",
|
||||
|
||||
"LegacyComponents/TGModernConversationTitleActivityIndicator.h",
|
||||
"LegacyComponents/TGEmbedPIPButton.h",
|
||||
"LegacyComponents/TGEmbedPIPPullArrowView.h",
|
||||
"LegacyComponents/TGEmbedPlayerState.h",
|
||||
"LegacyComponents/TGAttachmentCameraView.h",
|
||||
"LegacyComponents/TGMediaAvatarMenuMixin.h",
|
||||
"LegacyComponents/TGPassportAttachMenu.h",
|
||||
"LegacyComponents/TGPassportScanController.h",
|
||||
"LegacyComponents/TGPassportOCR.h",
|
||||
"LegacyComponents/TGPassportMRZ.h",
|
||||
"LegacyComponents/TGPassportICloud.h",
|
||||
"LegacyComponents/TGEmbedPlayerView.h",
|
||||
"LegacyComponents/LegacyHTTPRequestOperation.h",
|
||||
|
||||
"LegacyComponents/TGAttachmentCarouselItemView.h",
|
||||
"LegacyComponents/TGMediaAssetsController.h",
|
||||
|
||||
"LegacyComponents/TGLocationVenue.h",
|
||||
"LegacyComponents/TGLocationMapViewController.h",
|
||||
"LegacyComponents/TGLocationPickerController.h",
|
||||
"LegacyComponents/TGLocationViewController.h",
|
||||
"LegacyComponents/TGListsTableView.h",
|
||||
"LegacyComponents/TGSearchBar.h",
|
||||
"LegacyComponents/TGSearchDisplayMixin.h",
|
||||
|
||||
"LegacyComponents/TGPhotoEditorSliderView.h",
|
||||
|
||||
"LegacyComponents/TGClipboardGalleryMixin.h",
|
||||
"LegacyComponents/TGClipboardGalleryPhotoItem.h",
|
||||
"LegacyComponents/TGVideoMessageCaptureController.h",
|
||||
"LegacyComponents/TGModernConversationInputMicButton.h",
|
||||
|
||||
"LegacyComponents/TGLocationPulseView.h",
|
||||
"LegacyComponents/TGLocationWavesView.h",
|
||||
"LegacyComponents/TGLocationLiveElapsedView.h",
|
||||
"LegacyComponents/TGLocationLiveSessionItemView.h",
|
||||
|
||||
"LegacyComponents/TGTooltipView.h",
|
||||
|
||||
"LegacyComponents/TGCheckButtonView.h",
|
||||
"LegacyComponents/TGClipboardMenu.h",
|
||||
"LegacyComponents/TGImagePickerController.h",
|
||||
"LegacyComponents/TGLegacyCameraController.h",
|
||||
"LegacyComponents/TGProxyWindow.h",
|
||||
"LegacyComponents/TGIconSwitchView.h",
|
||||
|
||||
"LegacyComponents/TGModernGalleryEditableItem.h",
|
||||
"LegacyComponents/TGPhotoEditorButton.h",
|
||||
|
||||
"LegacyComponents/TGActionMediaAttachment.h",
|
||||
"LegacyComponents/TGReplyMessageMediaAttachment.h",
|
||||
"LegacyComponents/TGMessageEntityPhone.h",
|
||||
"LegacyComponents/TGMessageEntityCashtag.h",
|
||||
"LegacyComponents/TGPIPAblePlayerView.h",
|
||||
"LegacyComponents/TGEmbedPlayerControls.h",
|
||||
],
|
||||
deps = [
|
||||
":LegacyComponentsResources",
|
||||
"//submodules/SSignalKit/SSignalKit:SSignalKit",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Vision.framework",
|
||||
],
|
||||
)
|
28
submodules/LegacyDataImport/BUCK
Normal file
28
submodules/LegacyDataImport/BUCK
Normal file
@ -0,0 +1,28 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "LegacyDataImport",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/LegacyDataImport.h"]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/LegacyDataImport.h"]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#dynamic",
|
||||
"//submodules/Postbox:Postbox#dynamic",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#dynamic",
|
||||
"//submodules/TelegramNotices:TelegramNotices",
|
||||
"//submodules/TelegramUIPreferences:TelegramUIPreferences",
|
||||
"//submodules/RadialStatusNode:RadialStatusNode",
|
||||
"//submodules/LegacyComponents:LegacyComponents",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
11
submodules/LightweightAccountData/BUCK
Normal file
11
submodules/LightweightAccountData/BUCK
Normal file
@ -0,0 +1,11 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "LightweightAccountData",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
19
submodules/LiveLocationManager/BUCK
Normal file
19
submodules/LiveLocationManager/BUCK
Normal file
@ -0,0 +1,19 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "LiveLocationManager",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#dynamic",
|
||||
"//submodules/TelegramCore:TelegramCore#dynamic",
|
||||
"//submodules/Postbox:Postbox#dynamic",
|
||||
"//submodules/DeviceLocationManager:DeviceLocationManager",
|
||||
"//submodules/AccountContext:AccountContext",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
|
||||
],
|
||||
)
|
20
submodules/LiveLocationPositionNode/BUCK
Normal file
20
submodules/LiveLocationPositionNode/BUCK
Normal file
@ -0,0 +1,20 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "LiveLocationPositionNode",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
||||
"//submodules/AvatarNode:AvatarNode",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
17
submodules/LiveLocationTimerNode/BUCK
Normal file
17
submodules/LiveLocationTimerNode/BUCK
Normal file
@ -0,0 +1,17 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "LiveLocationTimerNode",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
15
submodules/LocalAuth/BUCK
Normal file
15
submodules/LocalAuth/BUCK
Normal file
@ -0,0 +1,15 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "LocalAuth",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/LocalAuthentication.framework",
|
||||
],
|
||||
)
|
19
submodules/LocalMediaResources/BUCK
Normal file
19
submodules/LocalMediaResources/BUCK
Normal file
@ -0,0 +1,19 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "LocalMediaResources",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/ImageCompression:ImageCompression",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Photos.framework",
|
||||
],
|
||||
)
|
17
submodules/LocalizedPeerData/BUCK
Normal file
17
submodules/LocalizedPeerData/BUCK
Normal file
@ -0,0 +1,17 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "LocalizedPeerData",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#dynamic",
|
||||
"//submodules/Postbox:Postbox#dynamic",
|
||||
"//submodules/TelegramPresentationData:TelegramPresentationData",
|
||||
"//submodules/TelegramUIPreferences:TelegramUIPreferences",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
18
submodules/MapResourceToAvatarSizes/BUCK
Normal file
18
submodules/MapResourceToAvatarSizes/BUCK
Normal file
@ -0,0 +1,18 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "MapResourceToAvatarSizes",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
27
submodules/MediaPlayer/BUCK
Normal file
27
submodules/MediaPlayer/BUCK
Normal file
@ -0,0 +1,27 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "UniversalMediaPlayer",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/UniversalMediaPlayer.h"]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/UniversalMediaPlayer.h"]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/TelegramAudio:TelegramAudio",
|
||||
"//submodules/FFMpeg:FFMpeg",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
18
submodules/MediaResources/BUCK
Normal file
18
submodules/MediaResources/BUCK
Normal file
@ -0,0 +1,18 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "MediaResources",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/MapKit.framework",
|
||||
],
|
||||
)
|
11
submodules/MergeLists/BUCK
Normal file
11
submodules/MergeLists/BUCK
Normal file
@ -0,0 +1,11 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "MergeLists",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
17
submodules/MimeTypes/BUCK
Normal file
17
submodules/MimeTypes/BUCK
Normal file
@ -0,0 +1,17 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "MimeTypes",
|
||||
srcs = glob([
|
||||
"Sources/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/MimeTypes.h"]),
|
||||
exported_headers = glob([
|
||||
"Sources/*.h",
|
||||
], exclude = ["Sources/MimeTypes.h"]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
12
submodules/MosaicLayout/BUCK
Normal file
12
submodules/MosaicLayout/BUCK
Normal file
@ -0,0 +1,12 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "MosaicLayout",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
18
submodules/MusicAlbumArtResources/BUCK
Normal file
18
submodules/MusicAlbumArtResources/BUCK
Normal file
@ -0,0 +1,18 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "MusicAlbumArtResources",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/UrlEscaping:UrlEscaping",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
41
submodules/Opus/BUCK
Normal file
41
submodules/Opus/BUCK
Normal file
@ -0,0 +1,41 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
genrule(
|
||||
name = "opus_lib_file",
|
||||
visibility = [
|
||||
"//submodules/Opus:..."
|
||||
],
|
||||
srcs = [
|
||||
"Sources/opus/lib/libopus.a",
|
||||
],
|
||||
bash = "mkdir -p $OUT; cp $SRCS $OUT/",
|
||||
out = "opus_lib_file",
|
||||
)
|
||||
|
||||
apple_library(
|
||||
name = "opus_lib",
|
||||
visibility = [
|
||||
"//submodules/Opus:..."
|
||||
],
|
||||
header_namespace = "opus",
|
||||
exported_headers = glob([
|
||||
"Sources/**/*.h",
|
||||
]),
|
||||
exported_linker_flags = [
|
||||
"-lopus",
|
||||
"-L$(location :opus_lib_file)",
|
||||
],
|
||||
)
|
||||
|
||||
static_library(
|
||||
name = "opus",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
exported_headers = glob([
|
||||
"Sources/**/*.h",
|
||||
]),
|
||||
deps = [
|
||||
":opus_lib",
|
||||
],
|
||||
)
|
34
submodules/OpusBinding/BUCK
Normal file
34
submodules/OpusBinding/BUCK
Normal file
@ -0,0 +1,34 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "OpusBinding",
|
||||
srcs = glob([
|
||||
"Sources/**/*.m",
|
||||
"Sources/**/*.c",
|
||||
]),
|
||||
headers = {
|
||||
"ogg/ogg.h": "Sources/ogg/ogg.h",
|
||||
"ogg/os_types.h": "Sources/ogg/os_types.h",
|
||||
"OggOpusReader.h": "Sources/OggOpusReader.h",
|
||||
"TGDataItem.h": "Sources/TGDataItem.h",
|
||||
"TGOggOpusWriter.h": "Sources/TGOggOpusWriter.h",
|
||||
"opusenc/diag_range.h": "Sources/opusenc/diag_range.h",
|
||||
"opusenc/opus_header.h": "Sources/opusenc/opus_header.h",
|
||||
"opusenc/picture.h": "Sources/opusenc/picture.h",
|
||||
"opusenc/wav_io.h": "Sources/opusenc/wav_io.h",
|
||||
"opusfile/internal.h": "Sources/opusfile/internal.h",
|
||||
"OpusBinding/opusfile.h": "Sources/opusfile/opusfile.h",
|
||||
},
|
||||
exported_headers = [
|
||||
"Sources/TGDataItem.h",
|
||||
"Sources/TGOggOpusWriter.h",
|
||||
"Sources/OggOpusReader.h",
|
||||
],
|
||||
deps = [
|
||||
"//submodules/Opus:opus",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
15
submodules/Pdf/BUCK
Normal file
15
submodules/Pdf/BUCK
Normal file
@ -0,0 +1,15 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "Pdf",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/Display:Display#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
16
submodules/PeerPresenceStatusManager/BUCK
Normal file
16
submodules/PeerPresenceStatusManager/BUCK
Normal file
@ -0,0 +1,16 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "PeerPresenceStatusManager",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
11
submodules/PersistentStringHash/BUCK
Normal file
11
submodules/PersistentStringHash/BUCK
Normal file
@ -0,0 +1,11 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "PersistentStringHash",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
28
submodules/PhotoResources/BUCK
Normal file
28
submodules/PhotoResources/BUCK
Normal file
@ -0,0 +1,28 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "PhotoResources",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#shared",
|
||||
"//submodules/Postbox:Postbox#shared",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/ImageTransparency:ImageTransparency",
|
||||
"//submodules/TinyThumbnail:TinyThumbnail",
|
||||
"//submodules/ImageBlur:ImageBlur",
|
||||
"//submodules/Tuples:Tuples",
|
||||
"//submodules/AccountContext:AccountContext",
|
||||
"//submodules/MediaResources:MediaResources",
|
||||
"//submodules/TelegramUIPreferences:TelegramUIPreferences",
|
||||
"//submodules/WebP:WebP",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/ImageIO.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
|
||||
],
|
||||
)
|
@ -6,11 +6,7 @@ import Display
|
||||
import AVFoundation
|
||||
import ImageIO
|
||||
import TelegramCore
|
||||
#if BUCK
|
||||
import WebPImage
|
||||
#else
|
||||
import WebP
|
||||
#endif
|
||||
import TelegramUIPreferences
|
||||
import MediaResources
|
||||
import AccountContext
|
||||
|
14
submodules/PlatformRestrictionMatching/BUCK
Normal file
14
submodules/PlatformRestrictionMatching/BUCK
Normal file
@ -0,0 +1,14 @@
|
||||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "PlatformRestrictionMatching",
|
||||
srcs = glob([
|
||||
"Sources/*.swift",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/TelegramCore:TelegramCore#dynamic",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
],
|
||||
)
|
24
submodules/Postbox/BUCK
Normal file
24
submodules/Postbox/BUCK
Normal file
@ -0,0 +1,24 @@
|
||||
load("//Config:buck_rule_macros.bzl", "framework")
|
||||
|
||||
framework(
|
||||
name = "Postbox",
|
||||
srcs = glob([
|
||||
"Postbox/*.swift",
|
||||
"Postbox/*.m",
|
||||
]),
|
||||
headers = [
|
||||
"Postbox/MurMurHash32.h",
|
||||
],
|
||||
exported_headers = [
|
||||
"Postbox/MurMurHash32.h",
|
||||
],
|
||||
deps = [
|
||||
"//submodules/Crc32:Crc32",
|
||||
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
||||
"//submodules/sqlcipher:sqlcipher",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/Security.framework",
|
||||
],
|
||||
)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user