17859e2e7SPaul Lawrenceapply plugin: 'sdk-files'
27859e2e7SPaul Lawrence
37859e2e7SPaul Lawrencesdk {
47859e2e7SPaul Lawrence    common {
57859e2e7SPaul Lawrence        item('files/tools_source.properties') {
67859e2e7SPaul Lawrence            name 'source.properties'
77859e2e7SPaul Lawrence            notice null
87859e2e7SPaul Lawrence        }
97859e2e7SPaul Lawrence        item('files/plugin.prop') {
107859e2e7SPaul Lawrence            into 'lib'
117859e2e7SPaul Lawrence            notice null
127859e2e7SPaul Lawrence        }
137859e2e7SPaul Lawrence
147859e2e7SPaul Lawrence        item('emulator/snapshot/snapshots.img') {
157859e2e7SPaul Lawrence            into 'lib/emulator'
167859e2e7SPaul Lawrence            notice 'emulator/NOTICE'
177859e2e7SPaul Lawrence        }
187859e2e7SPaul Lawrence        item('emulator/skins/dynamic') {
197859e2e7SPaul Lawrence            into 'lib/emulator/skins/dynamic'
207859e2e7SPaul Lawrence            notice 'emulator/NOTICE'
217859e2e7SPaul Lawrence        }
227859e2e7SPaul Lawrence
237859e2e7SPaul Lawrence        item('templates/build.template') {
247859e2e7SPaul Lawrence            into 'lib'
257859e2e7SPaul Lawrence            notice 'templates/NOTICE'
267859e2e7SPaul Lawrence        }
277859e2e7SPaul Lawrence        item('templates/uibuild.template') {
287859e2e7SPaul Lawrence            into 'lib'
297859e2e7SPaul Lawrence            notice 'templates/NOTICE'
307859e2e7SPaul Lawrence        }
317859e2e7SPaul Lawrence        item('templates/build_gradle.template') {
327859e2e7SPaul Lawrence            into 'lib'
337859e2e7SPaul Lawrence            notice 'templates/NOTICE'
347859e2e7SPaul Lawrence        }
357859e2e7SPaul Lawrence
367859e2e7SPaul Lawrence        item('files/ant') {
377859e2e7SPaul Lawrence            into 'ant'
387859e2e7SPaul Lawrence            notice 'files/ant/NOTICE'
397859e2e7SPaul Lawrence        }
407859e2e7SPaul Lawrence        item('files/proguard-project.txt') {
417859e2e7SPaul Lawrence            into 'lib'
427859e2e7SPaul Lawrence            notice null
437859e2e7SPaul Lawrence        }
447859e2e7SPaul Lawrence        item('files/proguard-project.txt') {
457859e2e7SPaul Lawrence            into 'proguard'
467859e2e7SPaul Lawrence            notice null
477859e2e7SPaul Lawrence        }
487859e2e7SPaul Lawrence        item('files/proguard-android.txt') {
497859e2e7SPaul Lawrence            into 'proguard'
507859e2e7SPaul Lawrence            notice null
517859e2e7SPaul Lawrence        }
527859e2e7SPaul Lawrence        item('files/proguard-android-optimize.txt') {
537859e2e7SPaul Lawrence            into 'proguard'
547859e2e7SPaul Lawrence            notice null
557859e2e7SPaul Lawrence        }
567859e2e7SPaul Lawrence
577859e2e7SPaul Lawrence        item('files/devices.xml') {
587859e2e7SPaul Lawrence            into 'lib'
597859e2e7SPaul Lawrence            notice 'files/NOTICE'
607859e2e7SPaul Lawrence        }
617859e2e7SPaul Lawrence        item('files/android.el') {
627859e2e7SPaul Lawrence            into 'lib'
637859e2e7SPaul Lawrence            notice 'files/NOTICE'
647859e2e7SPaul Lawrence        }
657859e2e7SPaul Lawrence
667859e2e7SPaul Lawrence        item('apps/SdkController') {
677859e2e7SPaul Lawrence            into 'apps/SdkController'
687859e2e7SPaul Lawrence            notice 'apps/SdkController/NOTICE'
697859e2e7SPaul Lawrence        }
707859e2e7SPaul Lawrence
717859e2e7SPaul Lawrence        item('files/typos') {
727859e2e7SPaul Lawrence            into 'support'
737859e2e7SPaul Lawrence            notice 'files/NOTICE'
747859e2e7SPaul Lawrence        }
757859e2e7SPaul Lawrence
767859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/qemu-kernel/x86/pc-bios/bios.bin") {
777859e2e7SPaul Lawrence            into 'lib/pc-bios'
787859e2e7SPaul Lawrence            notice null
797859e2e7SPaul Lawrence        }
807859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/qemu-kernel/x86/pc-bios/vgabios-cirrus.bin") {
817859e2e7SPaul Lawrence            into 'lib/pc-bios'
827859e2e7SPaul Lawrence            notice null
837859e2e7SPaul Lawrence        }
847859e2e7SPaul Lawrence
857859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/license.html") {
867859e2e7SPaul Lawrence            into 'proguard'
877859e2e7SPaul Lawrence            notice null
887859e2e7SPaul Lawrence        }
897859e2e7SPaul Lawrence
907859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/README") {
917859e2e7SPaul Lawrence            into 'proguard'
927859e2e7SPaul Lawrence            notice null
937859e2e7SPaul Lawrence        }
947859e2e7SPaul Lawrence
957859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/docs") {
967859e2e7SPaul Lawrence            into 'proguard/docs'
977859e2e7SPaul Lawrence            notice null
987859e2e7SPaul Lawrence        }
997859e2e7SPaul Lawrence
1007859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/examples") {
1017859e2e7SPaul Lawrence            into 'proguard/examples'
1027859e2e7SPaul Lawrence            notice null
1037859e2e7SPaul Lawrence        }
1047859e2e7SPaul Lawrence
1057859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/lib") {
1067859e2e7SPaul Lawrence            into 'proguard/lib'
1077859e2e7SPaul Lawrence            notice null
1087859e2e7SPaul Lawrence        }
1097859e2e7SPaul Lawrence
1107859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/src/proguard/ant/task.properties") {
1117859e2e7SPaul Lawrence            into 'proguard/ant'
1127859e2e7SPaul Lawrence            notice null
1137859e2e7SPaul Lawrence        }
1147859e2e7SPaul Lawrence    }
1157859e2e7SPaul Lawrence
1167859e2e7SPaul Lawrence    common(mac, linux) {
1177859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/proguard.sh") {
1187859e2e7SPaul Lawrence            into 'proguard/bin'
1197859e2e7SPaul Lawrence            notice null
1207859e2e7SPaul Lawrence        }
1217859e2e7SPaul Lawrence
1227859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/proguardgui.sh") {
1237859e2e7SPaul Lawrence            into 'proguard/bin'
1247859e2e7SPaul Lawrence            notice null
1257859e2e7SPaul Lawrence        }
1267859e2e7SPaul Lawrence
1277859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/retrace.sh") {
1287859e2e7SPaul Lawrence            into 'proguard/bin'
1297859e2e7SPaul Lawrence            notice null
1307859e2e7SPaul Lawrence        }
1317859e2e7SPaul Lawrence    }
1327859e2e7SPaul Lawrence
1337859e2e7SPaul Lawrence    windows {
1347859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/proguard.bat") {
1357859e2e7SPaul Lawrence            into 'proguard/bin'
1367859e2e7SPaul Lawrence            notice null
1377859e2e7SPaul Lawrence        }
1387859e2e7SPaul Lawrence
1397859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/proguardgui.bat") {
1407859e2e7SPaul Lawrence            into 'proguard/bin'
1417859e2e7SPaul Lawrence            notice null
1427859e2e7SPaul Lawrence        }
1437859e2e7SPaul Lawrence
1447859e2e7SPaul Lawrence        item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/retrace.bat") {
1457859e2e7SPaul Lawrence            into 'proguard/bin'
1467859e2e7SPaul Lawrence            notice null
1477859e2e7SPaul Lawrence        }
1487859e2e7SPaul Lawrence    }
1497859e2e7SPaul Lawrence
1507859e2e7SPaul Lawrence}
151