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",
  ]
}
