Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.

Commit 4398b7b

Browse files
committed
WTF: add combine iOS lib build phase
1 parent 5f68a80 commit 4398b7b

File tree

1 file changed

+88
-6
lines changed

1 file changed

+88
-6
lines changed

WTF/WTF.xcodeproj/project.pbxproj

Lines changed: 88 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@
1818
name = "Copy WTF Headers";
1919
productName = "Copy WTF Headers";
2020
};
21+
B64797511829123B00CCF60F /* Combine iOS libs */ = {
22+
isa = PBXAggregateTarget;
23+
buildConfigurationList = B64797521829123B00CCF60F /* Build configuration list for PBXAggregateTarget "Combine iOS libs" */;
24+
buildPhases = (
25+
B64797591829135600CCF60F /* ShellScript */,
26+
);
27+
dependencies = (
28+
B64797571829124500CCF60F /* PBXTargetDependency */,
29+
);
30+
name = "Combine iOS libs";
31+
productName = "Combine iOS libs";
32+
};
2133
/* End PBXAggregateTarget section */
2234

2335
/* Begin PBXBuildFile section */
@@ -519,6 +531,13 @@
519531
remoteGlobalIDString = 65AFA16F1630B977003D723C;
520532
remoteInfo = "Copy Headers";
521533
};
534+
B64797561829124500CCF60F /* PBXContainerItemProxy */ = {
535+
isa = PBXContainerItemProxy;
536+
containerPortal = 5D247B5914689B8600E78B76 /* Project object */;
537+
proxyType = 1;
538+
remoteGlobalIDString = B6F09BA818290CFA00D62E5F;
539+
remoteInfo = "WTF iOS";
540+
};
522541
B6F09BAA18290CFA00D62E5F /* PBXContainerItemProxy */ = {
523542
isa = PBXContainerItemProxy;
524543
containerPortal = 5D247B5914689B8600E78B76 /* Project object */;
@@ -788,7 +807,7 @@
788807
B647974318290F1100CCF60F /* xkcdTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "xkcdTests-Info.plist"; sourceTree = "<group>"; };
789808
B647974518290F1100CCF60F /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
790809
B647974718290F1100CCF60F /* xkcdTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = xkcdTests.m; sourceTree = "<group>"; };
791-
B6F09CA618290CFA00D62E5F /* libWTF iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libWTF iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
810+
B6F09CA618290CFA00D62E5F /* libWTF.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libWTF.a; sourceTree = BUILT_PRODUCTS_DIR; };
792811
CD5497AA15857D0300B5BC30 /* MediaTime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MediaTime.cpp; sourceTree = "<group>"; };
793812
CD5497AB15857D0300B5BC30 /* MediaTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MediaTime.h; sourceTree = "<group>"; };
794813
EB95E1EF161A72410089A2F5 /* ByteOrder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ByteOrder.h; sourceTree = "<group>"; };
@@ -839,7 +858,7 @@
839858
isa = PBXGroup;
840859
children = (
841860
5D247B6214689B8600E78B76 /* libWTF.a */,
842-
B6F09CA618290CFA00D62E5F /* libWTF iOS.a */,
861+
B6F09CA618290CFA00D62E5F /* libWTF.a */,
843862
);
844863
name = Products;
845864
sourceTree = "<group>";
@@ -1614,6 +1633,7 @@
16141633
B6F09BAB18290CFA00D62E5F /* Sources */,
16151634
B6F09BEE18290CFA00D62E5F /* Frameworks */,
16161635
B6F09BEF18290CFA00D62E5F /* Headers */,
1636+
B6479758182912B400CCF60F /* ShellScript */,
16171637
);
16181638
buildRules = (
16191639
);
@@ -1622,7 +1642,7 @@
16221642
);
16231643
name = "WTF iOS";
16241644
productName = WTF;
1625-
productReference = B6F09CA618290CFA00D62E5F /* libWTF iOS.a */;
1645+
productReference = B6F09CA618290CFA00D62E5F /* libWTF.a */;
16261646
productType = "com.apple.product-type.library.static";
16271647
};
16281648
/* End PBXNativeTarget section */
@@ -1648,6 +1668,7 @@
16481668
5D247B6114689B8600E78B76 /* WTF */,
16491669
65AFA16F1630B977003D723C /* Copy WTF Headers */,
16501670
B6F09BA818290CFA00D62E5F /* WTF iOS */,
1671+
B64797511829123B00CCF60F /* Combine iOS libs */,
16511672
);
16521673
};
16531674
/* End PBXProject section */
@@ -1667,6 +1688,32 @@
16671688
shellPath = /bin/sh;
16681689
shellScript = "if [[ \"${DEPLOYMENT_LOCATION}\" == \"NO\" ]]; then\n PRIVATE_HEADERS_PATH=\"${TARGET_BUILD_DIR%/}/${PRIVATE_HEADERS_FOLDER_PATH}\"\nelse\n PRIVATE_HEADERS_PATH=\"${DSTROOT}${INSTALL_PATH_PREFIX%/}/${PRIVATE_HEADERS_FOLDER_PATH}\"\nfi;\n\nmkdir -p \"${PRIVATE_HEADERS_PATH}\"\nrsync -av --no-owner --no-group --prune-empty-dirs --exclude \".svn\" --exclude \"usr\" --exclude \"DerivedSources\" --include \"*/\" --include \"*.h\" --exclude \"*\" \"${SRCROOT}/wtf/\" \"${PRIVATE_HEADERS_PATH}\"\n";
16691690
};
1691+
B6479758182912B400CCF60F /* ShellScript */ = {
1692+
isa = PBXShellScriptBuildPhase;
1693+
buildActionMask = 2147483647;
1694+
files = (
1695+
);
1696+
inputPaths = (
1697+
);
1698+
outputPaths = (
1699+
);
1700+
runOnlyForDeploymentPostprocessing = 0;
1701+
shellPath = /bin/sh;
1702+
shellScript = "";
1703+
};
1704+
B64797591829135600CCF60F /* ShellScript */ = {
1705+
isa = PBXShellScriptBuildPhase;
1706+
buildActionMask = 2147483647;
1707+
files = (
1708+
);
1709+
inputPaths = (
1710+
);
1711+
outputPaths = (
1712+
);
1713+
runOnlyForDeploymentPostprocessing = 0;
1714+
shellPath = /bin/sh;
1715+
shellScript = "lipo -create \"${BUILD_DIR%%/}/Release-iphoneos/libWTF.a\" \"${BUILD_DIR%%/}/Release-iphonesimulator/libWTF.a\" -output \"${SOURCE_ROOT}/../Build/libWTF.a\"\n";
1716+
};
16701717
/* End PBXShellScriptBuildPhase section */
16711718

