mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
LibWeb: Add ANGLE
ANGLE is going to be used for WebGL implementation in upcoming changes.
This commit is contained in:
parent
f719b05ab9
commit
4f219f46ee
Notes:
github-actions[bot]
2024-12-03 22:37:47 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/4f219f46eec Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2688 Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 19 additions and 0 deletions
|
@ -2,6 +2,10 @@ include(libweb_generators)
|
|||
include(vulkan)
|
||||
include(skia)
|
||||
|
||||
if (APPLE)
|
||||
find_package(unofficial-angle REQUIRED CONFIG)
|
||||
endif()
|
||||
|
||||
set(SOURCES
|
||||
Animations/Animatable.cpp
|
||||
Animations/Animation.cpp
|
||||
|
@ -873,6 +877,13 @@ serenity_lib(LibWeb web)
|
|||
|
||||
target_link_libraries(LibWeb PRIVATE LibCore LibCompress LibCrypto LibJS LibHTTP LibGfx LibIPC LibRegex LibSyntax LibTextCodec LibUnicode LibMedia LibWasm LibXML LibIDL LibURL LibTLS LibRequests LibGC skia)
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(LibWeb PRIVATE unofficial::angle::libEGL unofficial::angle::libGLESv2)
|
||||
endif()
|
||||
|
||||
# FIXME: https://github.com/microsoft/vcpkg/issues/42324
|
||||
target_include_directories(LibWeb PRIVATE ${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include)
|
||||
|
||||
generate_js_bindings(LibWeb)
|
||||
|
||||
if (ENABLE_SWIFT)
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{
|
||||
"builtin-baseline": "b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "angle",
|
||||
"platform": "osx"
|
||||
},
|
||||
{
|
||||
"name": "curl",
|
||||
"features": [
|
||||
|
@ -118,6 +122,10 @@
|
|||
"woff2"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"name": "angle",
|
||||
"version": "chromium_5414#9"
|
||||
},
|
||||
{
|
||||
"name": "curl",
|
||||
"version": "8.10.1#0"
|
||||
|
|
Loading…
Reference in a new issue