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