blob: e46cfedf1306d6ce2b370453227012bf4a4982f2 [file] [log] [blame]
Keun young Parkfd9f8bc2012-06-04 10:47:31 -07001# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Common configurations for mini_XXX lunch targets
16# This is mainly for creating small system image during early development stage.
17
18PRODUCT_BRAND := mini
19PRODUCT_DEVICE := mini
20PRODUCT_NAME := mini
21
22# add all configurations
23PRODUCT_AAPT_CONFIG := normal ldpi mdpi hdpi xhdpi xxhdpi
24PRODUCT_AAPT_PREF_CONFIG := hdpi
25
26# en_US only
27PRODUCT_LOCALES := en_US
28
29# dummy definitions to use += in later parts
30PRODUCT_PROPERTY_OVERRIDES :=
31PRODUCT_COPY_FILES :=
32
33
34# for CtsVerifier
35PRODUCT_PACKAGES += \
36 com.android.future.usb.accessory
37
38# It does not mean that all features are supproted, but only for meeting
39# configuration requirements for some CTS
40PRODUCT_COPY_FILES += \
41 frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
42 frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
43 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
44 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
45 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
46 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
47
48#----------------- originally from core.mk ----------------
49
50PRODUCT_PROPERTY_OVERRIDES += \
51 ro.config.notification_sound=OnTheHunt.ogg \
52 ro.config.alarm_alert=Alarm_Classic.ogg
53
54PRODUCT_PACKAGES += \
55 ApplicationsProvider \
56 ContactsProvider \
57 DefaultContainerService \
58 DownloadProvider \
59 DownloadProviderUi \
60 MediaProvider \
61 PackageInstaller \
62 SettingsProvider \
63 TelephonyProvider \
64 UserDictionaryProvider \
Shih-wei Liaob09d26a2012-07-27 18:04:07 -070065 abcc \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070066 apache-xml \
67 bouncycastle \
68 bu \
69 cacerts \
70 com.android.location.provider \
71 com.android.location.provider.xml \
72 core \
73 core-junit \
74 dalvikvm \
75 dexdeps \
76 dexdump \
77 dexlist \
78 dexopt \
79 dmtracedump \
80 drmserver \
81 dx \
82 ext \
83 framework-res \
84 hprof-conv \
85 icu.dat \
86 installd \
87 ip \
88 ip-up-vpn \
89 ip6tables \
90 iptables \
91 keystore \
92 keystore.default \
93 libandroidfw \
94 libOpenMAXAL \
95 libOpenSLES \
96 libaudiopreprocessing \
97 libaudioutils \
Shih-wei Liaob09d26a2012-07-27 18:04:07 -070098 libbcc \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070099 libcrypto \
100 libdownmix \
101 libdvm \
102 libdrmframework \
103 libdrmframework_jni \
104 libexpat \
105 libfilterfw \
106 libfilterpack_imageproc \
107 libgabi++ \
108 libicui18n \
109 libicuuc \
110 libjavacore \
111 libkeystore \
112 libmdnssd \
113 libnativehelper \
114 libnfc_ndef \
Shih-wei Liaob09d26a2012-07-27 18:04:07 -0700115 libportable \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700116 libpowermanager \
117 libspeexresampler \
118 libsqlite_jni \
119 libssl \
120 libstagefright_soft_aacdec \
121 libstagefright_soft_aacenc \
122 libstagefright_soft_amrdec \
123 libstagefright_soft_amrnbenc \
124 libstagefright_soft_amrwbenc \
125 libstagefright_soft_flacenc \
126 libstagefright_soft_g711dec \
127 libstagefright_soft_h264dec \
128 libstagefright_soft_h264enc \
129 libstagefright_soft_mp3dec \
130 libstagefright_soft_mpeg4dec \
131 libstagefright_soft_mpeg4enc \
132 libstagefright_soft_vorbisdec \
133 libstagefright_soft_vpxdec \
134 libstagefright_soft_rawdec \
135 libvariablespeed \
136 libwebrtc_audio_preprocessing \
137 libwilhelm \
138 libz \
139 mdnsd \
140 requestsync \
141 screencap \
142 sensorservice \
143 lint
144
145PRODUCT_COPY_FILES += \
146 system/core/rootdir/init.usb.rc:root/init.usb.rc \
147
148#----------------- originally from generic_no_telephony.mk ----------------
149
150PRODUCT_PACKAGES += \
151 Bluetooth \
152 InputDevices \
153 LatinIME \
154 Launcher2 \
155 Phone \
156 Provision \
157 Settings \
158 SystemUI \
159 hostapd \
160 wpa_supplicant.conf
161
162
163PRODUCT_PACKAGES += \
164 icu.dat
165
166PRODUCT_PACKAGES += \
167 librs_jni \
168 libvideoeditor_jni \
169 libvideoeditor_core \
170 libvideoeditor_osal \
171 libvideoeditor_videofilters \
172 libvideoeditorplayer \
173
174PRODUCT_PACKAGES += \
175 audio.primary.default \
176 audio_policy.default \
177 local_time.default \
178 power.default
179
180PRODUCT_PACKAGES += \
181 local_time.default
182
183PRODUCT_COPY_FILES += \
184 system/bluetooth/data/audio.conf:system/etc/bluetooth/audio.conf \
185 system/bluetooth/data/auto_pairing.conf:system/etc/bluetooth/auto_pairing.conf \
186 system/bluetooth/data/blacklist.conf:system/etc/bluetooth/blacklist.conf \
187 system/bluetooth/data/input.conf:system/etc/bluetooth/input.conf \
188 system/bluetooth/data/network.conf:system/etc/bluetooth/network.conf \
189 frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
190
191PRODUCT_PROPERTY_OVERRIDES += \
192 ro.carrier=unknown
193
194#----------------- originally from full_base.mk ----------------
195
196PRODUCT_PACKAGES += \
197 drmserver \
198 libdrmframework \
199 libdrmframework_jni
200
201
202# Additional settings used in all AOSP builds
203PRODUCT_PROPERTY_OVERRIDES += \
204 ro.com.android.dateformat=MM-dd-yyyy \
205 ro.config.ringtone=Ring_Synth_04.ogg \
206 ro.config.notification_sound=pixiedust.ogg
207
208$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
209$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
210$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk)
Keun young Parkfb1951e2012-07-16 12:15:54 -0700211
212#----------------- For PDK ------------------------------
213PRODUCT_PACKAGES += \
214 TestingCamera