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