mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00:00
Meta: Port recent changes to the GN build
9836a9ad0e
bc9cdd4394
28723d8be1
f4a5c136c3
This commit is contained in:
parent
707added91
commit
2891633877
3 changed files with 27 additions and 3 deletions
|
@ -20,6 +20,7 @@ shared_library("LibAccelGfx") {
|
||||||
"Forward.h",
|
"Forward.h",
|
||||||
"GL.cpp",
|
"GL.cpp",
|
||||||
"GL.h",
|
"GL.h",
|
||||||
|
"GlyphAtlas.cpp",
|
||||||
"Painter.cpp",
|
"Painter.cpp",
|
||||||
"Painter.h",
|
"Painter.h",
|
||||||
"Program.cpp",
|
"Program.cpp",
|
||||||
|
|
|
@ -30,8 +30,6 @@ shared_library("LibCrypto") {
|
||||||
"Cipher/ChaCha20.cpp",
|
"Cipher/ChaCha20.cpp",
|
||||||
"Curves/Curve25519.cpp",
|
"Curves/Curve25519.cpp",
|
||||||
"Curves/Ed25519.cpp",
|
"Curves/Ed25519.cpp",
|
||||||
"Curves/SECP256r1.cpp",
|
|
||||||
"Curves/SECP384r1.cpp",
|
|
||||||
"Curves/X25519.cpp",
|
"Curves/X25519.cpp",
|
||||||
"Curves/X448.cpp",
|
"Curves/X448.cpp",
|
||||||
"Hash/BLAKE2b.cpp",
|
"Hash/BLAKE2b.cpp",
|
||||||
|
|
|
@ -1,9 +1,30 @@
|
||||||
|
action("generate_tiff_sources") {
|
||||||
|
script = "//Userland/Libraries/LibGfx/TIFFGenerator.py"
|
||||||
|
|
||||||
|
args = [
|
||||||
|
"-o",
|
||||||
|
rebase_path("$target_gen_dir/ImageFormats", root_build_dir),
|
||||||
|
]
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
"$target_gen_dir/ImageFormats/TIFFMetadata.h",
|
||||||
|
"$target_gen_dir/ImageFormats/TIFFTagHandler.cpp",
|
||||||
|
]
|
||||||
|
|
||||||
|
# FIXME: install header into $prefix/include/LibGfx/ImageFormats on serenity
|
||||||
|
}
|
||||||
|
|
||||||
|
config("tiff_headers") {
|
||||||
|
include_dirs = [ "$target_gen_dir/.." ]
|
||||||
|
}
|
||||||
|
|
||||||
shared_library("LibGfx") {
|
shared_library("LibGfx") {
|
||||||
output_name = "gfx"
|
output_name = "gfx"
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"//Userland/Libraries",
|
"//Userland/Libraries",
|
||||||
"//Userland",
|
"//Userland",
|
||||||
]
|
]
|
||||||
|
public_configs = [ ":tiff_headers" ]
|
||||||
sources = [
|
sources = [
|
||||||
"AffineTransform.cpp",
|
"AffineTransform.cpp",
|
||||||
"AntiAliasingPainter.cpp",
|
"AntiAliasingPainter.cpp",
|
||||||
|
@ -61,11 +82,11 @@ shared_library("LibGfx") {
|
||||||
"ImageFormats/QOIWriter.cpp",
|
"ImageFormats/QOIWriter.cpp",
|
||||||
"ImageFormats/TGALoader.cpp",
|
"ImageFormats/TGALoader.cpp",
|
||||||
"ImageFormats/TIFFLoader.cpp",
|
"ImageFormats/TIFFLoader.cpp",
|
||||||
"ImageFormats/TIFFTagHandler.cpp",
|
|
||||||
"ImageFormats/TinyVGLoader.cpp",
|
"ImageFormats/TinyVGLoader.cpp",
|
||||||
"ImageFormats/WebPLoader.cpp",
|
"ImageFormats/WebPLoader.cpp",
|
||||||
"ImageFormats/WebPLoaderLossless.cpp",
|
"ImageFormats/WebPLoaderLossless.cpp",
|
||||||
"ImageFormats/WebPLoaderLossy.cpp",
|
"ImageFormats/WebPLoaderLossy.cpp",
|
||||||
|
"ImmutableBitmap.cpp",
|
||||||
"Painter.cpp",
|
"Painter.cpp",
|
||||||
"Palette.cpp",
|
"Palette.cpp",
|
||||||
"Path.cpp",
|
"Path.cpp",
|
||||||
|
@ -81,7 +102,11 @@ shared_library("LibGfx") {
|
||||||
"VectorGraphic.cpp",
|
"VectorGraphic.cpp",
|
||||||
"WindowTheme.cpp",
|
"WindowTheme.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
sources += get_target_outputs(":generate_tiff_sources")
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
":generate_tiff_sources",
|
||||||
"//AK",
|
"//AK",
|
||||||
"//Userland/Libraries/LibCompress",
|
"//Userland/Libraries/LibCompress",
|
||||||
"//Userland/Libraries/LibCore",
|
"//Userland/Libraries/LibCore",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue