Title: [204932] trunk/Source/WebCore
Revision
204932
Author
[email protected]
Date
2016-08-24 14:17:54 -0700 (Wed, 24 Aug 2016)

Log Message

Build the platform name dynamically for the phony WebKitLegacy framework
https://bugs.webkit.org/show_bug.cgi?id=161163

Reviewed by Dan Bernstein.

* Configurations/WebKitLegacyStub.iOS.tbd:
* WebCore.xcodeproj/project.pbxproj:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (204931 => 204932)


--- trunk/Source/WebCore/ChangeLog	2016-08-24 20:53:30 UTC (rev 204931)
+++ trunk/Source/WebCore/ChangeLog	2016-08-24 21:17:54 UTC (rev 204932)
@@ -1,3 +1,13 @@
+2016-08-24  Anders Carlsson  <[email protected]>
+
+        Build the platform name dynamically for the phony WebKitLegacy framework
+        https://bugs.webkit.org/show_bug.cgi?id=161163
+
+        Reviewed by Dan Bernstein.
+
+        * Configurations/WebKitLegacyStub.iOS.tbd:
+        * WebCore.xcodeproj/project.pbxproj:
+
 2016-08-24  Chris Dumez  <[email protected]>
 
         It should not be possible to access Location attributes cross origin

Modified: trunk/Source/WebCore/Configurations/WebKitLegacyStub.iOS.tbd (204931 => 204932)


--- trunk/Source/WebCore/Configurations/WebKitLegacyStub.iOS.tbd	2016-08-24 20:53:30 UTC (rev 204931)
+++ trunk/Source/WebCore/Configurations/WebKitLegacyStub.iOS.tbd	2016-08-24 21:17:54 UTC (rev 204932)
@@ -1,6 +1,6 @@
 ---
 archs:           [ armv7, armv7s, arm64, i386, x86_64 ]
-platform:        ios
+platform:        TBD_PLATFORM
 install-name:    /System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy
 current-version: 603.1.3
 objc-constraint: none

Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (204931 => 204932)


--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2016-08-24 20:53:30 UTC (rev 204931)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2016-08-24 21:17:54 UTC (rev 204932)
@@ -27157,7 +27157,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "ditto \"${SRCROOT}/Configurations/WebKitLegacyStub.iOS.tbd\" \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore/PhonyWebKitLegacy/WebKitLegacy.framework/WebKitLegacy.tbd\"";
+			shellScript = "set -e\n\ncase $PLATFORM_NAME in\niphone*)\n    TBD_PLATFORM=ios\n    ;;\nappletv*)\n    TBD_PLATFORM=tvos\n    ;;\nesac\n\nif [[ -n $TBD_PLATFORM ]]; then\n    sed -E s/\\TBD_PLATFORM/$TBD_PLATFORM/ \"${SCRIPT_INPUT_FILE_0}\" > \"${SCRIPT_OUTPUT_FILE_0}\"\nfi\n";
 		};
 		37A1EAA3142699BC0087F425 /* Check For Inappropriate Objective-C Class Names */ = {
 			isa = PBXShellScriptBuildPhase;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to