Title: [289616] trunk/Source/WebCore
- Revision
- 289616
- Author
- [email protected]
- Date
- 2022-02-11 04:05:38 -0800 (Fri, 11 Feb 2022)
Log Message
Add build phase to copy PDF.js resources to WebCore.framework resources
https://bugs.webkit.org/show_bug.cgi?id=235981
Reviewed by Youenn Fablet.
This adds a new "Run Script" phase that simply copies Source/ThirdParty/pdfjs to
WebCore.framework/Resources/pdfjs, it excludes .svn and .DS_Store files too.
* WebCore.xcodeproj/project.pbxproj:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (289615 => 289616)
--- trunk/Source/WebCore/ChangeLog 2022-02-11 10:52:38 UTC (rev 289615)
+++ trunk/Source/WebCore/ChangeLog 2022-02-11 12:05:38 UTC (rev 289616)
@@ -1,3 +1,15 @@
+2022-02-11 Tim Nguyen <[email protected]>
+
+ Add build phase to copy PDF.js resources to WebCore.framework resources
+ https://bugs.webkit.org/show_bug.cgi?id=235981
+
+ Reviewed by Youenn Fablet.
+
+ This adds a new "Run Script" phase that simply copies Source/ThirdParty/pdfjs to
+ WebCore.framework/Resources/pdfjs, it excludes .svn and .DS_Store files too.
+
+ * WebCore.xcodeproj/project.pbxproj:
+
2022-02-11 Andreu Botella <[email protected]>
Clicking on an <input type="image"> will submit the form with null submitter
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (289615 => 289616)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2022-02-11 10:52:38 UTC (rev 289615)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2022-02-11 12:05:38 UTC (rev 289616)
@@ -38223,6 +38223,7 @@
37A1EAA3142699BC0087F425 /* Check For Inappropriate Objective-C Class Names */,
5DF50887116F3077005202AB /* Check For Inappropriate Files In Framework */,
71D6AA381DA4E69400B23969 /* Copy modern media controls code and assets */,
+ 49AA6B1727B6755F000B0F64 /* Copy PDF.js Resources */,
5379C7AA21E5287100E4A8F6 /* Check .xcfilelists */,
6577FFC7276AC9AD0011AEC8 /* Create Symlink to Alt Root Path */,
);
@@ -38385,6 +38386,24 @@
shellPath = /bin/sh;
shellScript = "if [ \"${ACTION}\" = \"installhdrs\" -o \"${ACTION}\" = \"installapi\" ]; then\n exit 0;\nfi\n\nDST_DIR=\"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/en.lproj\"\nmkdir -p \"$DST_DIR\"\n\nif [ -e $BUILT_PRODUCTS_DIR/DerivedSources/WebCore/LocalizableAdditions.strings.out ] ; then\n cat $SRCROOT/en.lproj/Localizable.strings $BUILT_PRODUCTS_DIR/DerivedSources/WebCore/LocalizableAdditions.strings.out > $DST_DIR/Localizable.strings\nelse\n cp $SRCROOT/en.lproj/Localizable.strings $DST_DIR/Localizable.strings\nfi\n";
};
+ 49AA6B1727B6755F000B0F64 /* Copy PDF.js Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ name = "Copy PDF.js Resources";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "SRC_DIR=\"$SRCROOT/../ThirdParty/pdfjs\"\nDST_DIR=\"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/pdfjs\"\n\nmkdir -p \"$DST_DIR\"\n\nrsync -aq --exclude \".svn\" --exclude \".DS_Store\" \"$SRC_DIR/\" \"$DST_DIR/\"\n\ncd \"$SRC_DIR\"\n";
+ };
5325BDCC21DFF33E00A0DEE1 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes