parent
47771d5509
commit
0525ea8f06
|
@ -384,12 +384,15 @@ chipList.each { String thisChip ->
|
||||||
tasks.named("compileJava").configure {enabled false}
|
tasks.named("compileJava").configure {enabled false}
|
||||||
|
|
||||||
chipList.each { String thisChip ->
|
chipList.each { String thisChip ->
|
||||||
|
//ensure full build process is running on "build"
|
||||||
tasks.named("build").configure {
|
tasks.named("build").configure {
|
||||||
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCompiler"
|
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCompiler"
|
||||||
}
|
}
|
||||||
|
//Compiles and links the generated jni code with the underlying native library
|
||||||
tasks.named("javacpp${thisChip.capitalize()}SupportBuildCompiler").configure {
|
tasks.named("javacpp${thisChip.capitalize()}SupportBuildCompiler").configure {
|
||||||
dependsOn "javacpp${thisChip.capitalize()}SupportBuildParser"
|
dependsOn "javacpp${thisChip.capitalize()}SupportBuildParser"
|
||||||
}
|
}
|
||||||
|
//Generates the jni interface sources
|
||||||
tasks.named("javacpp${thisChip.capitalize()}SupportBuildParser").configure {
|
tasks.named("javacpp${thisChip.capitalize()}SupportBuildParser").configure {
|
||||||
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCommand"
|
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCommand"
|
||||||
}
|
}
|
||||||
|
@ -397,11 +400,11 @@ chipList.each { String thisChip ->
|
||||||
tasks.named("javacpp${thisChip.capitalize()}SupportBuildCommand").configure {
|
tasks.named("javacpp${thisChip.capitalize()}SupportBuildCommand").configure {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
//Compile the generates jni interface (java portion)
|
||||||
tasks.named("compile${thisChip.capitalize()}Java").configure {
|
tasks.named("compile${thisChip.capitalize()}Java").configure {
|
||||||
dependsOn "javacpp${thisChip.capitalize()}SupportBuildParser"
|
dependsOn "javacpp${thisChip.capitalize()}SupportBuildParser"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
tasks.named("${thisChip}Jar").configure {
|
tasks.named("${thisChip}Jar").configure {
|
||||||
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCompiler"
|
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCompiler"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue