浏览代码

Meta: Add the base64 utility to the GN build

Timothy Flynn 1 年之前
父节点
当前提交
a88ee029d7
共有 2 个文件被更改,包括 11 次插入0 次删除
  1. 1 0
      Meta/gn/secondary/BUILD.gn
  2. 10 0
      Meta/gn/secondary/Userland/Utilities/BUILD.gn

+ 1 - 0
Meta/gn/secondary/BUILD.gn

@@ -6,6 +6,7 @@ group("default") {
     "//Meta/Lagom/Tools/CodeGenerators/IPCCompiler",
     "//Meta/Lagom/Tools/CodeGenerators/IPCCompiler",
     "//Tests",
     "//Tests",
     "//Userland/Libraries/LibWeb",
     "//Userland/Libraries/LibWeb",
+    "//Userland/Utilities:base64",
     "//Userland/Utilities:js",
     "//Userland/Utilities:js",
   ]
   ]
   testonly = true
   testonly = true

+ 10 - 0
Meta/gn/secondary/Userland/Utilities/BUILD.gn

@@ -1,3 +1,13 @@
+executable("base64") {
+  sources = [ "base64.cpp" ]
+  include_dirs = [ "//Userland/Libraries" ]
+  deps = [
+    "//AK",
+    "//Userland/Libraries/LibCore",
+    "//Userland/Libraries/LibMain",
+  ]
+}
+
 executable("js") {
 executable("js") {
   sources = [ "js.cpp" ]
   sources = [ "js.cpp" ]
   include_dirs = [ "//Userland/Libraries" ]
   include_dirs = [ "//Userland/Libraries" ]