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