sdk.mk revision f173c6be579d0848b2d3ccd6791b2947b0a8d342
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	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
80PRODUCT_PACKAGE_OVERLAYS := development/sdk_overlay
81
82PRODUCT_COPY_FILES := \
83	device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
84	system/core/rootdir/etc/vold.fstab:system/etc/vold.fstab \
85	frameworks/base/data/sounds/effects/camera_click.ogg:system/media/audio/ui/camera_click.ogg \
86	frameworks/base/data/sounds/effects/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg \
87	frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
88	development/tools/emulator/system/camera/media_profiles.xml:system/etc/media_profiles.xml \
89	development/tools/emulator/system/camera/media_codecs.xml:system/etc/media_codecs.xml \
90	frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
91	frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
92	frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
93	hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
94
95$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
96$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
97$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
98
99# Overrides
100PRODUCT_BRAND := generic
101PRODUCT_NAME := sdk
102PRODUCT_DEVICE := generic
103
104# locale + densities. en_US is both first and in alphabetical order to
105# ensure this is the default locale.
106PRODUCT_LOCALES = \
107	en_US \
108	ldpi \
109	hdpi \
110	mdpi \
111	xhdpi \
112	ar_EG \
113	ar_IL \
114	bg_BG \
115	ca_ES \
116	cs_CZ \
117	da_DK \
118	de_AT \
119	de_CH \
120	de_DE \
121	de_LI \
122	el_GR \
123	en_AU \
124	en_CA \
125	en_GB \
126	en_IE \
127	en_IN \
128	en_NZ \
129	en_SG \
130	en_US \
131	en_ZA \
132	es_ES \
133	es_US \
134	fi_FI \
135	fr_BE \
136	fr_CA \
137	fr_CH \
138	fr_FR \
139	he_IL \
140	hi_IN \
141	hr_HR \
142	hu_HU \
143	id_ID \
144	it_CH \
145	it_IT \
146	ja_JP \
147	ko_KR \
148	lt_LT \
149	lv_LV \
150	nb_NO \
151	nl_BE \
152	nl_NL \
153	pl_PL \
154	pt_BR \
155	pt_PT \
156	ro_RO \
157	ru_RU \
158	sk_SK \
159	sl_SI \
160	sr_RS \
161	sv_SE \
162	th_TH \
163	tl_PH \
164	tr_TR \
165	uk_UA \
166	vi_VN \
167	zh_CN \
168	zh_TW
169
170# include available languages for TTS in the system image
171-include external/svox/pico/lang/PicoLangDeDeInSystem.mk
172-include external/svox/pico/lang/PicoLangEnGBInSystem.mk
173-include external/svox/pico/lang/PicoLangEnUsInSystem.mk
174-include external/svox/pico/lang/PicoLangEsEsInSystem.mk
175-include external/svox/pico/lang/PicoLangFrFrInSystem.mk
176-include external/svox/pico/lang/PicoLangItItInSystem.mk
177