blob: dffce92a6218f44883030bf9cb6b307e173ee229 [file] [log] [blame]
apply plugin: 'sdk-files'
import com.android.tools.internal.emulator.BuildEmulator
task buildDefaultEmulator(type: BuildEmulator) {
output = new File(project.buildDir, "default")
}
task buildWindowsEmulator(type: BuildEmulator) {
output = new File(project.buildDir, "windows")
windows = true
}
sdk {
common(mac, linux) {
item("$buildDefaultEmulator.output/lib") {
into 'lib'
builtBy buildDefaultEmulator
}
item("$buildDefaultEmulator.output/emulator") {
executable true
builtBy buildDefaultEmulator
}
item("$buildDefaultEmulator.output/emulator-arm") {
executable true
builtBy buildDefaultEmulator
}
item("$buildDefaultEmulator.output/emulator64-arm") {
executable true
builtBy buildDefaultEmulator
}
item("$buildDefaultEmulator.output/emulator-mips") {
executable true
builtBy buildDefaultEmulator
}
item("$buildDefaultEmulator.output/emulator64-mips") {
executable true
builtBy buildDefaultEmulator
}
item("$buildDefaultEmulator.output/emulator-x86") {
executable true
builtBy buildDefaultEmulator
}
item("$buildDefaultEmulator.output/emulator64-x86") {
executable true
builtBy buildDefaultEmulator
}
}
windows {
item("$buildWindowsEmulator.output/lib") {
into 'lib'
builtBy buildWindowsEmulator
}
item("$buildWindowsEmulator.output/emulator.exe") {
builtBy buildWindowsEmulator
}
item("$buildWindowsEmulator.output/emulator-arm.exe") {
builtBy buildWindowsEmulator
}
item("$buildWindowsEmulator.output/emulator64-arm.exe") {
builtBy buildWindowsEmulator
}
item("$buildWindowsEmulator.output/emulator-mips.exe") {
builtBy buildWindowsEmulator
}
item("$buildWindowsEmulator.output/emulator64-mips.exe") {
builtBy buildWindowsEmulator
}
item("$buildWindowsEmulator.output/emulator-x86.exe") {
builtBy buildWindowsEmulator
}
item("$buildWindowsEmulator.output/emulator64-x86.exe") {
builtBy buildWindowsEmulator
}
}
}