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