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