Reduce base dependencies to ony what needed on wasm.

This commit is contained in:
Matthieu Gautier 2022-11-08 17:07:59 +01:00
parent 6f8b82ad7d
commit fd8044ba76
1 changed files with 3 additions and 0 deletions

View File

@ -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'):