1 # Copyright (C) 2012 The Android Open Source Project
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 # Common configurations for mini_XXX lunch targets
16 # This is mainly for creating small system image during early development stage.
19 PRODUCT_DEVICE := mini
22 # add all configurations
23 PRODUCT_AAPT_CONFIG := normal ldpi mdpi hdpi xhdpi xxhdpi
24 PRODUCT_AAPT_PREF_CONFIG := hdpi
27 PRODUCT_LOCALES := en_US
29 # dummy definitions to use += in later parts
30 PRODUCT_PROPERTY_OVERRIDES :=
36 com.android.future.usb.accessory
38 # It does not mean that all features are supproted, but only for meeting
39 # configuration requirements for some CTS
40 PRODUCT_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
48 #----------------- originally from core.mk ----------------
50 PRODUCT_PROPERTY_OVERRIDES += \
51 ro.config.notification_sound=OnTheHunt.ogg \
52 ro.config.alarm_alert=Alarm_Classic.ogg
54 # Please keep this list sorted alphabetically
56 ApplicationsProvider \
58 DefaultContainerService \
66 UserDictionaryProvider \
73 com.android.location.provider \
74 com.android.location.provider.xml \
99 libaudiopreprocessing \
106 libdrmframework_jni \
109 libfilterpack_imageproc \
124 libstagefright_chromium_http \
125 libstagefright_soft_aacdec \
126 libstagefright_soft_aacenc \
127 libstagefright_soft_amrdec \
128 libstagefright_soft_amrnbenc \
129 libstagefright_soft_amrwbenc \
130 libstagefright_soft_flacenc \
131 libstagefright_soft_g711dec \
132 libstagefright_soft_gsmdec \
133 libstagefright_soft_h264dec \
134 libstagefright_soft_h264enc \
135 libstagefright_soft_mp3dec \
136 libstagefright_soft_mpeg4dec \
137 libstagefright_soft_mpeg4enc \
138 libstagefright_soft_vorbisdec \
139 libstagefright_soft_vpxdec \
140 libstagefright_soft_rawdec \
142 libwebrtc_audio_preprocessing \
158 PRODUCT_COPY_FILES += \
159 system/core/rootdir/init.usb.rc:root/init.usb.rc \
161 #----------------- originally from generic_no_telephony.mk ----------------
163 PRODUCT_PACKAGES += \
174 PRODUCT_PACKAGES += \
177 PRODUCT_PACKAGES += \
180 libvideoeditor_core \
181 libvideoeditor_osal \
182 libvideoeditor_videofilters \
183 libvideoeditorplayer \
185 PRODUCT_PACKAGES += \
186 audio.primary.default \
187 audio_policy.default \
191 PRODUCT_PACKAGES += \
194 PRODUCT_COPY_FILES += \
195 frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
197 PRODUCT_PROPERTY_OVERRIDES += \
200 #----------------- originally from full_base.mk ----------------
202 PRODUCT_PACKAGES += \
205 libdrmframework_jni \
209 # Additional settings used in all AOSP builds
210 PRODUCT_PROPERTY_OVERRIDES += \
211 ro.com.android.dateformat=MM-dd-yyyy \
212 ro.config.ringtone=Ring_Synth_04.ogg \
213 ro.config.notification_sound=pixiedust.ogg
215 $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
216 $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
217 $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
218 $(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk)
220 #----------------- For PDK ------------------------------
221 PRODUCT_PACKAGES += \
226 libsurfaceflinger_ddmconnection
228 # This is not necessary for mini, but is for mini-emulator as it should
229 # be included in platform.zip
230 PRODUCT_PACKAGES += camera.goldfish.jpeg