1# 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 54# Please keep this list sorted alphabetically 55PRODUCT_PACKAGES += \ 56 ApplicationsProvider \ 57 ContactsProvider \ 58 DefaultContainerService \ 59 DownloadProvider \ 60 DownloadProviderUi \ 61 MediaProvider \ 62 PackageInstaller \ 63 SettingsProvider \ 64 TelephonyProvider \ 65 UserDictionaryProvider \ 66 abcc \ 67 apache-xml \ 68 audio \ 69 bouncycastle \ 70 bu \ 71 cacerts \ 72 com.android.location.provider \ 73 com.android.location.provider.xml \ 74 core \ 75 core-junit \ 76 dalvikvm \ 77 dexdeps \ 78 dexdump \ 79 dexlist \ 80 dexopt \ 81 dmtracedump \ 82 drmserver \ 83 dx \ 84 ext \ 85 framework-res \ 86 hprof-conv \ 87 icu.dat \ 88 installd \ 89 ip \ 90 ip-up-vpn \ 91 ip6tables \ 92 iptables \ 93 keystore \ 94 keystore.default \ 95 libandroidfw \ 96 libOpenMAXAL \ 97 libOpenSLES \ 98 libaudiopreprocessing \ 99 libaudioutils \ 100 libbcc \ 101 libcrypto \ 102 libdownmix \ 103 libdvm \ 104 libdrmframework \ 105 libdrmframework_jni \ 106 libexpat \ 107 libfilterfw \ 108 libfilterpack_imageproc \ 109 libgabi++ \ 110 libicui18n \ 111 libicuuc \ 112 libjavacore \ 113 libkeystore \ 114 libmdnssd \ 115 libnativehelper \ 116 libnfc_ndef \ 117 libportable \ 118 libpowermanager \ 119 libspeexresampler \ 120 libsqlite_jni \ 121 libssl \ 122 libstagefright \ 123 libstagefright_chromium_http \ 124 libstagefright_soft_aacdec \ 125 libstagefright_soft_aacenc \ 126 libstagefright_soft_amrdec \ 127 libstagefright_soft_amrnbenc \ 128 libstagefright_soft_amrwbenc \ 129 libstagefright_soft_flacenc \ 130 libstagefright_soft_g711dec \ 131 libstagefright_soft_h264dec \ 132 libstagefright_soft_h264enc \ 133 libstagefright_soft_mp3dec \ 134 libstagefright_soft_mpeg4dec \ 135 libstagefright_soft_mpeg4enc \ 136 libstagefright_soft_vorbisdec \ 137 libstagefright_soft_vpxdec \ 138 libstagefright_soft_rawdec \ 139 libvariablespeed \ 140 libwebrtc_audio_preprocessing \ 141 libwilhelm \ 142 libz \ 143 lint \ 144 mdnsd \ 145 mms-common \ 146 network \ 147 pand \ 148 requestsync \ 149 screencap \ 150 sdptool \ 151 sensorservice \ 152 telephony-common \ 153 wpa_supplicant 154 155PRODUCT_COPY_FILES += \ 156 system/core/rootdir/init.usb.rc:root/init.usb.rc \ 157 158#----------------- originally from generic_no_telephony.mk ---------------- 159 160PRODUCT_PACKAGES += \ 161 Bluetooth \ 162 FusedLocation \ 163 InputDevices \ 164 LatinIME \ 165 Phone \ 166 Provision \ 167 hostapd \ 168 wpa_supplicant.conf 169 170 171PRODUCT_PACKAGES += \ 172 icu.dat 173 174PRODUCT_PACKAGES += \ 175 librs_jni \ 176 libvideoeditor_jni \ 177 libvideoeditor_core \ 178 libvideoeditor_osal \ 179 libvideoeditor_videofilters \ 180 libvideoeditorplayer \ 181 182PRODUCT_PACKAGES += \ 183 audio.primary.default \ 184 audio_policy.default \ 185 local_time.default \ 186 power.default 187 188PRODUCT_PACKAGES += \ 189 local_time.default 190 191PRODUCT_COPY_FILES += \ 192 frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf 193 194PRODUCT_PROPERTY_OVERRIDES += \ 195 ro.carrier=unknown 196 197#----------------- originally from full_base.mk ---------------- 198 199PRODUCT_PACKAGES += \ 200 drmserver \ 201 libdrmframework \ 202 libdrmframework_jni \ 203 WAPPushManager 204 205 206# Additional settings used in all AOSP builds 207PRODUCT_PROPERTY_OVERRIDES += \ 208 ro.com.android.dateformat=MM-dd-yyyy \ 209 ro.config.ringtone=Ring_Synth_04.ogg \ 210 ro.config.notification_sound=pixiedust.ogg 211 212$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) 213$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) 214$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) 215$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk) 216 217#----------------- For PDK ------------------------------ 218PRODUCT_PACKAGES += \ 219 TestingCamera \ 220 Home \ 221 SystemUI \ 222 Settings \ 223 libsurfaceflinger_ddmconnection 224 225