mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-03 19:54:31 +00:00
Add way to compile out ASTextNode + TextKit dependencies (#1242)
* Add way to compile out ASTextNode + TextKit dependencies * Compile out ASExperimentalTextNode and fix tests
This commit is contained in:
committed by
GitHub
parent
31125ff6cf
commit
f2bc63f05a
@@ -54,6 +54,12 @@ Pod::Spec.new do |spec|
|
||||
yoga.dependency 'Yoga', '1.6.0'
|
||||
yoga.dependency 'Texture/Core'
|
||||
end
|
||||
|
||||
# If flag is enabled the old TextNode with all dependencies will be compiled out
|
||||
spec.subspec 'TextNode2' do |text_node|
|
||||
text_node.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AS_ENABLE_TEXTNODE=0' }
|
||||
text_node.dependency 'Texture/Core'
|
||||
end
|
||||
|
||||
spec.subspec 'Video' do |video|
|
||||
video.frameworks = ['AVFoundation', 'CoreMedia']
|
||||
|
||||
Reference in New Issue
Block a user