dependencies: Add "airplane mode"

The patch adds airplaneMode parameter in konan.properties.
If airplaneMode = true the dependency downloader will throw
an exception instead of downloading a missing dependency.
This commit is contained in:
Ilya Matveev
2017-06-27 12:16:55 +07:00
committed by ilmat192
parent 974426d70d
commit 6f35106337
3 changed files with 22 additions and 3 deletions
+4
View File
@@ -17,6 +17,10 @@
# TODO: Do we need a $variable substitution mechanism here?
dependenciesUrl = http://download.jetbrains.com/kotlin/native
# Don't check dependencies on a server.
# If true, dependency downloader will throw an exception if a dependency isn't found in konan.home.
airplaneMode = false
# Mac OS X.
llvmVersion.osx = 3.9.0
llvmHome.osx = clang-llvm-3.9.0-darwin-macos