aboutsummaryrefslogtreecommitdiffstats
path: root/avdlauncher/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'avdlauncher/build.gradle')
-rw-r--r--avdlauncher/build.gradle8
1 files changed, 4 insertions, 4 deletions
diff --git a/avdlauncher/build.gradle b/avdlauncher/build.gradle
index dc08951..c280642 100644
--- a/avdlauncher/build.gradle
+++ b/avdlauncher/build.gradle
@@ -19,17 +19,17 @@ sources {
sdk {
windows {
- item( { getExeName("windows") } ) {
+ item( { getExeName("windows32AvdLauncherExecutable") } ) {
into 'lib'
name 'AVD Manager.exe'
- builtBy 'avdLauncherExecutable'
+ builtBy 'windows32AvdLauncherExecutable'
}
}
}
-def getExeName(String platform) {
+def getExeName(String name) {
// binaries will return a set of binaries
- def binaries = executables.avdLauncher.binaries.matching { it.name == "avdLauncherExecutable" }
+ 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)
}