Documentation
¶
Index ¶
Constants ¶
View Source
const GioRoot = "github.com/dyike/keel/gio"
GioRoot is the import path of Keel's copy of Gio.
Variables ¶
View Source
var AndroidFeatures = map[string][]string{
"default": {`glEsVersion="0x00020000"`, `name="android.hardware.type.pc"`},
"bluetooth": {
`name="android.hardware.bluetooth"`,
`name="android.hardware.bluetooth_le"`,
},
"camera": {
`name="android.hardware.camera"`,
},
}
View Source
var AndroidPermissions = map[string][]string{
"network": {
"android.permission.INTERNET",
},
"networkstate": {
"android.permission.ACCESS_NETWORK_STATE",
},
"bluetooth": {
"android.permission.BLUETOOTH",
"android.permission.BLUETOOTH_ADMIN",
"android.permission.ACCESS_FINE_LOCATION",
},
"camera": {
"android.permission.CAMERA",
},
"storage": {
"android.permission.READ_EXTERNAL_STORAGE",
"android.permission.WRITE_EXTERNAL_STORAGE",
},
"wakelock": {
"android.permission.WAKE_LOCK",
},
"microphone": {
"android.permission.RECORD_AUDIO",
},
}
Functions ¶
func UppercaseName ¶
UppercaseName returns a string with its first rune in uppercase.
Types ¶
type Options ¶
type Options struct {
Dir string // working directory; default: the current one
Env []string // environment; default: os.Environ()
Stdout, Stderr io.Writer // default: os.Stdout, os.Stderr
GioRoot string // Gio's import path; default: GioRoot
}
Options is the context a packaging run would get from its process.
Click to show internal directories.
Click to hide internal directories.