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