summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-04-14 17:44:20 +0200
committerGitHub <noreply@github.com>2021-04-14 17:44:20 +0200
commitb6a31d0bf63c7627f0217b21b46bde084298cda7 (patch)
treefed0c9d33789f9e9636de8f9ed6280da9a48a4a9 /modules
parentf95945af5a0cbbdf1e79b523f4a49c1e0084694c (diff)
parent638cfec853cfdbc95b5ccc67477afbaa3a53bc33 (diff)
Merge pull request #47890 from akien-mga/etcpak-compress-only
etcpak: We only need the compression code, remove rest of etcpak app
Diffstat (limited to 'modules')
-rw-r--r--modules/etcpak/SCsub16
1 files changed, 0 insertions, 16 deletions
diff --git a/modules/etcpak/SCsub b/modules/etcpak/SCsub
index 821c6801b4..2d3b69be75 100644
--- a/modules/etcpak/SCsub
+++ b/modules/etcpak/SCsub
@@ -11,31 +11,15 @@ thirdparty_obj = []
thirdparty_dir = "#thirdparty/etcpak/"
thirdparty_sources = [
- "Bitmap.cpp",
- "BitmapDownsampled.cpp",
- "BlockData.cpp",
- "ColorSpace.cpp",
- "DataProvider.cpp",
- "Debug.cpp",
"Dither.cpp",
- "Error.cpp",
- "mmap.cpp",
"ProcessDxtc.cpp",
"ProcessRGB.cpp",
- "System.cpp",
"Tables.cpp",
- "TaskDispatch.cpp",
- "Timing.cpp",
- "lz4/lz4.c",
]
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
env_etcpak.Prepend(CPPPATH=[thirdparty_dir])
-# Also requires libpng headers
-if env["builtin_libpng"]:
- env_etcpak.Prepend(CPPPATH=["#thirdparty/libpng"])
-
env_thirdparty = env_etcpak.Clone()
env_thirdparty.disable_warnings()
env_thirdparty.add_source_files(thirdparty_obj, thirdparty_sources)