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