mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Implement XPath functionality using libxml2
This commit is contained in:
parent
f04b866cb0
commit
0ea519c539
Notes:
github-actions[bot]
2025-10-03 11:17:39 +00:00
Author: https://github.com/johannesg
Commit: 0ea519c539
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6342
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
8 changed files with 277 additions and 6 deletions
|
|
@ -1066,6 +1066,7 @@ set(SOURCES
|
|||
XHR/XMLHttpRequestUpload.cpp
|
||||
XLink/AttributeNames.cpp
|
||||
XML/XMLDocumentBuilder.cpp
|
||||
XPath/XPath.cpp
|
||||
XPath/XPathEvaluator.cpp
|
||||
XPath/XPathExpression.cpp
|
||||
XPath/XPathNSResolver.cpp
|
||||
|
|
@ -1116,7 +1117,9 @@ set(GENERATED_SOURCES
|
|||
|
||||
ladybird_lib(LibWeb web EXPLICIT_SYMBOL_EXPORT)
|
||||
|
||||
target_link_libraries(LibWeb PRIVATE LibCore LibCompress LibCrypto LibJS LibHTTP LibGfx LibIPC LibRegex LibSyntax LibTextCodec LibUnicode LibMedia LibWasm LibXML LibIDL LibURL LibTLS LibRequests LibGC LibThreading skia ${ANGLE_TARGETS} SDL3::SDL3)
|
||||
find_package(LibXml2 REQUIRED)
|
||||
|
||||
target_link_libraries(LibWeb PRIVATE LibCore LibCompress LibCrypto LibJS LibHTTP LibGfx LibIPC LibRegex LibSyntax LibTextCodec LibUnicode LibMedia LibWasm LibXML LibIDL LibURL LibTLS LibRequests LibGC LibThreading skia ${ANGLE_TARGETS} SDL3::SDL3 LibXml2::LibXml2)
|
||||
|
||||
# FIXME: https://github.com/microsoft/vcpkg/issues/42324
|
||||
target_include_directories(LibWeb PRIVATE ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue