Title: [210368] trunk/Source/WebCore
Revision
210368
Author
commit-qu...@webkit.org
Date
2017-01-05 12:15:27 -0800 (Thu, 05 Jan 2017)

Log Message

[Cocoa] Both modern-media-controls/images/iOS modern-media-controls/images/macOS are installed on both platforms
https://bugs.webkit.org/show_bug.cgi?id=163871

Patch by Antoine Quint <grao...@apple.com> on 2017-01-05
Reviewed by Eric Carlson.

We now only copy modern media controls images, if any, for the current platform.

* WebCore.xcodeproj/project.pbxproj:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (210367 => 210368)


--- trunk/Source/WebCore/ChangeLog	2017-01-05 20:07:44 UTC (rev 210367)
+++ trunk/Source/WebCore/ChangeLog	2017-01-05 20:15:27 UTC (rev 210368)
@@ -1,3 +1,14 @@
+2017-01-05  Antoine Quint  <grao...@apple.com>
+
+        [Cocoa] Both modern-media-controls/images/iOS modern-media-controls/images/macOS are installed on both platforms
+        https://bugs.webkit.org/show_bug.cgi?id=163871
+
+        Reviewed by Eric Carlson.
+
+        We now only copy modern media controls images, if any, for the current platform.
+
+        * WebCore.xcodeproj/project.pbxproj:
+
 2017-01-05  Keith Rollin  <krol...@apple.com>
 
         Add WebCore::URL::protocolHostAndPort

Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (210367 => 210368)


--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2017-01-05 20:07:44 UTC (rev 210367)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2017-01-05 20:15:27 UTC (rev 210368)
@@ -28659,7 +28659,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "rsync -aq --exclude \".svn\" --exclude \".DS_Store\" \"$SRCROOT/Modules/modern-media-controls/images\" \"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/modern-media-controls\"\ncd \"$SRCROOT/Modules/modern-media-controls\"\ncat controls/*.css > \"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/modern-media-controls/modern-media-controls.css\"\ncat `cat js-files` > \"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/modern-media-controls/modern-media-controls.js\"";
+			shellScript = "SRC_DIR=\"$SRCROOT/Modules/modern-media-controls\"\nDST_DIR=\"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/modern-media-controls\"\n\nmkdir -p \"$DST_DIR\"\n\nif [ \"${PLATFORM_NAME}\" == \"macosx\" ]; then\n    IMG_OS_PREFIX=\"macOS\"\nfi\n\nif [ \"${PLATFORM_NAME}\" == \"iphoneos\" ] || [ \"${PLATFORM_NAME}\" == \"iphonesimulator\" ]; then\n    IMG_OS_PREFIX=\"iOS\"\nfi\n\nif [ -n \"$IMG_OS_PREFIX\" ]; then\n    mkdir -p \"$DST_DIR/images\"\n    rsync -aq --exclude \".svn\" --exclude \".DS_Store\" \"$SRC_DIR/images/$IMG_OS_PREFIX\" \"$DST_DIR/images\"\nfi\n\ncd \"$SRC_DIR\"\ncat controls/*.css > \"$DST_DIR/modern-media-controls.css\"\ncat `cat js-files` > \"$DST_DIR/modern-media-controls.js\"";
 		};
 		DD041FBD09D9DDBE0010AF2A /* Generate Derived Sources */ = {
 			isa = PBXShellScriptBuildPhase;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to