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
a460da4770
commit
b2b2ab9c57
4
BUCK
4
BUCK
@ -464,8 +464,8 @@ apple_binary(
|
||||
"-DTARGET_OS_WATCH=1",
|
||||
],
|
||||
linker_flags = [
|
||||
"-e",
|
||||
"_NSExtensionMain",
|
||||
#"-e",
|
||||
#"_NSExtensionMain",
|
||||
],
|
||||
configs = watch_extension_binary_configs(),
|
||||
frameworks = [
|
||||
|
@ -9,7 +9,7 @@
|
||||
],
|
||||
"optionSet" : {
|
||||
"BazelBuildOptionsDebug" : {
|
||||
"p" : "$(inherited)"
|
||||
"p" : "$(inherited) -j 1"
|
||||
},
|
||||
"BazelBuildOptionsRelease" : {
|
||||
"p" : "$(inherited)"
|
||||
|
122
submodules/AsyncDisplayKit/BUILD
vendored
122
submodules/AsyncDisplayKit/BUILD
vendored
@ -1,30 +1,113 @@
|
||||
|
||||
ASYNCDISPLAYKIT_EXPORTED_HEADERS = glob([
|
||||
public_header_names = [
|
||||
"ASAvailability.h",
|
||||
"ASBaseDefines.h",
|
||||
"ASDisplayNode.h",
|
||||
"ASDisplayNode+Ancestry.h",
|
||||
"ASDisplayNode+Convenience.h",
|
||||
"ASDisplayNodeExtras.h",
|
||||
"ASConfiguration.h",
|
||||
"ASConfigurationDelegate.h",
|
||||
"ASConfigurationInternal.h",
|
||||
|
||||
"ASControlNode.h",
|
||||
"ASImageNode.h",
|
||||
"ASTextNode.h",
|
||||
"ASTextNode2.h",
|
||||
"ASEditableTextNode.h",
|
||||
"ASButtonNode.h",
|
||||
|
||||
"ASImageProtocols.h",
|
||||
|
||||
"ASRangeManagingNode.h",
|
||||
"ASSectionContext.h",
|
||||
|
||||
"ASElementMap.h",
|
||||
|
||||
"ASSupplementaryNodeSource.h",
|
||||
|
||||
"ASScrollNode.h",
|
||||
|
||||
"ASNodeController+Beta.h",
|
||||
"ASViewController.h",
|
||||
"ASNavigationController.h",
|
||||
"ASTabBarController.h",
|
||||
"ASRangeControllerUpdateRangeProtocol+Beta.h",
|
||||
|
||||
"ASLayout.h",
|
||||
"ASDimension.h",
|
||||
"ASDimensionInternal.h",
|
||||
"ASLayoutElement.h",
|
||||
"ASLayoutSpec.h",
|
||||
"ASBackgroundLayoutSpec.h",
|
||||
"ASCenterLayoutSpec.h",
|
||||
"ASCornerLayoutSpec.h",
|
||||
"ASRelativeLayoutSpec.h",
|
||||
"ASInsetLayoutSpec.h",
|
||||
"ASOverlayLayoutSpec.h",
|
||||
"ASRatioLayoutSpec.h",
|
||||
"ASAbsoluteLayoutSpec.h",
|
||||
"ASStackLayoutDefines.h",
|
||||
"ASStackLayoutSpec.h",
|
||||
|
||||
"_ASAsyncTransaction.h",
|
||||
"_ASAsyncTransactionGroup.h",
|
||||
"_ASAsyncTransactionContainer.h",
|
||||
"ASCollections.h",
|
||||
"_ASDisplayLayer.h",
|
||||
"_ASDisplayView.h",
|
||||
"ASDisplayNode+Beta.h",
|
||||
"ASTextNode+Beta.h",
|
||||
"ASTextNodeTypes.h",
|
||||
"ASBlockTypes.h",
|
||||
"ASContextTransitioning.h",
|
||||
"ASControlNode+Subclasses.h",
|
||||
"ASDisplayNode+Subclasses.h",
|
||||
"ASEqualityHelpers.h",
|
||||
"ASEventLog.h",
|
||||
"ASHashing.h",
|
||||
"ASHighlightOverlayLayer.h",
|
||||
"ASImageContainerProtocolCategories.h",
|
||||
"ASLocking.h",
|
||||
"ASLog.h",
|
||||
"ASMainThreadDeallocation.h",
|
||||
"ASMutableAttributedStringBuilder.h",
|
||||
"ASRunLoopQueue.h",
|
||||
"ASTextKitComponents.h",
|
||||
"ASThread.h",
|
||||
"ASTraitCollection.h",
|
||||
"ASVisibilityProtocols.h",
|
||||
"ASWeakSet.h",
|
||||
|
||||
"CoreGraphics+ASConvenience.h",
|
||||
"NSMutableAttributedString+TextKitAdditions.h",
|
||||
"UICollectionViewLayout+ASConvenience.h",
|
||||
"UIView+ASConvenience.h",
|
||||
"UIImage+ASConvenience.h",
|
||||
"ASGraphicsContext.h",
|
||||
"NSArray+Diffing.h",
|
||||
"ASObjectDescriptionHelpers.h",
|
||||
"UIResponder+AsyncDisplayKit.h",
|
||||
|
||||
"AsyncDisplayKit+Debug.h",
|
||||
|
||||
"ASExperimentalFeatures.h",
|
||||
"ASAssert.h",
|
||||
]
|
||||
|
||||
public_headers = ["Source/" + name for name in public_header_names]
|
||||
private_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",
|
||||
], exclude = ["_Source/AsyncDisplayKit.h"]
|
||||
)
|
||||
|
||||
ASYNCDISPLAYKIT_PRIVATE_HEADERS = glob([
|
||||
"Source/**/*.h"
|
||||
],
|
||||
exclude = ASYNCDISPLAYKIT_EXPORTED_HEADERS + ["_Source/AsyncDisplayKit.h"],
|
||||
)
|
||||
], exclude = public_headers)
|
||||
|
||||
exported_headers_rule_name = "AsyncDisplayKit_ExportedHeaders"
|
||||
exported_headers_path = "includedir"
|
||||
name = "AsyncDisplayKit"
|
||||
headers = ASYNCDISPLAYKIT_EXPORTED_HEADERS
|
||||
|
||||
genrule(
|
||||
name = exported_headers_rule_name,
|
||||
srcs = headers,
|
||||
outs = [exported_headers_path + "/" + name + "/" + x.split('/')[::-1][0] for x in headers],
|
||||
srcs = public_headers,
|
||||
outs = [exported_headers_path + "/" + name + "/" + x.split('/')[::-1][0] for x in public_headers],
|
||||
cmd = "cp $(SRCS) $(RULEDIR)" + "/" + exported_headers_path + "/" + name,
|
||||
)
|
||||
exported_headers = [":" + exported_headers_rule_name]
|
||||
@ -36,8 +119,7 @@ objc_library(
|
||||
srcs = glob([
|
||||
"Source/**/*.m",
|
||||
"Source/**/*.mm",
|
||||
"Source/Base/*.m",
|
||||
]) + ASYNCDISPLAYKIT_EXPORTED_HEADERS + ASYNCDISPLAYKIT_PRIVATE_HEADERS,
|
||||
]) + private_headers,
|
||||
hdrs = exported_headers,
|
||||
defines = [
|
||||
"MINIMAL_ASDK",
|
||||
|
@ -7,7 +7,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASAbsoluteLayoutSpec.h>
|
||||
#import "ASAbsoluteLayoutSpec.h"
|
||||
|
||||
#import <AsyncDisplayKit/ASCollections.h>
|
||||
#import <AsyncDisplayKit/ASLayout.h>
|
@ -7,8 +7,8 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASAbstractLayoutController.h>
|
||||
#import <AsyncDisplayKit/ASAbstractLayoutController+FrameworkPrivate.h>
|
||||
#import "ASAbstractLayoutController.h"
|
||||
#import "Private/ASAbstractLayoutController+FrameworkPrivate.h"
|
||||
#import <AsyncDisplayKit/ASAssert.h>
|
||||
|
||||
ASRangeTuningParameters const ASRangeTuningParametersZero = {};
|
@ -6,7 +6,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASAssert.h>
|
||||
#import "ASAssert.h"
|
||||
#import <AsyncDisplayKit/ASAvailability.h>
|
||||
|
||||
#if AS_TLS_AVAILABLE
|
@ -98,7 +98,7 @@ static void ASButtonNodeResolveVerticalAlignmentForStyle(ASLayoutElementStyle *s
|
||||
|
||||
#else
|
||||
|
||||
#import <AsyncDisplayKit/ASButtonNode+Private.h>
|
||||
#import "ASButtonNode+Private.h"
|
||||
|
||||
@implementation ASButtonNode (Yoga)
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASCollectionLayoutDefines.h>
|
||||
#import "ASCollectionLayoutDefines.h"
|
||||
|
||||
ASSizeRange ASSizeRangeForCollectionLayoutThatFitsViewportSize(CGSize viewportSize, ASScrollDirection scrollableDirections)
|
||||
{
|
@ -7,7 +7,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASControlTargetAction.h>
|
||||
#import "ASControlTargetAction.h"
|
||||
|
||||
@implementation ASControlTargetAction
|
||||
{
|
@ -7,7 +7,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASDefaultPlayButton.h>
|
||||
#import "ASDefaultPlayButton.h"
|
||||
#import <AsyncDisplayKit/_ASDisplayLayer.h>
|
||||
|
||||
@implementation ASDefaultPlayButton
|
@ -7,7 +7,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASDefaultPlaybackButton.h>
|
||||
#import "ASDefaultPlaybackButton.h"
|
||||
#import <AsyncDisplayKit/_ASDisplayLayer.h>
|
||||
|
||||
@interface ASDefaultPlaybackButton()
|
@ -6,7 +6,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASDispatch.h>
|
||||
#import "ASDispatch.h"
|
||||
#import <AsyncDisplayKit/ASConfigurationInternal.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASDisplayNode+DebugTiming.h>
|
||||
#import "ASDisplayNode+DebugTiming.h"
|
||||
#import <AsyncDisplayKit/ASDisplayNodeInternal.h>
|
||||
|
||||
@implementation ASDisplayNode (DebugTiming)
|
@ -7,7 +7,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/_ASCoreAnimationExtras.h>
|
||||
#import "_ASCoreAnimationExtras.h"
|
||||
#import <AsyncDisplayKit/_ASPendingState.h>
|
||||
#import "Private/ASInternalHelpers.h"
|
||||
#import <AsyncDisplayKit/ASDisplayNodeInternal.h>
|
@ -7,7 +7,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASDisplayNodeInternal.h>
|
||||
#import "ASDisplayNodeInternal.h"
|
||||
|
||||
#import <AsyncDisplayKit/ASDisplayNode+Ancestry.h>
|
||||
#import <AsyncDisplayKit/ASDisplayNode+Beta.h>
|
||||
|
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