upload android base code part9
This commit is contained in:
parent
5425409085
commit
071cdf34cd
2679 changed files with 329442 additions and 0 deletions
36
android/sdk/avdlauncher/build.gradle
Normal file
36
android/sdk/avdlauncher/build.gradle
Normal file
|
@ -0,0 +1,36 @@
|
|||
apply plugin: 'c'
|
||||
apply plugin: 'sdk-files'
|
||||
apply plugin: 'windows-setup'
|
||||
|
||||
executables {
|
||||
avdLauncher {}
|
||||
}
|
||||
|
||||
sources {
|
||||
avdLauncher {
|
||||
c {
|
||||
source {
|
||||
srcDir "src/source"
|
||||
include "**/*.c"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sdk {
|
||||
windows {
|
||||
item( { getExeName("windows32AvdLauncherExecutable") } ) {
|
||||
into 'lib'
|
||||
name 'AVD Manager.exe'
|
||||
builtBy 'windows32AvdLauncherExecutable'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def getExeName(String name) {
|
||||
// binaries will return a set of binaries
|
||||
def binaries = executables.avdLauncher.binaries.matching { it.name == name }
|
||||
// calling .exeFile on the set returns an array with the result from each item in the set...
|
||||
return binaries.executableFile.get(0)
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue