sdk.mk revision 37773821f150778c48ef3519407d8ee71dd66a30
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	CalendarProvider \
59	Calendar \
60	SmokeTest \
61	SmokeTestApp \
62	EmulatorSmokeTests \
63	rild \
64	LegacyCamera \
65	Dialer
66
67
68
69# Define the host tools and libs that are parts of the SDK.
70-include sdk/build/product_sdk.mk
71-include development/build/product_sdk.mk
72
73# audio libraries.
74PRODUCT_PACKAGES += \
75	audio.primary.goldfish \
76	audio_policy.default \
77	local_time.default
78
79PRODUCT_PACKAGE_OVERLAYS := development/sdk_overlay
80
81PRODUCT_COPY_FILES := \
82	device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
83	frameworks/base/data/sounds/effects/camera_click.ogg:system/media/audio/ui/camera_click.ogg \
84	frameworks/base/data/sounds/effects/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg \
85	frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
86	device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \
87	device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml \
88	frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
89	frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
90	frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
91	hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf
92
93include $(SRC_TARGET_DIR)/product/emulator.mk
94
95$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
96$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
97$(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
98$(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
99$(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
100$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
101$(call inherit-product-if-exists, external/naver-fonts/fonts.mk)
102$(call inherit-product-if-exists, external/sil-fonts/fonts.mk)
103$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
104$(call inherit-product-if-exists, frameworks/webview/chromium/chromium.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