WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
270776
[Skia] libSkia.a is always considered outdated
https://bugs.webkit.org/show_bug.cgi?id=270776
Summary
[Skia] libSkia.a is always considered outdated
Patrick Griffis
Reported
2024-03-10 19:03:55 PDT
If you run: `ninja -d explain -C WebKitBuild/WPE/Debug libSkia.a` It outputs: ninja explain: output Source/ThirdParty/skia/CMakeFiles/Skia_headers_symlink doesn't exist ninja explain: Source/ThirdParty/skia/CMakeFiles/Skia_headers_symlink is dirty ninja explain: Skia/Headers/skia is dirty [1/1] Link Skia headers This causes every single build to relink Skia and everything that depends on it. Currently this is defined in CMake as: add_custom_target(Skia_headers_symlink COMMAND ${CMAKE_COMMAND} -E create_symlink "${CMAKE_CURRENT_SOURCE_DIR}/include" "${Skia_FRAMEWORK_HEADERS_DIR}/skia" BYPRODUCTS "${Skia_FRAMEWORK_HEADERS_DIR}/skia" COMMENT "Link Skia headers" ) add_dependencies(Skia Skia_headers_symlink) I'm not sure what the proper solution to this is.
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2024-04-23 01:42:04 PDT
I think we may be able to use a POST_BUILD custom command to generate the symlink after libSkia.a is built *without* having the build system consider that the library is always outdated. Let me give it a try.
Adrian Perez
Comment 2
2024-04-23 01:48:45 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/27620
EWS
Comment 3
2024-04-23 02:01:25 PDT
Committed
277860@main
(c48d5a8a6a38): <
https://commits.webkit.org/277860@main
> Reviewed commits have been landed. Closing PR #27620 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug