sdk.mk revision 8da3a02c1f3e9fb3f44509c3903fc9468d2577cb
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/sounds/AllAudio.mk)
94$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
95$(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
96$(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
97$(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
98$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
99$(call inherit-product-if-exists, external/naver-fonts/fonts.mk)
100$(call inherit-product-if-exists, external/sil-fonts/fonts.mk)
101$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
102$(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
103$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
104
105# Overrides
106PRODUCT_BRAND := generic
107PRODUCT_NAME := sdk
108PRODUCT_DEVICE := generic
109
110# locale + densities. en_US is both first and in alphabetical order to
111# ensure this is the default locale.
112PRODUCT_LOCALES = \
113	en_US \
114	ldpi \
115	hdpi \
116	mdpi \
117	xhdpi \
118	ar_EG \
119	ar_IL \
120	bg_BG \
121	ca_ES \
122	cs_CZ \
123	da_DK \
124	de_AT \
125	de_CH \
126	de_DE \
127	de_LI \
128	el_GR \
129	en_AU \
130	en_CA \
131	en_GB \
132	en_IE \
133	en_IN \
134	en_NZ \
135	en_SG \
136	en_US \
137	en_ZA \
138	es_ES \
139	es_US \
140	fi_FI \
141	fr_BE \
142	fr_CA \
143	fr_CH \
144	fr_FR \
145	he_IL \
146	hi_IN \
147	hr_HR \
148	hu_HU \
149	id_ID \
150	it_CH \
151	it_IT \
152	ja_JP \
153	ko_KR \
154	lt_LT \
155	lv_LV \
156	nb_NO \
157	nl_BE \
158	nl_NL \
159	pl_PL \
160	pt_BR \
161	pt_PT \
162	ro_RO \
163	ru_RU \
164	sk_SK \
165	sl_SI \
166	sr_RS \
167	sv_SE \
168	th_TH \
169	tl_PH \
170	tr_TR \
171	uk_UA \
172	vi_VN \
173	zh_CN \
174	zh_TW
175
176# include available languages for TTS in the system image
177-include external/svox/pico/lang/PicoLangDeDeInSystem.mk
178-include external/svox/pico/lang/PicoLangEnGBInSystem.mk
179-include external/svox/pico/lang/PicoLangEnUsInSystem.mk
180-include external/svox/pico/lang/PicoLangEsEsInSystem.mk
181-include external/svox/pico/lang/PicoLangFrFrInSystem.mk
182-include external/svox/pico/lang/PicoLangItItInSystem.mk
183