1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:27:35 +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,19 @@
shared_library("LibRegex") {
output_name = "regex"
include_dirs = [ "//Userland/Libraries" ]
sources = [
"RegexByteCode.cpp",
"RegexLexer.cpp",
"RegexMatcher.cpp",
"RegexOptimizer.cpp",
"RegexParser.cpp",
]
if (current_os == "serenity") {
sources += [ "C/Regex.cpp" ]
}
deps = [
"//AK",
"//Userland/Libraries/LibCore",
"//Userland/Libraries/LibUnicode",
]
}