mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00: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: 4f219f46ee
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(vulkan)
|
||||||
include(skia)
|
include(skia)
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
find_package(unofficial-angle REQUIRED CONFIG)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(SOURCES
|
set(SOURCES
|
||||||
Animations/Animatable.cpp
|
Animations/Animatable.cpp
|
||||||
Animations/Animation.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)
|
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)
|
generate_js_bindings(LibWeb)
|
||||||
|
|
||||||
if (ENABLE_SWIFT)
|
if (ENABLE_SWIFT)
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{
|
{
|
||||||
"builtin-baseline": "b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c",
|
"builtin-baseline": "b2cb0da531c2f1f740045bfe7c4dac59f0b2b69c",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"name": "angle",
|
||||||
|
"platform": "osx"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "curl",
|
"name": "curl",
|
||||||
"features": [
|
"features": [
|
||||||
|
@ -118,6 +122,10 @@
|
||||||
"woff2"
|
"woff2"
|
||||||
],
|
],
|
||||||
"overrides": [
|
"overrides": [
|
||||||
|
{
|
||||||
|
"name": "angle",
|
||||||
|
"version": "chromium_5414#9"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "curl",
|
"name": "curl",
|
||||||
"version": "8.10.1#0"
|
"version": "8.10.1#0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue