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
f15c474757
commit
0b18cddbb8
40
submodules/AsyncDisplayKit/BUILD
vendored
40
submodules/AsyncDisplayKit/BUILD
vendored
@ -7,14 +7,39 @@ ASYNCDISPLAYKIT_EXPORTED_HEADERS = glob([
|
|||||||
"Source/Debug/AsyncDisplayKit+Debug.h",
|
"Source/Debug/AsyncDisplayKit+Debug.h",
|
||||||
"Source/TextKit/ASTextNodeTypes.h",
|
"Source/TextKit/ASTextNodeTypes.h",
|
||||||
"Source/TextKit/ASTextKitComponents.h"
|
"Source/TextKit/ASTextKitComponents.h"
|
||||||
])
|
], exclude = ["Source/AsyncDisplayKit.h"])
|
||||||
|
|
||||||
ASYNCDISPLAYKIT_PRIVATE_HEADERS = glob([
|
ASYNCDISPLAYKIT_PRIVATE_HEADERS = glob([
|
||||||
"Source/**/*.h"
|
"Source/**/*.h"
|
||||||
],
|
],
|
||||||
exclude = ASYNCDISPLAYKIT_EXPORTED_HEADERS,
|
exclude = ASYNCDISPLAYKIT_EXPORTED_HEADERS + ["Source/AsyncDisplayKit.h"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
exported_headers_rule_name = "AsyncDisplayKit_ExportedHeaders"
|
||||||
|
private_headers_rule_name = "AsyncDisplayKit_PrivateHeaders"
|
||||||
|
exported_headers_path = "includedir"
|
||||||
|
private_headers_path = "privateincludedir"
|
||||||
|
name = "AsyncDisplayKit"
|
||||||
|
headers = ASYNCDISPLAYKIT_EXPORTED_HEADERS
|
||||||
|
|
||||||
|
genrule(
|
||||||
|
name = exported_headers_rule_name,
|
||||||
|
srcs = headers,
|
||||||
|
# Headers can be nested multiple levels, so we use `x.split('/')[::-1][0] for x in headers` to get their basenames
|
||||||
|
outs = [exported_headers_path + "/" + name + "/" + x.split('/')[::-1][0] for x in headers],
|
||||||
|
# Finally we copy all headers to the `exported_headers_path` directory
|
||||||
|
cmd = "cp $(SRCS) $(RULEDIR)" + "/" + exported_headers_path + "/" + name,
|
||||||
|
)
|
||||||
|
exported_headers = [":" + exported_headers_rule_name]
|
||||||
|
|
||||||
|
genrule(
|
||||||
|
name = private_headers_rule_name,
|
||||||
|
srcs = ASYNCDISPLAYKIT_PRIVATE_HEADERS,
|
||||||
|
outs = [private_headers_path + "/" + name + "/" + x.split('/')[::-1][0] for x in ASYNCDISPLAYKIT_PRIVATE_HEADERS],
|
||||||
|
cmd = "cp $(SRCS) $(RULEDIR)" + "/" + private_headers_path + "/" + name,
|
||||||
|
)
|
||||||
|
private_headers = [":" + private_headers_rule_name]
|
||||||
|
|
||||||
objc_library(
|
objc_library(
|
||||||
name = "AsyncDisplayKit",
|
name = "AsyncDisplayKit",
|
||||||
enable_modules = True,
|
enable_modules = True,
|
||||||
@ -23,11 +48,18 @@ objc_library(
|
|||||||
"Source/**/*.m",
|
"Source/**/*.m",
|
||||||
"Source/**/*.mm",
|
"Source/**/*.mm",
|
||||||
"Source/Base/*.m",
|
"Source/Base/*.m",
|
||||||
]) + ASYNCDISPLAYKIT_PRIVATE_HEADERS,
|
]) + private_headers,
|
||||||
hdrs = ASYNCDISPLAYKIT_EXPORTED_HEADERS,
|
hdrs = exported_headers,
|
||||||
defines = [
|
defines = [
|
||||||
"MINIMAL_ASDK",
|
"MINIMAL_ASDK",
|
||||||
],
|
],
|
||||||
|
copts = [
|
||||||
|
#"-I$(locations :AsyncDisplayKit_PrivateHeaders)",
|
||||||
|
],
|
||||||
|
includes = [
|
||||||
|
exported_headers_path,
|
||||||
|
private_headers_path,
|
||||||
|
],
|
||||||
sdk_frameworks = [
|
sdk_frameworks = [
|
||||||
"QuartzCore",
|
"QuartzCore",
|
||||||
"CoreMedia",
|
"CoreMedia",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <AsyncDisplayKit/ASAvailability.h>
|
#import "AsyncDisplayKit/ASAvailability.h"
|
||||||
#import "ASButtonNode+Yoga.h"
|
#import "ASButtonNode+Yoga.h"
|
||||||
#import <AsyncDisplayKit/ASButtonNode+Private.h>
|
#import <AsyncDisplayKit/ASButtonNode+Private.h>
|
||||||
#import <AsyncDisplayKit/ASDisplayNodeInternal.h>
|
#import <AsyncDisplayKit/ASDisplayNodeInternal.h>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "ASAvailability.h"
|
#import <AsyncDisplayKit/ASAvailability.h>
|
||||||
|
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
@ -7,10 +7,10 @@
|
|||||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <AsyncDisplayKit/ASTip.h>
|
|
||||||
|
|
||||||
#if AS_ENABLE_TIPS
|
#if AS_ENABLE_TIPS
|
||||||
|
|
||||||
|
#import <AsyncDisplayKit/ASTip.h>
|
||||||
|
|
||||||
#import <AsyncDisplayKit/ASDisplayNode.h>
|
#import <AsyncDisplayKit/ASDisplayNode.h>
|
||||||
|
|
||||||
@implementation ASTip
|
@implementation ASTip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user