Skip to content

Commit

Permalink
WTF: add combine iOS lib build phase
Browse files Browse the repository at this point in the history
  • Loading branch information
phoboslab committed Nov 5, 2013
1 parent 5f68a80 commit 4398b7b
Showing 1 changed file with 88 additions and 6 deletions.
94 changes: 88 additions & 6 deletions WTF/WTF.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@
name = "Copy WTF Headers";
productName = "Copy WTF Headers";
};
B64797511829123B00CCF60F /* Combine iOS libs */ = {
isa = PBXAggregateTarget;
buildConfigurationList = B64797521829123B00CCF60F /* Build configuration list for PBXAggregateTarget "Combine iOS libs" */;
buildPhases = (
B64797591829135600CCF60F /* ShellScript */,
);
dependencies = (
B64797571829124500CCF60F /* PBXTargetDependency */,
);
name = "Combine iOS libs";
productName = "Combine iOS libs";
};
/* End PBXAggregateTarget section */

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -519,6 +531,13 @@
remoteGlobalIDString = 65AFA16F1630B977003D723C;
remoteInfo = "Copy Headers";
};
B64797561829124500CCF60F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5D247B5914689B8600E78B76 /* Project object */;
proxyType = 1;
remoteGlobalIDString = B6F09BA818290CFA00D62E5F;
remoteInfo = "WTF iOS";
};
B6F09BAA18290CFA00D62E5F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5D247B5914689B8600E78B76 /* Project object */;
Expand Down Expand Up @@ -788,7 +807,7 @@
B647974318290F1100CCF60F /* xkcdTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "xkcdTests-Info.plist"; sourceTree = "<group>"; };
B647974518290F1100CCF60F /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
B647974718290F1100CCF60F /* xkcdTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = xkcdTests.m; sourceTree = "<group>"; };
B6F09CA618290CFA00D62E5F /* libWTF iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libWTF iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
B6F09CA618290CFA00D62E5F /* libWTF.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libWTF.a; sourceTree = BUILT_PRODUCTS_DIR; };
CD5497AA15857D0300B5BC30 /* MediaTime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MediaTime.cpp; sourceTree = "<group>"; };
CD5497AB15857D0300B5BC30 /* MediaTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MediaTime.h; sourceTree = "<group>"; };
EB95E1EF161A72410089A2F5 /* ByteOrder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ByteOrder.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -839,7 +858,7 @@
isa = PBXGroup;
children = (
5D247B6214689B8600E78B76 /* libWTF.a */,
B6F09CA618290CFA00D62E5F /* libWTF iOS.a */,
B6F09CA618290CFA00D62E5F /* libWTF.a */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -1614,6 +1633,7 @@
B6F09BAB18290CFA00D62E5F /* Sources */,
B6F09BEE18290CFA00D62E5F /* Frameworks */,
B6F09BEF18290CFA00D62E5F /* Headers */,
B6479758182912B400CCF60F /* ShellScript */,
);
buildRules = (
);
Expand All @@ -1622,7 +1642,7 @@
);
name = "WTF iOS";
productName = WTF;
productReference = B6F09CA618290CFA00D62E5F /* libWTF iOS.a */;
productReference = B6F09CA618290CFA00D62E5F /* libWTF.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
Expand All @@ -1648,6 +1668,7 @@
5D247B6114689B8600E78B76 /* WTF */,
65AFA16F1630B977003D723C /* Copy WTF Headers */,
B6F09BA818290CFA00D62E5F /* WTF iOS */,
B64797511829123B00CCF60F /* Combine iOS libs */,
);
};
/* End PBXProject section */
Expand All @@ -1667,6 +1688,32 @@
shellPath = /bin/sh;
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";
};
B6479758182912B400CCF60F /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "";
};
B64797591829135600CCF60F /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "lipo -create \"${BUILD_DIR%%/}/Release-iphoneos/libWTF.a\" \"${BUILD_DIR%%/}/Release-iphonesimulator/libWTF.a\" -output \"${SOURCE_ROOT}/../Build/libWTF.a\"\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -1824,6 +1871,11 @@
target = 65AFA16F1630B977003D723C /* Copy WTF Headers */;
targetProxy = 65AFA28D1630B99E003D723C /* PBXContainerItemProxy */;
};
B64797571829124500CCF60F /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = B6F09BA818290CFA00D62E5F /* WTF iOS */;
targetProxy = B64797561829124500CCF60F /* PBXContainerItemProxy */;
};
B6F09BA918290CFA00D62E5F /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 65AFA16F1630B977003D723C /* Copy WTF Headers */;
Expand Down Expand Up @@ -1915,6 +1967,27 @@
};
name = Production;
};
B64797531829123B00CCF60F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
B64797541829123B00CCF60F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
B64797551829123B00CCF60F /* Production */ = {
isa = XCBuildConfiguration;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Production;
};
B6F09CA318290CFA00D62E5F /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 5D247B7314689C4700E78B76 /* WTF.xcconfig */;
Expand All @@ -1930,7 +2003,7 @@
"UCONFIG_NO_COLLATION=1",
);
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
PRODUCT_NAME = "WTF iOS";
PRODUCT_NAME = WTF;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -1953,7 +2026,7 @@
"UCONFIG_NO_COLLATION=1",
);
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
PRODUCT_NAME = "WTF iOS";
PRODUCT_NAME = WTF;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -1976,7 +2049,7 @@
"UCONFIG_NO_COLLATION=1",
);
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
PRODUCT_NAME = "WTF iOS";
PRODUCT_NAME = WTF;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -2017,6 +2090,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Production;
};
B64797521829123B00CCF60F /* Build configuration list for PBXAggregateTarget "Combine iOS libs" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B64797531829123B00CCF60F /* Debug */,
B64797541829123B00CCF60F /* Release */,
B64797551829123B00CCF60F /* Production */,
);
defaultConfigurationIsVisible = 0;
};
B6F09CA218290CFA00D62E5F /* Build configuration list for PBXNativeTarget "WTF iOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down

0 comments on commit 4398b7b

Please sign in to comment.