Title: [289850] trunk/Source/WebCore
- Revision
- 289850
- Author
- [email protected]
- Date
- 2022-02-15 13:51:11 -0800 (Tue, 15 Feb 2022)
Log Message
Copy PDF.js in WebCore.framework bundle at build-time
https://bugs.webkit.org/show_bug.cgi?id=235981
Reviewed by Alexey Proskuryakov.
This adds the Source/ThirdParty/pdfjs folder as a folder resource. Adds a installsrc step in the
WebCore makefile to make sure XCode finds the folder in production builds.
* Makefile:
* WebCore.xcodeproj/project.pbxproj:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (289849 => 289850)
--- trunk/Source/WebCore/ChangeLog 2022-02-15 21:43:33 UTC (rev 289849)
+++ trunk/Source/WebCore/ChangeLog 2022-02-15 21:51:11 UTC (rev 289850)
@@ -1,3 +1,16 @@
+2022-02-15 Tim Nguyen <[email protected]>
+
+ Copy PDF.js in WebCore.framework bundle at build-time
+ https://bugs.webkit.org/show_bug.cgi?id=235981
+
+ Reviewed by Alexey Proskuryakov.
+
+ This adds the Source/ThirdParty/pdfjs folder as a folder resource. Adds a installsrc step in the
+ WebCore makefile to make sure XCode finds the folder in production builds.
+
+ * Makefile:
+ * WebCore.xcodeproj/project.pbxproj:
+
2022-02-15 Joseph Griego <[email protected]>
Redirect shadow realm console output to page's ConsoleClient
Modified: trunk/Source/WebCore/Makefile (289849 => 289850)
--- trunk/Source/WebCore/Makefile 2022-02-15 21:43:33 UTC (rev 289849)
+++ trunk/Source/WebCore/Makefile 2022-02-15 21:51:11 UTC (rev 289850)
@@ -1 +1,8 @@
include ../Makefile.shared
+
+PDFJS_SRCROOT = $(SRCROOT)$(PATH_FROM_ROOT)/../ThirdParty/pdfjs
+$(PDFJS_SRCROOT):
+ mkdir -p $@
+ cp -R ../ThirdParty/pdfjs/ $(PDFJS_SRCROOT)
+
+installsrc: $(PDFJS_SRCROOT)
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (289849 => 289850)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2022-02-15 21:43:33 UTC (rev 289849)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2022-02-15 21:51:11 UTC (rev 289850)
@@ -1459,6 +1459,7 @@
49E912AE0EFAC906009D0CAF /* TimingFunction.h in Headers */ = {isa = PBXBuildFile; fileRef = 49E912A90EFAC906009D0CAF /* TimingFunction.h */; settings = {ATTRIBUTES = (Private, ); }; };
49ECEB6E1499790D00CDD3A4 /* FilterOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 49ECEB641499790D00CDD3A4 /* FilterOperation.h */; settings = {ATTRIBUTES = (Private, ); }; };
49ECEB701499790D00CDD3A4 /* FilterOperations.h in Headers */ = {isa = PBXBuildFile; fileRef = 49ECEB661499790D00CDD3A4 /* FilterOperations.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 49ECF72F27BAE85400880991 /* pdfjs in Resources */ = {isa = PBXBuildFile; fileRef = 49ECF72D27BAE85400880991 /* pdfjs */; };
49EED1451051969400099FAB /* JSCanvasRenderingContext2D.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EED13F1051969400099FAB /* JSCanvasRenderingContext2D.h */; };
49EED1471051969400099FAB /* JSWebGLRenderingContext.h in Headers */ = {isa = PBXBuildFile; fileRef = 49EED1411051969400099FAB /* JSWebGLRenderingContext.h */; };
4A0DA2FF129B241900AB61E1 /* FormAssociatedElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A0DA2FD129B241900AB61E1 /* FormAssociatedElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -9478,6 +9479,7 @@
49ECEB641499790D00CDD3A4 /* FilterOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FilterOperation.h; sourceTree = "<group>"; };
49ECEB651499790D00CDD3A4 /* FilterOperations.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FilterOperations.cpp; sourceTree = "<group>"; };
49ECEB661499790D00CDD3A4 /* FilterOperations.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FilterOperations.h; sourceTree = "<group>"; };
+ 49ECF72D27BAE85400880991 /* pdfjs */ = {isa = PBXFileReference; lastKnownFileType = folder; name = pdfjs; path = ../../ThirdParty/pdfjs; sourceTree = "<group>"; };
49EED13E1051969400099FAB /* JSCanvasRenderingContext2D.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCanvasRenderingContext2D.cpp; sourceTree = "<group>"; };
49EED13F1051969400099FAB /* JSCanvasRenderingContext2D.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCanvasRenderingContext2D.h; sourceTree = "<group>"; };
49EED1401051969400099FAB /* JSWebGLRenderingContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLRenderingContext.cpp; sourceTree = "<group>"; };
@@ -19154,6 +19156,7 @@
089C1665FE841158C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
+ 49ECF72D27BAE85400880991 /* pdfjs */,
CD0DBB3E142274E600280263 /* audio */,
65998A650E5F5FD3004E097A /* images */,
A1AA9AB81D23911500FEADB3 /* ContentFilterBlockedPage.html */,
@@ -38372,6 +38375,7 @@
A11E8C091B1E29070003A7C7 /* northWestSouthEastResizeCursor.png in Resources */,
93153BDC141959BC00FCF5BE /* textAreaResizeCorner.png in Resources */,
9370918D1416D86B00477333 /* [email protected] in Resources */,
+ 49ECF72F27BAE85400880991 /* pdfjs in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes