Merge pull request #664 from kiwix/android_debug

This commit is contained in:
Matthieu Gautier 2023-11-20 14:17:42 +01:00 committed by GitHub
commit e121d04dbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,12 @@ class Libkiwix(Dependency):
dependencies = ["pugixml", "libzim", "zlib", "lzma", "libcurl", "libmicrohttpd", "icu4c", "mustache", "xapian-core"]
strip_option = ''
@property
def build_type(self):
if self.buildEnv.platformInfo.build == "android":
return "debug"
return super().build_type
@property
def configure_option(self):
platformInfo = self.buildEnv.platformInfo

View File

@ -16,6 +16,12 @@ class Libzim(Dependency):
test_option = "-t 8"
strip_option = ''
@property
def build_type(self):
if self.buildEnv.platformInfo.build == "android":
return "debug"
return super().build_type
@classmethod
def get_dependencies(cls, platformInfo, allDeps):
deps = ['lzma', 'zstd', 'xapian-core', 'icu4c']