1#
2# Copyright (C) 2007 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17#
18# These are the files that comprise that SDK.
19#
20# The files that will go in the tools folder are setup through
21#    sdk/build/tools.atree
22# This is to help when the sdk.git project is branched differently from
23# the other projects.
24#
25
26##############################################################################
27# SDK Root folder
28##############################################################################
29
30# the readme
31development/docs/SDK_RELEASE_NOTES RELEASE_NOTES.html
32
33# doc redirect
34frameworks/base/docs/docs-redirect.html documentation.html
35
36
37##############################################################################
38# Platform Tools Component
39##############################################################################
40
41sdk/files/sdk_files_NOTICE.txt                platform-tools/NOTICE.txt
42development/sdk/plat_tools_source.properties  platform-tools/source.properties
43
44# host tools from out/host/$(HOST_OS)-$(HOST_ARCH)/
45bin/adb                                 strip platform-tools/adb
46bin/fastboot                            strip platform-tools/fastboot
47
48# API database for tools such as lint
49development/sdk/api-versions.xml              platform-tools/api/api-versions.xml
50
51# systrace
52external/chromium-trace/systrace.py           platform-tools/systrace/systrace.py
53external/chromium-trace/systrace-legacy.py    platform-tools/systrace/systrace-legacy.py
54external/chromium-trace/script.js             platform-tools/systrace/script.js
55external/chromium-trace/style.css             platform-tools/systrace/style.css
56external/chromium-trace/prefix.html           platform-tools/systrace/prefix.html
57external/chromium-trace/suffix.html           platform-tools/systrace/suffix.html
58external/chromium-trace/LICENSE               platform-tools/systrace/LICENSE
59external/chromium-trace/AUTHORS               platform-tools/systrace/AUTHORS
60external/chromium-trace/NOTICE                platform-tools/systrace/NOTICE
61external/chromium-trace/UPSTREAM_REVISION     platform-tools/systrace/UPSTREAM_REVISION
62
63##############################################################################
64# Build Tools Component
65##############################################################################
66# Note that the build-tools sub-folder uses the platform-name as a placeholder
67# at build-time. Packaging will later change that to the actual build-tools
68# revision as specified in the source.properties.
69
70sdk/files/sdk_files_NOTICE.txt                 build-tools/${PLATFORM_NAME}/NOTICE.txt
71development/sdk/build_tools_source.properties  build-tools/${PLATFORM_NAME}/source.properties
72
73# build tools from out/host/$(HOST_OS)-$(HOST_ARCH)/
74bin/aapt                                strip build-tools/${PLATFORM_NAME}/aapt
75bin/aidl                                strip build-tools/${PLATFORM_NAME}/aidl
76
77# renderscript (cc + headers)
78bin/llvm-rs-cc                          strip build-tools/${PLATFORM_NAME}/llvm-rs-cc
79bin/bcc_compat                          strip build-tools/${PLATFORM_NAME}/bcc_compat
80frameworks/rs/scriptc                         build-tools/${PLATFORM_NAME}/renderscript/include
81external/clang/lib/Headers                    build-tools/${PLATFORM_NAME}/renderscript/clang-include
82external/clang/LICENSE.TXT                    build-tools/${PLATFORM_NAME}/renderscript/clang-include/LICENSE.TXT
83
84prebuilts/sdk/renderscript/lib/javalib.jar            build-tools/${PLATFORM_NAME}/renderscript/lib/renderscript-v8.jar
85prebuilts/sdk/renderscript/lib/arm/libclcore.bc       build-tools/${PLATFORM_NAME}/renderscript/lib/libclcore.bc
86
87prebuilts/sdk/renderscript/lib/arm/libc.so            build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/armeabi-v7a/libc.so
88prebuilts/sdk/renderscript/lib/arm/libm.so            build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/armeabi-v7a/libm.so
89prebuilts/sdk/renderscript/lib/arm/libcompiler_rt.a   build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/armeabi-v7a/libcompiler_rt.a
90prebuilts/sdk/renderscript/lib/arm/libRSSupport.so    build-tools/${PLATFORM_NAME}/renderscript/lib/packaged/armeabi-v7a/libRSSupport.so
91prebuilts/sdk/renderscript/lib/arm/librsjni.so        build-tools/${PLATFORM_NAME}/renderscript/lib/packaged/armeabi-v7a/librsjni.so
92
93prebuilts/sdk/renderscript/lib/mips/libc.so            build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/mips/libc.so
94prebuilts/sdk/renderscript/lib/mips/libm.so            build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/mips/libm.so
95prebuilts/sdk/renderscript/lib/mips/libcompiler_rt.a   build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/mips/libcompiler_rt.a
96prebuilts/sdk/renderscript/lib/mips/libRSSupport.so    build-tools/${PLATFORM_NAME}/renderscript/lib/packaged/mips/libRSSupport.so
97prebuilts/sdk/renderscript/lib/mips/librsjni.so        build-tools/${PLATFORM_NAME}/renderscript/lib/packaged/mips/librsjni.so
98
99prebuilts/sdk/renderscript/lib/x86/libc.so            build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/x86/libc.so
100prebuilts/sdk/renderscript/lib/x86/libm.so            build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/x86/libm.so
101prebuilts/sdk/renderscript/lib/x86/libcompiler_rt.a   build-tools/${PLATFORM_NAME}/renderscript/lib/intermediates/x86/libcompiler_rt.a
102prebuilts/sdk/renderscript/lib/x86/libRSSupport.so    build-tools/${PLATFORM_NAME}/renderscript/lib/packaged/x86/libRSSupport.so
103prebuilts/sdk/renderscript/lib/x86/librsjni.so        build-tools/${PLATFORM_NAME}/renderscript/lib/packaged/x86/librsjni.so
104
105
106
107# dx
108bin/dx                                        build-tools/${PLATFORM_NAME}/dx
109framework/dx.jar                              build-tools/${PLATFORM_NAME}/lib/dx.jar
110bin/dexdump                                   build-tools/${PLATFORM_NAME}/dexdump
111
112
113##############################################################################
114# Platform Component
115##############################################################################
116
117# version files for the SDK updater, from development.git
118${HOST_OUT}/development/sdk/platform_source.properties platforms/${PLATFORM_NAME}/source.properties
119
120# copy build prop from out/.../sdk/
121sdk/sdk-build.prop                            platforms/${PLATFORM_NAME}/build.prop
122
123# the uper-jar file that apps link against. This is the public API
124${OUT_DIR}/target/common/obj/PACKAGING/android_jar_intermediates/android.jar              platforms/${PLATFORM_NAME}/android.jar
125${OUT_DIR}/target/common/obj/JAVA_LIBRARIES/android_uiautomator_intermediates/javalib.jar platforms/${PLATFORM_NAME}/uiautomator.jar
126
127# the aidl precompiled include
128obj/framework.aidl platforms/${PLATFORM_NAME}/framework.aidl
129
130# emulator skins from sdk.git
131development/tools/emulator/skins/QVGA          platforms/${PLATFORM_NAME}/skins/QVGA
132development/tools/emulator/skins/WQVGA432      platforms/${PLATFORM_NAME}/skins/WQVGA432
133development/tools/emulator/skins/WQVGA400      platforms/${PLATFORM_NAME}/skins/WQVGA400
134development/tools/emulator/skins/HVGA          platforms/${PLATFORM_NAME}/skins/HVGA
135development/tools/emulator/skins/WVGA800       platforms/${PLATFORM_NAME}/skins/WVGA800
136development/tools/emulator/skins/WVGA854       platforms/${PLATFORM_NAME}/skins/WVGA854
137development/tools/emulator/skins/WSVGA         platforms/${PLATFORM_NAME}/skins/WSVGA
138development/tools/emulator/skins/WXGA720       platforms/${PLATFORM_NAME}/skins/WXGA720
139development/tools/emulator/skins/WXGA800       platforms/${PLATFORM_NAME}/skins/WXGA800
140development/tools/emulator/skins/WXGA800-7in   platforms/${PLATFORM_NAME}/skins/WXGA800-7in
141
142# Platform SDK properties
143development/sdk/sdk.properties                 platforms/${PLATFORM_NAME}/sdk.properties
144
145# sdk.git Ant templates for project files
146development/tools/templates/AndroidManifest.template        platforms/${PLATFORM_NAME}/templates/AndroidManifest.template
147development/tools/templates/AndroidManifest.tests.template  platforms/${PLATFORM_NAME}/templates/AndroidManifest.tests.template
148development/tools/templates/java_file.template              platforms/${PLATFORM_NAME}/templates/java_file.template
149development/tools/templates/java_tests_file.template        platforms/${PLATFORM_NAME}/templates/java_tests_file.template
150development/tools/templates/layout.template                 platforms/${PLATFORM_NAME}/templates/layout.template
151development/tools/templates/strings.template                platforms/${PLATFORM_NAME}/templates/strings.template
152development/tools/templates/ic_launcher_ldpi.png            platforms/${PLATFORM_NAME}/templates/ic_launcher_ldpi.png
153development/tools/templates/ic_launcher_mdpi.png            platforms/${PLATFORM_NAME}/templates/ic_launcher_mdpi.png
154development/tools/templates/ic_launcher_hdpi.png            platforms/${PLATFORM_NAME}/templates/ic_launcher_hdpi.png
155development/tools/templates/ic_launcher_xhdpi.png           platforms/${PLATFORM_NAME}/templates/ic_launcher_xhdpi.png
156
157# Eclipse Editors support
158framework/layoutlib.jar       platforms/${PLATFORM_NAME}/data/layoutlib.jar
159framework/icu4j.jar           platforms/${PLATFORM_NAME}/data/icu4j.jar
160frameworks/base/core/res/res  platforms/${PLATFORM_NAME}/data/res
161docs/activity_actions.txt     platforms/${PLATFORM_NAME}/data/activity_actions.txt
162docs/broadcast_actions.txt    platforms/${PLATFORM_NAME}/data/broadcast_actions.txt
163docs/service_actions.txt      platforms/${PLATFORM_NAME}/data/service_actions.txt
164docs/categories.txt           platforms/${PLATFORM_NAME}/data/categories.txt
165docs/widgets.txt              platforms/${PLATFORM_NAME}/data/widgets.txt
166docs/features.txt             platforms/${PLATFORM_NAME}/data/features.txt
167
168# fonts for layoutlib.
169frameworks/base/data/fonts    platforms/${PLATFORM_NAME}/data/fonts
170
171# NOTICE files are copied by build/core/Makefile from sdk.git
172sdk/files/sdk_files_NOTICE.txt platforms/${PLATFORM_NAME}/templates/NOTICE.txt
173sdk/files/sdk_files_NOTICE.txt platforms/${PLATFORM_NAME}/data/NOTICE.txt
174sdk/files/sdk_files_NOTICE.txt platforms/${PLATFORM_NAME}/skins/NOTICE.txt
175
176
177##############################################################################
178# System image Component
179##############################################################################
180
181# System images + Kernel
182system.img                                 system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/system.img
183ramdisk.img                                system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/ramdisk.img
184userdata.img                               system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/userdata.img
185system/build.prop                          system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/build.prop
186
187# Note: the kernel image is handled by sdk-android-<abi>.atree now.
188
189
190##############################################################################
191# Docs Component
192##############################################################################
193
194# version files for the SDK updater, from sdk.git
195${HOST_OUT}/development/sdk/doc_source.properties docs/source.properties
196
197# the docs
198docs/offline-sdk docs
199frameworks/base/docs/docs-samples-redirect.html docs/samples/index.html
200
201
202##############################################################################
203# Samples Component
204##############################################################################
205
206# samples to include in the sdk samples package
207#
208# the list here should match the list of samples that we generate docs for,
209# (see web_docs_sample_code_flags in frameworks/base/Android.mk)
210development/apps/GestureBuilder                samples/${PLATFORM_NAME}/legacy/GestureBuilder
211development/samples/samples_source.properties  samples/${PLATFORM_NAME}/source.properties
212#
213# PLEASE KEEP THE SAMPLES IN ALPHABETICAL ORDER.
214#
215
216# New sample tree
217# Note: Some samples reference a shared "common" directory. In the future
218# this will be copied in automatically via a templating system. For now,
219# we need to copy it in here as needed.
220developers/samples/android/connectivity        samples/${PLATFORM_NAME}/connectivity
221developers/samples/android/common              samples/${PLATFORM_NAME}/connectivity/sync/BasicSyncAdapter/BasicSyncAdapter/src/main/java/com/example/android/common
222developers/samples/android/content             samples/${PLATFORM_NAME}/content
223developers/samples/android/input               samples/${PLATFORM_NAME}/input
224developers/samples/android/media               samples/${PLATFORM_NAME}/media
225developers/samples/android/security            samples/${PLATFORM_NAME}/security
226developers/samples/android/testing             samples/${PLATFORM_NAME}/testing
227developers/samples/android/ui                  samples/${PLATFORM_NAME}/ui
228
229# Old sample tree
230development/samples/AccelerometerPlay          samples/${PLATFORM_NAME}/legacy/AccelerometerPlay
231development/samples/ActionBarCompat            samples/${PLATFORM_NAME}/legacy/ActionBarCompat
232development/samples/AndroidBeamDemo            samples/${PLATFORM_NAME}/legacy/AndroidBeamDemo
233development/samples/ApiDemos                   samples/${PLATFORM_NAME}/legacy/ApiDemos
234development/samples/AppNavigation              samples/${PLATFORM_NAME}/legacy/AppNavigation
235development/samples/BackupRestore              samples/${PLATFORM_NAME}/legacy/BackupRestore
236development/samples/BasicGLSurfaceView         samples/${PLATFORM_NAME}/legacy/BasicGLSurfaceView
237development/samples/BluetoothChat              samples/${PLATFORM_NAME}/legacy/BluetoothChat
238development/samples/BluetoothHDP               samples/${PLATFORM_NAME}/legacy/BluetoothHDP
239development/samples/ContactManager             samples/${PLATFORM_NAME}/legacy/ContactManager
240development/samples/CrossCompatibility         samples/${PLATFORM_NAME}/legacy/CrossCompatibility
241development/samples/CubeLiveWallpaper          samples/${PLATFORM_NAME}/legacy/CubeLiveWallpaper
242development/samples/HelloEffects               samples/${PLATFORM_NAME}/legacy/HelloEffects
243development/samples/Home                       samples/${PLATFORM_NAME}/legacy/Home
244development/samples/HoneycombGallery           samples/${PLATFORM_NAME}/legacy/HoneycombGallery
245development/samples/JetBoy                     samples/${PLATFORM_NAME}/legacy/JetBoy
246development/samples/KeyChainDemo               samples/${PLATFORM_NAME}/legacy/KeyChainDemo
247development/samples/LunarLander                samples/${PLATFORM_NAME}/legacy/LunarLander
248development/samples/MultiResolution            samples/${PLATFORM_NAME}/legacy/MultiResolution
249development/samples/NotePad                    samples/${PLATFORM_NAME}/legacy/NotePad
250development/samples/RandomMusicPlayer          samples/${PLATFORM_NAME}/legacy/RandomMusicPlayer
251development/samples/SpellChecker/SampleSpellCheckerService samples/${PLATFORM_NAME}/legacy/SpellChecker/SampleSpellCheckerService
252development/samples/SpellChecker/HelloSpellChecker         samples/${PLATFORM_NAME}/legacy/SpellChecker/HelloSpellChecker
253development/samples/SampleSyncAdapter          samples/${PLATFORM_NAME}/legacy/SampleSyncAdapter
254development/samples/SearchableDictionary       samples/${PLATFORM_NAME}/legacy/SearchableDictionary
255development/samples/SipDemo                    samples/${PLATFORM_NAME}/legacy/SipDemo
256development/samples/SkeletonApp                samples/${PLATFORM_NAME}/legacy/SkeletonApp
257development/samples/Snake                      samples/${PLATFORM_NAME}/legacy/Snake
258development/samples/SoftKeyboard               samples/${PLATFORM_NAME}/legacy/SoftKeyboard
259development/samples/Spinner                    samples/${PLATFORM_NAME}/legacy/Spinner
260development/samples/SpinnerTest                samples/${PLATFORM_NAME}/legacy/SpinnerTest
261development/samples/TicTacToeLib               samples/${PLATFORM_NAME}/legacy/TicTacToeLib
262development/samples/TicTacToeMain              samples/${PLATFORM_NAME}/legacy/TicTacToeMain
263development/samples/TtsEngine                  samples/${PLATFORM_NAME}/legacy/TtsEngine
264development/samples/ToyVpn                     samples/${PLATFORM_NAME}/legacy/ToyVpn
265development/samples/UiAutomator                samples/${PLATFORM_NAME}/legacy/UiAutomator
266development/samples/USB/MissileLauncher        samples/${PLATFORM_NAME}/legacy/USB/MissileLauncher
267development/samples/USB/AdbTest                samples/${PLATFORM_NAME}/legacy/USB/AdbTest
268development/samples/VoiceRecognitionService    samples/${PLATFORM_NAME}/legacy/VoiceRecognitionService
269development/samples/VoicemailProviderDemo      samples/${PLATFORM_NAME}/legacy/VoicemailProviderDemo
270development/samples/WeatherListWidget          samples/${PLATFORM_NAME}/legacy/WeatherListWidget
271development/apps/WidgetPreview                 samples/${PLATFORM_NAME}/legacy/WidgetPreview
272development/samples/WiFiDirectDemo             samples/${PLATFORM_NAME}/legacy/WiFiDirectDemo
273development/samples/WiFiDirectServiceDiscovery samples/${PLATFORM_NAME}/legacy/WiFiDirectServiceDiscovery
274development/samples/Wiktionary                 samples/${PLATFORM_NAME}/legacy/Wiktionary
275development/samples/WiktionarySimple           samples/${PLATFORM_NAME}/legacy/WiktionarySimple
276development/samples/XmlAdapters                samples/${PLATFORM_NAME}/legacy/XmlAdapters
277development/samples/RenderScript/HelloCompute  samples/${PLATFORM_NAME}/legacy/RenderScript/HelloCompute
278
279# NOTICE files are copied by build/core/Makefile from sdk.git
280sdk/files/sdk_files_NOTICE.txt                 samples/${PLATFORM_NAME}/NOTICE.txt
281
282##############################################################################
283# Add-on Folder
284##############################################################################
285
286# empty add-on folder with just a readme copied from sdk.git
287sdk/files/README_add-ons.txt add-ons/README.txt
288
289
290##############################################################################
291# Extra Component: Support
292##############################################################################
293
294development/sdk/support_source.properties                                                         extras/android/support/source.properties
295development/sdk/support_README.txt                                                                extras/android/support/README.txt
296sdk/files/sdk_files_NOTICE.txt                                                                    extras/android/support/NOTICE.txt
297
298${OUT_DIR}/target/common/obj/PACKAGING/android-support-v4_intermediates/android-support-v4.jar    extras/android/support/v4/android-support-v4.jar
299frameworks/support/v4                                                                             extras/android/support/v4/src
300development/samples/Support4Demos                                                                 extras/android/support/samples/Support4Demos
301development/samples/SupportAppNavigation                                                          extras/android/support/samples/SupportAppNavigation
302
303${OUT_DIR}/target/common/obj/PACKAGING/android-support-v13_intermediates/android-support-v13.jar  extras/android/support/v13/android-support-v13.jar
304frameworks/support/v13                                                                            extras/android/support/v13/src
305development/samples/Support13Demos                                                                extras/android/support/samples/Support13Demos
306
307frameworks/support/v7/gridlayout/README.txt                                                       extras/android/support/v7/gridlayout/README.txt
308frameworks/support/v7/gridlayout/.project                                                         extras/android/support/v7/gridlayout/.project
309frameworks/support/v7/gridlayout/.classpath                                                       extras/android/support/v7/gridlayout/.classpath
310frameworks/support/v7/gridlayout/AndroidManifest.xml                                              extras/android/support/v7/gridlayout/AndroidManifest.xml
311frameworks/support/v7/gridlayout/project.properties                                               extras/android/support/v7/gridlayout/project.properties
312frameworks/support/v7/gridlayout/res                                                              extras/android/support/v7/gridlayout/res
313frameworks/support/v7/gridlayout/src/.readme                                                      extras/android/support/v7/gridlayout/src/.readme
314${OUT_DIR}/target/common/obj/PACKAGING/android-support-v7-gridlayout_intermediates/android-support-v7-gridlayout.jar    extras/android/support/v7/gridlayout/libs/android-support-v7-gridlayout.jar
315
316frameworks/support/v7/appcompat/README.txt                                                        extras/android/support/v7/appcompat/README.txt
317frameworks/support/v7/appcompat/.project                                                          extras/android/support/v7/appcompat/.project
318frameworks/support/v7/appcompat/.classpath                                                        extras/android/support/v7/appcompat/.classpath
319frameworks/support/v7/appcompat/AndroidManifest.xml                                               extras/android/support/v7/appcompat/AndroidManifest.xml
320frameworks/support/v7/appcompat/project.properties                                                extras/android/support/v7/appcompat/project.properties
321frameworks/support/v7/appcompat/res                                                               extras/android/support/v7/appcompat/res
322frameworks/support/v7/appcompat/src/.readme                                                       extras/android/support/v7/appcompat/src/.readme
323${OUT_DIR}/target/common/obj/PACKAGING/android-support-v7-appcompat_intermediates/android-support-v7-appcompat.jar    extras/android/support/v7/appcompat/libs/android-support-v7-appcompat.jar
324${OUT_DIR}/target/common/obj/PACKAGING/android-support-v4_intermediates/android-support-v4.jar                        extras/android/support/v7/appcompat/libs/android-support-v4.jar
325
326frameworks/support/v7/mediarouter/README.txt                                                       extras/android/support/v7/mediarouter/README.txt
327frameworks/support/v7/mediarouter/.project                                                         extras/android/support/v7/mediarouter/.project
328frameworks/support/v7/mediarouter/.classpath                                                       extras/android/support/v7/mediarouter/.classpath
329frameworks/support/v7/mediarouter/AndroidManifest.xml                                              extras/android/support/v7/mediarouter/AndroidManifest.xml
330frameworks/support/v7/mediarouter/project.properties                                               extras/android/support/v7/mediarouter/project.properties
331frameworks/support/v7/mediarouter/res                                                              extras/android/support/v7/mediarouter/res
332frameworks/support/v7/mediarouter/src/.readme                                                      extras/android/support/v7/mediarouter/src/.readme
333${OUT_DIR}/target/common/obj/PACKAGING/android-support-v7-mediarouter_intermediates/android-support-v7-mediarouter.jar    extras/android/support/v7/mediarouter/libs/android-support-v7-mediarouter.jar
334
335development/samples/Support7Demos                                                                 extras/android/support/samples/Support7Demos
336
337##############################################################################
338# Tests Component
339##############################################################################
340framework/layoutlib-tests.jar tests/libtests/layoutlib-tests.jar
341system/app/ConnectivityTest.apk tests/emulator-test-apps/ConnectivityTest.apk
342system/app/GpsLocationTest.apk tests/emulator-test-apps/GpsLocationTest.apk
343
344