diff options
author | Xavier Ducrohet <xav@google.com> | 2014-11-07 10:55:10 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@google.com> | 2014-11-07 11:17:00 -0800 |
commit | 8e66edff331244d3a1ad3847e774f98cd342485d (patch) | |
tree | 14e291457afc7f06a2c03179a9310ac1a62903a2 /sdklauncher | |
parent | 2fb44fb0f599dfc53907f63ffaed8bd78638df35 (diff) | |
download | replicant_sdk-8e66edff331244d3a1ad3847e774f98cd342485d.zip replicant_sdk-8e66edff331244d3a1ad3847e774f98cd342485d.tar.gz replicant_sdk-8e66edff331244d3a1ad3847e774f98cd342485d.tar.bz2 |
Build and package 32/64bit find_java.
Change-Id: I93a2e42fb0a81d1495bb12b657b6bd6a597a128e
Diffstat (limited to 'sdklauncher')
-rw-r--r-- | sdklauncher/build.gradle | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdklauncher/build.gradle b/sdklauncher/build.gradle index 61b41e1..6c64f6d 100644 --- a/sdklauncher/build.gradle +++ b/sdklauncher/build.gradle @@ -19,17 +19,17 @@ sources { sdk { windows { - item( { getExeName("windows") } ) { + item( { getExeName("windows32SdkLauncherExecutable") } ) { into 'lib' name 'SDK Manager.exe' - builtBy 'sdkLauncherExecutable' + builtBy 'windows32SdkLauncherExecutable' } } } -def getExeName(String platform) { +def getExeName(String name) { // binaries will return a set of binaries - def binaries = executables.sdkLauncher.binaries.matching { it.name == "sdkLauncherExecutable" } + def binaries = executables.sdkLauncher.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) } |