From 3eb92a9324cfdf9b934063b325c8db0aad6b743f Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sun, 29 Oct 2023 16:04:41 -0600 Subject: [PATCH] Meta: Port 95c154d9bdb7f65e99c091c67063f99de287d377 to gn build --- .../Userland/Libraries/LibAccelGfx/BUILD.gn | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Meta/gn/secondary/Userland/Libraries/LibAccelGfx/BUILD.gn diff --git a/Meta/gn/secondary/Userland/Libraries/LibAccelGfx/BUILD.gn b/Meta/gn/secondary/Userland/Libraries/LibAccelGfx/BUILD.gn new file mode 100644 index 0000000000..1db36696b7 --- /dev/null +++ b/Meta/gn/secondary/Userland/Libraries/LibAccelGfx/BUILD.gn @@ -0,0 +1,25 @@ +shared_library("LibAccelGfx") { + output_name = "accelgfx" + include_dirs = [ "//Userland/Libraries" ] + + deps = [ + "//AK", + "//Userland/Libraries/LibCore", + "//Userland/Libraries/LibGfx", + ] + if (current_os == "linux") { + libs = [ + "GL", + "EGL", + ] + } + sources = [ + "Canvas.cpp", + "Canvas.h", + "Context.cpp", + "Context.h", + "Forward.h", + "Painter.cpp", + "Painter.h", + ] +}