Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 9cdef20e38c0e2ca0c5897b01c60c2a0754631bb https://github.com/WebKit/WebKit/commit/9cdef20e38c0e2ca0c5897b01c60c2a0754631bb Author: Adrian Perez de Castro <ape...@igalia.com> Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths: M Source/CMakeLists.txt A Source/cmake/FindSysProfCapture.cmake M Source/cmake/OptionsGTK.cmake M Source/cmake/OptionsWPE.cmake M Source/cmake/WebKitFeatures.cmake Log Message: ----------- [CMake] Allow using a system-provided libsysprof-capture package https://bugs.webkit.org/show_bug.cgi?id=275321 Reviewed by Michael Catanzaro. Add a new USE_SYSTEM_SYSPROF_CAPTURE build option and a corresponding CMake find-module. The module defines a SysProfCapture::SysProfCapture target, the same name as already used for the copy of the library that was already bundled under Source/ThirdParty/, therefore chosing between the both does not need any other changes than using the find-module when the CMake option is set. * Source/CMakeLists.txt: Switch between the find-module for sysprof-capture and the bundled copy depending on the value of USE_SYSTEM_SYSPROF_CAPTURE. * Source/cmake/FindSysProfCapture.cmake: Added. * Source/cmake/OptionsGTK.cmake: Add USE_SYSTEM_SYSPROF_CAPTURE build option, move the USE_SYSPROF_CAPTURE option definition here. * Source/cmake/OptionsWPE.cmake: Ditto. * Source/cmake/WebKitFeatures.cmake: Remove the USE_SYSPROF_CAPTURE build option definition, it should be port-specific. Canonical link: https://commits.webkit.org/282340@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes