Enable kotlinc flags in blueprint files
Add support for adding kotlinc files in the module. Some flags are unnecessary as they are added by default (-no-jdk and -no-stdlib), or are not needed on an Android build (-include-runtime), or may conflict with the build (-kotlin-home and -Xintellij-plugin-root), so the error stops the build if they are added. Test: part of java/java_test.go Change-Id: If3b2777062daaa490a20c014e9b1bb4b1cb0a8df Signed-off-by: Zoran Jovanovic <zoran.jovanovic@sony.com>
This commit is contained in:
committed by
Colin Cross
parent
ad9eab8b51
commit
8736ce29e8
@@ -15,7 +15,11 @@
|
||||
package config
|
||||
|
||||
var (
|
||||
KotlinStdlibJar = "external/kotlinc/lib/kotlin-stdlib.jar"
|
||||
KotlinStdlibJar = "external/kotlinc/lib/kotlin-stdlib.jar"
|
||||
KotlincIllegalFlags = []string{
|
||||
"-no-jdk",
|
||||
"-no-stdlib",
|
||||
}
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
Reference in New Issue
Block a user