Merge pull request #664 from kiwix/android_debug
This commit is contained in:
commit
e121d04dbf
|
@ -19,6 +19,12 @@ class Libkiwix(Dependency):
|
||||||
dependencies = ["pugixml", "libzim", "zlib", "lzma", "libcurl", "libmicrohttpd", "icu4c", "mustache", "xapian-core"]
|
dependencies = ["pugixml", "libzim", "zlib", "lzma", "libcurl", "libmicrohttpd", "icu4c", "mustache", "xapian-core"]
|
||||||
strip_option = ''
|
strip_option = ''
|
||||||
|
|
||||||
|
@property
|
||||||
|
def build_type(self):
|
||||||
|
if self.buildEnv.platformInfo.build == "android":
|
||||||
|
return "debug"
|
||||||
|
return super().build_type
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def configure_option(self):
|
def configure_option(self):
|
||||||
platformInfo = self.buildEnv.platformInfo
|
platformInfo = self.buildEnv.platformInfo
|
||||||
|
|
|
@ -16,6 +16,12 @@ class Libzim(Dependency):
|
||||||
test_option = "-t 8"
|
test_option = "-t 8"
|
||||||
strip_option = ''
|
strip_option = ''
|
||||||
|
|
||||||
|
@property
|
||||||
|
def build_type(self):
|
||||||
|
if self.buildEnv.platformInfo.build == "android":
|
||||||
|
return "debug"
|
||||||
|
return super().build_type
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_dependencies(cls, platformInfo, allDeps):
|
def get_dependencies(cls, platformInfo, allDeps):
|
||||||
deps = ['lzma', 'zstd', 'xapian-core', 'icu4c']
|
deps = ['lzma', 'zstd', 'xapian-core', 'icu4c']
|
||||||
|
|
Loading…
Reference in New Issue