Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
class AndroidPlatform
super Platform
+ redef fun supports_libunwind do return false
+
redef fun toolchain(toolcontext) do return new AndroidToolchain(toolcontext)
end
mainmodule.set_imported_mmodules(mmodules)
end
+var platform = mainmodule.target_platform
+if platform != null and not platform.supports_libunwind then
+ toolcontext.opt_no_stacktrace.value = true
+ toolcontext.opt_stacktrace.value = false
+end
if toolcontext.opt_erasure.value then
modelbuilder.run_separate_erasure_compiler(mainmodule, null)
#
# Services will be added to this class in other modules.
abstract class Platform
+ fun supports_libunwind: Bool do return true
end