-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WPE][GTK] Improve dependency tracking of PDF.js files (and other GRe…
…sources) https://bugs.webkit.org/show_bug.cgi?id=240535 Patch by Michael Catanzaro <mcatanzaro@redhat.com> on 2022-05-19 Reviewed by Adrian Perez de Castro. This commit does two things. First, for each use of glib-compile-resources, it adds the --dependency-file argument in order to make the build command depend on the files included in the GResource manifest, to ensure the resource is automatically recompiled whenever any of its source files change. Second, for PDF.js only, it replaces the GLOB_RECURSE command with a list of source files. The generate-pdfjs-gresource-manifest.py script is adapted to create CMake file lists in addition to GResource manifests, and renamed from -gresource-manifest.py to -resource-manifest.py. The web inspector GResource would benefit from similar work, but that will be a problem for another day. * Tools/TestWebKitAPI/glib/CMakeLists.txt: * Tools/glib/generate-pdfjs-resource-manifest.py: Renamed from Tools/glib/generate-pdfjs-gresource-manifest.py. (get_filenames): (get_filenames.resource_name): (is_compressible): (write_cmake_file): (write_gresource_manifest): * Source/ThirdParty/pdfjs/PdfJSFiles.cmake: Added. * Source/ThirdParty/pdfjs/README.webkit: * Source/WebKit/InspectorGResources.cmake: * Source/WebKit/PdfJSGResources.cmake: * Source/WebKit/PlatformGTK.cmake: * Source/WebKit/PlatformWPE.cmake: * CMakeLists.txt: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsWPE.cmake: Canonical link: https://commits.webkit.org/250761@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
f6f5627
commit 6cd8969
Showing
11 changed files
with
434 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters