ladybird/Meta/gn/build/libs/curl/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

24 lines
422 B
Text

import("//Meta/gn/build/libs/third_party.gni")
third_party_dependency("curl") {
libs = [
"curl",
"z",
"brotlidec",
"brotlicommon",
"nghttp2",
]
if (current_os == "mac") {
frameworks = [
"SystemConfiguration.framework",
"Security.framework",
"CoreFoundation.framework",
"CoreServices.framework",
]
} else {
libs += [
"ssl",
"crypto",
]
}
}