ladybird/Meta/gn/build/libs/jxl/BUILD.gn
Andrew Kaster 6ee1afc9c0 Meta: Add third-party libraries to gn build with vcpkg install script
The vcpkg install is handled through an action to run vcpkg install with
the private --x-install-root flag that their CMake toolchain file uses
to install dependencies into a build-time directory.
2024-09-27 10:15:08 -06:00

20 lines
415 B
Text

import("//Meta/gn/build/libs/third_party.gni")
third_party_dependency("jxl") {
libs = [
"jxl",
"hwy",
"brotlienc",
"brotlidec",
"brotlicommon",
"jxl_cms",
"lcms2",
]
defines = [
# FIXME: These static defines depend on whether you built jxl as static or not...
"JXL_STATIC_DEFINE",
"JXL_CMS_STATIC_DEFINE",
"HWY_STATIC_DEFINE",
"CMS_NO_REGISTER_KEYWORD",
]
}