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