Don't process dependency in lazy mode

This commit is contained in:
Ivan Kravets
2016-10-09 00:23:33 +03:00
parent c3a16ab8c7
commit 417780ff70

View File

@ -238,17 +238,19 @@ class EnvironmentProcessor(object):
telemetry.on_run_environment(self.options, build_targets) telemetry.on_run_environment(self.options, build_targets)
# install dependent libraries if "nobuild" not in build_targets:
if "lib_install" in self.options: # install dependent libraries
_autoinstall_libdeps(self.cmd_ctx, [ if "lib_install" in self.options:
int(d.strip()) for d in self.options['lib_install'].split(",") _autoinstall_libdeps(self.cmd_ctx, [
if d.strip() int(d.strip())
], self.verbose) for d in self.options['lib_install'].split(",")
if "lib_deps" in self.options: if d.strip()
_autoinstall_libdeps(self.cmd_ctx, [ ], self.verbose)
d.strip() for d in self.options['lib_deps'].split(", ") if "lib_deps" in self.options:
if d.strip() _autoinstall_libdeps(self.cmd_ctx, [
], self.verbose) d.strip() for d in self.options['lib_deps'].split(", ")
if d.strip()
], self.verbose)
try: try:
p = PlatformFactory.newPlatform(self.options['platform']) p = PlatformFactory.newPlatform(self.options['platform'])