sdk.mk revision 92cd50c41611694281e40dad39a5bc316ef847d8
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
17PRODUCT_POLICY := android.policy_phone
18PRODUCT_PROPERTY_OVERRIDES :=
19
20PRODUCT_PACKAGES := \
21	Calculator \
22	DeskClock \
23	Exchange2 \
24	FusedLocation \
25	Gallery \
26	Music \
27	Mms \
28	OpenWnn \
29	libWnnEngDic \
30	libWnnJpnDic \
31	libwnndict \
32	Phone \
33	PinyinIME \
34	Protips \
35	SoftKeyboard \
36	SystemUI \
37	Launcher2 \
38	Development \
39	DrmProvider \
40	Fallback \
41	Settings \
42	SdkSetup \
43	CustomLocale \
44	sqlite3 \
45	InputDevices \
46	LatinIME \
47	CertInstaller \
48	LiveWallpapersPicker \
49	ApiDemos \
50	GestureBuilder \
51	CubeLiveWallpapers \
52	QuickSearchBox \
53	WidgetPreview \
54	monkeyrunner \
55	guavalib \
56	jsr305lib \
57	jython \
58	jsilver \
59	librs_jni \
60	ConnectivityTest \
61	GpsLocationTest \
62	CalendarProvider \
63	Calendar \
64	SmokeTest \
65	SmokeTestApp \
66	rild \
67	LegacyCamera
68
69
70# Define the host tools and libs that are parts of the SDK.
71-include sdk/build/product_sdk.mk
72-include development/build/product_sdk.mk
73
74# audio libraries.
75PRODUCT_PACKAGES += \
76	audio.primary.goldfish \
77	audio_policy.default \
78	local_time.default
79
80
81# Host tools.
82PRODUCT_PACKAGES += \
83	fastboot \
84	emulator-x86 \
85	emulator-arm \
86	emulator-mips \
87	emulator64-x86 \
88	emulator64-arm \
89	emulator64-mips \
90	libOpenglRender \
91	libGLES_CM_translator \
92	libGLES_V2_translator \
93	libEGL_translator \
94	lib64OpenglRender \
95	lib64GLES_CM_translator \
96	lib64GLES_V2_translator \
97	lib64EGL_translator \
98	hierarchyviewer2 \
99	emugen
100
101PRODUCT_PACKAGE_OVERLAYS := development/sdk_overlay
102
103PRODUCT_COPY_FILES := \
104	device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
105	system/core/rootdir/etc/vold.fstab:system/etc/vold.fstab \
106	frameworks/base/data/sounds/effects/camera_click.ogg:system/media/audio/ui/camera_click.ogg \
107	frameworks/base/data/sounds/effects/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg \
108	frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
109	development/tools/emulator/system/camera/media_profiles.xml:system/etc/media_profiles.xml \
110	development/tools/emulator/system/camera/media_codecs.xml:system/etc/media_codecs.xml \
111	frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
112	frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
113	frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
114	hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
115
116$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
117$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
118$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
119
120# Overrides
121PRODUCT_BRAND := generic
122PRODUCT_NAME := sdk
123PRODUCT_DEVICE := generic
124
125# locale + densities. en_US is both first and in alphabetical order to
126# ensure this is the default locale.
127PRODUCT_LOCALES = \
128	en_US \
129	ldpi \
130	hdpi \
131	mdpi \
132	xhdpi \
133	ar_EG \
134	ar_IL \
135	bg_BG \
136	ca_ES \
137	cs_CZ \
138	da_DK \
139	de_AT \
140	de_CH \
141	de_DE \
142	de_LI \
143	el_GR \
144	en_AU \
145	en_CA \
146	en_GB \
147	en_IE \
148	en_IN \
149	en_NZ \
150	en_SG \
151	en_US \
152	en_ZA \
153	es_ES \
154	es_US \
155	fi_FI \
156	fr_BE \
157	fr_CA \
158	fr_CH \
159	fr_FR \
160	he_IL \
161	hi_IN \
162	hr_HR \
163	hu_HU \
164	id_ID \
165	it_CH \
166	it_IT \
167	ja_JP \
168	ko_KR \
169	lt_LT \
170	lv_LV \
171	nb_NO \
172	nl_BE \
173	nl_NL \
174	pl_PL \
175	pt_BR \
176	pt_PT \
177	ro_RO \
178	ru_RU \
179	sk_SK \
180	sl_SI \
181	sr_RS \
182	sv_SE \
183	th_TH \
184	tl_PH \
185	tr_TR \
186	uk_UA \
187	vi_VN \
188	zh_CN \
189	zh_TW
190
191# include available languages for TTS in the system image
192-include external/svox/pico/lang/PicoLangDeDeInSystem.mk
193-include external/svox/pico/lang/PicoLangEnGBInSystem.mk
194-include external/svox/pico/lang/PicoLangEnUsInSystem.mk
195-include external/svox/pico/lang/PicoLangEsEsInSystem.mk
196-include external/svox/pico/lang/PicoLangFrFrInSystem.mk
197-include external/svox/pico/lang/PicoLangItItInSystem.mk
198