build: add target native SDK as downloadable dependency
also improve Gradle native toolchains configuration
This commit is contained in:
committed by
SvyatoslavScherbina
parent
db1853f627
commit
e7558f9ddc
@@ -15,13 +15,6 @@ def javaHome = System.getProperty('java.home')
|
||||
def compilerArgsForJniIncludes = ["", "linux", "darwin"].collect { "-I$javaHome/../include/$it" } as String[]
|
||||
|
||||
model {
|
||||
//TODO: it's better to find some way share this configuration
|
||||
toolChains {
|
||||
clang(Clang) {
|
||||
path "${llvmDir}/bin/clang"
|
||||
}
|
||||
}
|
||||
|
||||
components {
|
||||
callbacks(NativeLibrarySpec) {
|
||||
sources.c.source {
|
||||
|
||||
Reference in New Issue
Block a user