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