Skip to content

Commit dae3a72

Browse files
authored
[Tests] Add launch image back for test host app (facebookarchive#3171)
* Add launch image back * Add TestHostResources back to BUCK file * Use the new launch image in Buck
1 parent be74cd8 commit dae3a72

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

AsyncDisplayKit.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
690ED5981E36D118000627C0 /* ASControlNode+tvOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 690ED5931E36D118000627C0 /* ASControlNode+tvOS.m */; };
134134
690ED5991E36D118000627C0 /* ASImageNode+tvOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 690ED5941E36D118000627C0 /* ASImageNode+tvOS.h */; settings = {ATTRIBUTES = (Private, ); }; };
135135
690ED59B1E36D118000627C0 /* ASImageNode+tvOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 690ED5951E36D118000627C0 /* ASImageNode+tvOS.m */; };
136+
692510141E74FB44003F2DD0 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 692510131E74FB44003F2DD0 /* Default-568h@2x.png */; };
136137
692BE8D71E36B65B00C86D87 /* ASLayoutSpecPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 692BE8D61E36B65B00C86D87 /* ASLayoutSpecPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
137138
6947B0BE1E36B4E30007C478 /* ASStackUnpositionedLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = 6947B0BC1E36B4E30007C478 /* ASStackUnpositionedLayout.h */; settings = {ATTRIBUTES = (Private, ); }; };
138139
6947B0C01E36B4E30007C478 /* ASStackUnpositionedLayout.mm in Sources */ = {isa = PBXBuildFile; fileRef = 6947B0BD1E36B4E30007C478 /* ASStackUnpositionedLayout.mm */; };
@@ -568,6 +569,7 @@
568569
690ED5931E36D118000627C0 /* ASControlNode+tvOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "ASControlNode+tvOS.m"; sourceTree = "<group>"; };
569570
690ED5941E36D118000627C0 /* ASImageNode+tvOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ASImageNode+tvOS.h"; sourceTree = "<group>"; };
570571
690ED5951E36D118000627C0 /* ASImageNode+tvOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "ASImageNode+tvOS.m"; sourceTree = "<group>"; };
572+
692510131E74FB44003F2DD0 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
571573
692BE8D61E36B65B00C86D87 /* ASLayoutSpecPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASLayoutSpecPrivate.h; sourceTree = "<group>"; };
572574
6947B0BC1E36B4E30007C478 /* ASStackUnpositionedLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASStackUnpositionedLayout.h; sourceTree = "<group>"; };
573575
6947B0BD1E36B4E30007C478 /* ASStackUnpositionedLayout.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ASStackUnpositionedLayout.mm; sourceTree = "<group>"; };
@@ -825,6 +827,7 @@
825827
057D02C11AC0A66700C7AC3C /* Supporting Files */ = {
826828
isa = PBXGroup;
827829
children = (
830+
692510131E74FB44003F2DD0 /* Default-568h@2x.png */,
828831
057D02C21AC0A66700C7AC3C /* Info.plist */,
829832
057D02C31AC0A66700C7AC3C /* main.m */,
830833
);
@@ -1673,6 +1676,7 @@
16731676
isa = PBXResourcesBuildPhase;
16741677
buildActionMask = 2147483647;
16751678
files = (
1679+
692510141E74FB44003F2DD0 /* Default-568h@2x.png in Resources */,
16761680
);
16771681
runOnlyForDeploymentPostprocessing = 0;
16781682
};

BUCK

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ for name in ['AsyncDisplayKit', 'AsyncDisplayKit-PINRemoteImage']:
101101
# Test Host
102102
# TODO: Split to smaller BUCK files and parse in parallel
103103
#####################################
104+
apple_resource(
105+
name = 'TestHostResources',
106+
files = ['Tests/TestHost/Default-568h@2x.png'],
107+
dirs = [],
108+
)
109+
104110
apple_bundle(
105111
name = 'TestHost',
106112
binary = ':TestHostBinary',
@@ -119,6 +125,7 @@ apple_binary(
119125
lang_preprocessor_flags = COMMON_LANG_PREPROCESSOR_FLAGS,
120126
linker_flags = COMMON_LINKER_FLAGS,
121127
deps = [
128+
':TestHostResources',
122129
':AsyncDisplayKit-Core',
123130
],
124131
frameworks = [

Tests/TestHost/Default-568h@2x.png

17.1 KB
Loading

0 commit comments

Comments
 (0)