16721719
/* Begin PBXSourcesBuildPhase section */
@@ -1824,6 +1871,11 @@
18241871
target = 65AFA16F1630B977003D723C /* Copy WTF Headers */;
18251872
targetProxy = 65AFA28D1630B99E003D723C /* PBXContainerItemProxy */;
18261873
};
1874+
B64797571829124500CCF60F /* PBXTargetDependency */ = {
1875+
isa = PBXTargetDependency;
1876+
target = B6F09BA818290CFA00D62E5F /* WTF iOS */;
1877+
targetProxy = B64797561829124500CCF60F /* PBXContainerItemProxy */;
1878+
};
18271879
B6F09BA918290CFA00D62E5F /* PBXTargetDependency */ = {
18281880
isa = PBXTargetDependency;
18291881
target = 65AFA16F1630B977003D723C /* Copy WTF Headers */;
@@ -1915,6 +1967,27 @@
19151967
};
19161968
name = Production;
19171969
};
1970+
B64797531829123B00CCF60F /* Debug */ = {
1971+
isa = XCBuildConfiguration;
1972+
buildSettings = {
1973+
PRODUCT_NAME = "$(TARGET_NAME)";
1974+
};
1975+
name = Debug;
1976+
};
1977+
B64797541829123B00CCF60F /* Release */ = {
1978+
isa = XCBuildConfiguration;
1979+
buildSettings = {
1980+
PRODUCT_NAME = "$(TARGET_NAME)";
1981+
};
1982+
name = Release;
1983+
};
1984+
B64797551829123B00CCF60F /* Production */ = {
1985+
isa = XCBuildConfiguration;
1986+
buildSettings = {
1987+
PRODUCT_NAME = "$(TARGET_NAME)";
1988+
};
1989+
name = Production;
1990+
};
19181991
B6F09CA318290CFA00D62E5F /* Debug */ = {
19191992
isa = XCBuildConfiguration;
19201993
baseConfigurationReference = 5D247B7314689C4700E78B76 /* WTF.xcconfig */;
@@ -1930,7 +2003,7 @@
19302003
"UCONFIG_NO_COLLATION=1",
19312004
);
19322005
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
1933-
PRODUCT_NAME = "WTF iOS";
2006+
PRODUCT_NAME = WTF;
19342007
SDKROOT = iphoneos;
19352008
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
19362009
TARGETED_DEVICE_FAMILY = "1,2";
@@ -1953,7 +2026,7 @@
19532026
"UCONFIG_NO_COLLATION=1",
19542027
);
19552028
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
1956-
PRODUCT_NAME = "WTF iOS";
2029+
PRODUCT_NAME = WTF;
19572030
SDKROOT = iphoneos;
19582031
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
19592032
TARGETED_DEVICE_FAMILY = "1,2";
@@ -1976,7 +2049,7 @@
19762049
"UCONFIG_NO_COLLATION=1",
19772050
);
19782051
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
1979-
PRODUCT_NAME = "WTF iOS";
2052+
PRODUCT_NAME = WTF;
19802053
SDKROOT = iphoneos;
19812054
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
19822055
TARGETED_DEVICE_FAMILY = "1,2";
@@ -2017,6 +2090,15 @@
20172090
defaultConfigurationIsVisible = 0;
20182091
defaultConfigurationName = Production;
20192092
};
2093+
B64797521829123B00CCF60F /* Build configuration list for PBXAggregateTarget "Combine iOS libs" */ = {
2094+
isa = XCConfigurationList;
2095+
buildConfigurations = (
2096+
B64797531829123B00CCF60F /* Debug */,
2097+
B64797541829123B00CCF60F /* Release */,
2098+
B64797551829123B00CCF60F /* Production */,
2099+
);
2100+
defaultConfigurationIsVisible = 0;
2101+
};
20202102
B6F09CA218290CFA00D62E5F /* Build configuration list for PBXNativeTarget "WTF iOS" */ = {
20212103
isa = XCConfigurationList;
20222104
buildConfigurations = (

0 commit comments

Comments
 (0)