From fd8044ba769b27766da00906ec6953b6dc6c9406 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 8 Nov 2022 17:07:59 +0100 Subject: [PATCH] Reduce base dependencies to ony what needed on wasm. --- kiwixbuild/dependencies/all_dependencies.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kiwixbuild/dependencies/all_dependencies.py b/kiwixbuild/dependencies/all_dependencies.py index 0be910c..f2bfd46 100644 --- a/kiwixbuild/dependencies/all_dependencies.py +++ b/kiwixbuild/dependencies/all_dependencies.py @@ -12,6 +12,9 @@ class AllBaseDependencies(Dependency): class Builder(NoopBuilder): @classmethod def get_dependencies(cls, platformInfo, allDeps): + if platformInfo.build == "wasm": + return ['zlib', 'lzma', 'zstd', 'icu4c', 'xapian-core'] + base_deps = ['zlib', 'lzma', 'zstd', 'xapian-core', 'pugixml', 'libcurl', 'icu4c', 'mustache', 'libmicrohttpd', 'zim-testing-suite'] # Add specific dependencies depending of the platform if platformInfo.build not in ('android', 'iOS'):