Xavier Ducrohet | 29a76d6 | 2014-04-04 09:06:26 -0700 | [diff] [blame] | 1 | apply plugin: 'sdk-files' |
| 2 | |
| 3 | sdk { |
| 4 | common { |
Xavier Ducrohet | 806d60d | 2014-05-19 18:36:58 -0700 | [diff] [blame] | 5 | item('files/tools_source.properties') { |
| 6 | name 'source.properties' |
| 7 | notice null |
| 8 | } |
| 9 | item('files/plugin.prop') { |
| 10 | into 'lib' |
| 11 | notice null |
Xavier Ducrohet | 29a76d6 | 2014-04-04 09:06:26 -0700 | [diff] [blame] | 12 | } |
| 13 | |
Xavier Ducrohet | 806d60d | 2014-05-19 18:36:58 -0700 | [diff] [blame] | 14 | item('emulator/snapshot/snapshots.img') { |
| 15 | into 'lib/emulator' |
| 16 | notice 'emulator/NOTICE' |
| 17 | } |
| 18 | item('emulator/skins/dynamic') { |
| 19 | into 'lib/emulator/skins/dynamic' |
| 20 | notice 'emulator/NOTICE' |
| 21 | } |
Xavier Ducrohet | 29a76d6 | 2014-04-04 09:06:26 -0700 | [diff] [blame] | 22 | |
Xavier Ducrohet | 806d60d | 2014-05-19 18:36:58 -0700 | [diff] [blame] | 23 | item('templates/build.template') { |
| 24 | into 'lib' |
| 25 | notice 'templates/NOTICE' |
| 26 | } |
| 27 | item('templates/uibuild.template') { |
| 28 | into 'lib' |
| 29 | notice 'templates/NOTICE' |
| 30 | } |
| 31 | item('templates/build_gradle.template') { |
| 32 | into 'lib' |
| 33 | notice 'templates/NOTICE' |
| 34 | } |
Xavier Ducrohet | 29a76d6 | 2014-04-04 09:06:26 -0700 | [diff] [blame] | 35 | |
Xavier Ducrohet | 806d60d | 2014-05-19 18:36:58 -0700 | [diff] [blame] | 36 | item('files/ant') { |
| 37 | into 'ant' |
| 38 | notice 'files/ant/NOTICE' |
| 39 | } |
Xavier Ducrohet | dd044ae | 2014-06-17 19:12:10 -0700 | [diff] [blame] | 40 | item('files/proguard-project.txt') { |
| 41 | into 'lib' |
| 42 | notice null |
| 43 | } |
Xavier Ducrohet | 81e5790 | 2014-06-27 12:01:25 -0700 | [diff] [blame] | 44 | item('files/proguard-project.txt') { |
| 45 | into 'proguard' |
| 46 | notice null |
| 47 | } |
Siva Velusamy | 38f216f | 2014-07-01 08:44:19 -0700 | [diff] [blame] | 48 | item('files/proguard-android.txt') { |
| 49 | into 'proguard' |
| 50 | notice null |
| 51 | } |
Xavier Ducrohet | 81e5790 | 2014-06-27 12:01:25 -0700 | [diff] [blame] | 52 | item('files/proguard-android-optimize.txt') { |
| 53 | into 'proguard' |
| 54 | notice null |
| 55 | } |
Xavier Ducrohet | b7f2dcf | 2014-05-15 19:06:28 -0700 | [diff] [blame] | 56 | |
Xavier Ducrohet | 806d60d | 2014-05-19 18:36:58 -0700 | [diff] [blame] | 57 | item('files/devices.xml') { |
| 58 | into 'lib' |
| 59 | notice 'files/NOTICE' |
| 60 | } |
| 61 | item('files/android.el') { |
| 62 | into 'lib' |
| 63 | notice 'files/NOTICE' |
| 64 | } |
| 65 | |
| 66 | item('apps/SdkController') { |
| 67 | into 'apps/SdkController' |
| 68 | notice 'apps/SdkController/NOTICE' |
| 69 | } |
| 70 | |
| 71 | item('files/typos') { |
| 72 | into 'support' |
| 73 | notice 'files/NOTICE' |
| 74 | } |
| 75 | |
| 76 | item("$rootProject.projectDir.parentFile/prebuilts/qemu-kernel/x86/pc-bios/bios.bin") { |
| 77 | into 'lib/pc-bios' |
| 78 | notice null |
| 79 | } |
| 80 | item("$rootProject.projectDir.parentFile/prebuilts/qemu-kernel/x86/pc-bios/vgabios-cirrus.bin") { |
| 81 | into 'lib/pc-bios' |
| 82 | notice null |
| 83 | } |
Xavier Ducrohet | 81e5790 | 2014-06-27 12:01:25 -0700 | [diff] [blame] | 84 | |
| 85 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/license.html") { |
| 86 | into 'proguard' |
| 87 | notice null |
| 88 | } |
| 89 | |
| 90 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/README") { |
| 91 | into 'proguard' |
| 92 | notice null |
| 93 | } |
| 94 | |
| 95 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/docs") { |
| 96 | into 'proguard/docs' |
| 97 | notice null |
| 98 | } |
| 99 | |
| 100 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/examples") { |
| 101 | into 'proguard/examples' |
| 102 | notice null |
| 103 | } |
| 104 | |
| 105 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/lib") { |
| 106 | into 'proguard/lib' |
| 107 | notice null |
| 108 | } |
| 109 | |
Siva Velusamy | 38f216f | 2014-07-01 08:44:19 -0700 | [diff] [blame] | 110 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/src/proguard/ant/task.properties") { |
| 111 | into 'proguard/ant' |
| 112 | notice null |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | common(mac, linux) { |
Xavier Ducrohet | 81e5790 | 2014-06-27 12:01:25 -0700 | [diff] [blame] | 117 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/proguard.sh") { |
| 118 | into 'proguard/bin' |
| 119 | notice null |
| 120 | } |
| 121 | |
| 122 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/proguardgui.sh") { |
| 123 | into 'proguard/bin' |
| 124 | notice null |
| 125 | } |
| 126 | |
| 127 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/retrace.sh") { |
| 128 | into 'proguard/bin' |
| 129 | notice null |
| 130 | } |
Siva Velusamy | 38f216f | 2014-07-01 08:44:19 -0700 | [diff] [blame] | 131 | } |
Xavier Ducrohet | 81e5790 | 2014-06-27 12:01:25 -0700 | [diff] [blame] | 132 | |
Siva Velusamy | 38f216f | 2014-07-01 08:44:19 -0700 | [diff] [blame] | 133 | windows { |
| 134 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/proguard.bat") { |
| 135 | into 'proguard/bin' |
| 136 | notice null |
| 137 | } |
| 138 | |
| 139 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/proguardgui.bat") { |
| 140 | into 'proguard/bin' |
| 141 | notice null |
| 142 | } |
| 143 | |
| 144 | item("$rootProject.projectDir.parentFile/prebuilts/tools/common/proguard/proguard4.7/bin/retrace.bat") { |
| 145 | into 'proguard/bin' |
Xavier Ducrohet | 81e5790 | 2014-06-27 12:01:25 -0700 | [diff] [blame] | 146 | notice null |
| 147 | } |
Xavier Ducrohet | 29a76d6 | 2014-04-04 09:06:26 -0700 | [diff] [blame] | 148 | } |
| 149 | |
Siva Velusamy | 38f216f | 2014-07-01 08:44:19 -0700 | [diff] [blame] | 150 | } |