1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:37:34 +00:00

Meta: Add LibJS and its dependencies to gn build

This commit is contained in:
Andrew Kaster 2023-05-05 12:42:25 -06:00 committed by Andrew Kaster
parent 1d3898f308
commit 165a67b115
5 changed files with 369 additions and 3 deletions

View file

@ -0,0 +1,41 @@
shared_library("LibCrypto") {
output_name = "crypto"
include_dirs = [ "//Userland/Libraries" ]
cflags_cc = [ "-Wvla" ]
deps = [
"//AK",
"//Userland/Libraries/LibCore",
"//Userland/Libraries/LibFileSystem",
]
sources = [
"ASN1/ASN1.cpp",
"ASN1/DER.cpp",
"ASN1/PEM.cpp",
"Authentication/GHash.cpp",
"Authentication/Poly1305.cpp",
"BigFraction/BigFraction.cpp",
"BigInt/Algorithms/BitwiseOperations.cpp",
"BigInt/Algorithms/Division.cpp",
"BigInt/Algorithms/GCD.cpp",
"BigInt/Algorithms/ModularInverse.cpp",
"BigInt/Algorithms/ModularPower.cpp",
"BigInt/Algorithms/Multiplication.cpp",
"BigInt/Algorithms/SimpleOperations.cpp",
"BigInt/SignedBigInteger.cpp",
"BigInt/UnsignedBigInteger.cpp",
"Checksum/Adler32.cpp",
"Checksum/CRC32.cpp",
"Cipher/AES.cpp",
"Cipher/ChaCha20.cpp",
"Curves/Curve25519.cpp",
"Curves/Ed25519.cpp",
"Curves/SECP256r1.cpp",
"Curves/X25519.cpp",
"Curves/X448.cpp",
"Hash/MD5.cpp",
"Hash/SHA1.cpp",
"Hash/SHA2.cpp",
"NumberTheory/ModularFunctions.cpp",
"PK/RSA.cpp",
]
}