Renamed interop 'target' to 'flavour'.

This commit is contained in:
Alexander Gorshenev
2017-03-15 13:56:31 +03:00
committed by alexander-gorshenev
parent 7279873bb4
commit a7677e2a8b
4 changed files with 17 additions and 17 deletions
+6 -6
View File
@@ -1508,29 +1508,29 @@ kotlinNativeInterop {
sysstat {
pkg 'sysstat'
headers 'sys/stat.h'
target 'native'
flavor 'native'
}
cstdlib {
pkg 'cstdlib'
headers 'stdlib.h'
target 'native'
flavor 'native'
}
cstdio {
defFile 'interop/basics/cstdio.def'
target 'native'
flavor 'native'
compilerOpts '-D_POSIX_SOURCE' // Exclude Darwin extensions causing link errors.
}
sockets {
defFile 'interop/basics/sockets.def'
target 'native'
flavor 'native'
}
if (isMac()) {
opengl {
target 'native'
flavor 'native'
compilerOpts '-framework', 'OpenGL', '-framework', 'GLUT'
linkerOpts '-framework', 'OpenGL', '-framework', 'GLUT'
pkg 'opengl'
@@ -1578,4 +1578,4 @@ if (isMac()) {
source = "interop/basics/opengl_teapot.kt"
interop = 'opengl'
}
}
}