• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1apply plugin: 'sdk-files'
2
3sdk {
4    common {
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
12        }
13
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        }
22
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        }
35
36        item('files/ant') {
37            into 'ant'
38            notice 'files/ant/NOTICE'
39        }
40        item('files/proguard-project.txt') {
41            into 'lib'
42            notice null
43        }
44        item('files/proguard-project.txt') {
45            into 'proguard'
46            notice null
47        }
48        item('files/proguard-android.txt') {
49            into 'proguard'
50            notice null
51        }
52        item('files/proguard-android-optimize.txt') {
53            into 'proguard'
54            notice null
55        }
56
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        }
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
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) {
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        }
131    }
132
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'
146            notice null
147        }
148    }
149
150}
151