Keun young Park | fd9f8bc | 2012-06-04 10:47:31 -0700 | [diff] [blame] | 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 | |
| 18 | PRODUCT_BRAND := mini |
| 19 | PRODUCT_DEVICE := mini |
| 20 | PRODUCT_NAME := mini |
| 21 | |
| 22 | # add all configurations |
| 23 | PRODUCT_AAPT_CONFIG := normal ldpi mdpi hdpi xhdpi xxhdpi |
| 24 | PRODUCT_AAPT_PREF_CONFIG := hdpi |
| 25 | |
| 26 | # en_US only |
| 27 | PRODUCT_LOCALES := en_US |
| 28 | |
| 29 | # dummy definitions to use += in later parts |
| 30 | PRODUCT_PROPERTY_OVERRIDES := |
| 31 | PRODUCT_COPY_FILES := |
| 32 | |
| 33 | |
| 34 | # for CtsVerifier |
| 35 | PRODUCT_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 |
| 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 |
| 47 | |
| 48 | #----------------- originally from core.mk ---------------- |
| 49 | |
| 50 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 51 | ro.config.notification_sound=OnTheHunt.ogg \ |
| 52 | ro.config.alarm_alert=Alarm_Classic.ogg |
| 53 | |
| 54 | PRODUCT_PACKAGES += \ |
| 55 | ApplicationsProvider \ |
| 56 | ContactsProvider \ |
| 57 | DefaultContainerService \ |
| 58 | DownloadProvider \ |
| 59 | DownloadProviderUi \ |
| 60 | MediaProvider \ |
| 61 | PackageInstaller \ |
| 62 | SettingsProvider \ |
| 63 | TelephonyProvider \ |
| 64 | UserDictionaryProvider \ |
| 65 | apache-xml \ |
| 66 | bouncycastle \ |
| 67 | bu \ |
| 68 | cacerts \ |
| 69 | com.android.location.provider \ |
| 70 | com.android.location.provider.xml \ |
| 71 | core \ |
| 72 | core-junit \ |
| 73 | dalvikvm \ |
| 74 | dexdeps \ |
| 75 | dexdump \ |
| 76 | dexlist \ |
| 77 | dexopt \ |
| 78 | dmtracedump \ |
| 79 | drmserver \ |
| 80 | dx \ |
| 81 | ext \ |
| 82 | framework-res \ |
| 83 | hprof-conv \ |
| 84 | icu.dat \ |
| 85 | installd \ |
| 86 | ip \ |
| 87 | ip-up-vpn \ |
| 88 | ip6tables \ |
| 89 | iptables \ |
| 90 | keystore \ |
| 91 | keystore.default \ |
| 92 | libandroidfw \ |
| 93 | libOpenMAXAL \ |
| 94 | libOpenSLES \ |
| 95 | libaudiopreprocessing \ |
| 96 | libaudioutils \ |
| 97 | libcrypto \ |
| 98 | libdownmix \ |
| 99 | libdvm \ |
| 100 | libdrmframework \ |
| 101 | libdrmframework_jni \ |
| 102 | libexpat \ |
| 103 | libfilterfw \ |
| 104 | libfilterpack_imageproc \ |
| 105 | libgabi++ \ |
| 106 | libicui18n \ |
| 107 | libicuuc \ |
| 108 | libjavacore \ |
| 109 | libkeystore \ |
| 110 | libmdnssd \ |
| 111 | libnativehelper \ |
| 112 | libnfc_ndef \ |
| 113 | libpowermanager \ |
| 114 | libspeexresampler \ |
| 115 | libsqlite_jni \ |
| 116 | libssl \ |
| 117 | libstagefright_soft_aacdec \ |
| 118 | libstagefright_soft_aacenc \ |
| 119 | libstagefright_soft_amrdec \ |
| 120 | libstagefright_soft_amrnbenc \ |
| 121 | libstagefright_soft_amrwbenc \ |
| 122 | libstagefright_soft_flacenc \ |
| 123 | libstagefright_soft_g711dec \ |
| 124 | libstagefright_soft_h264dec \ |
| 125 | libstagefright_soft_h264enc \ |
| 126 | libstagefright_soft_mp3dec \ |
| 127 | libstagefright_soft_mpeg4dec \ |
| 128 | libstagefright_soft_mpeg4enc \ |
| 129 | libstagefright_soft_vorbisdec \ |
| 130 | libstagefright_soft_vpxdec \ |
| 131 | libstagefright_soft_rawdec \ |
| 132 | libvariablespeed \ |
| 133 | libwebrtc_audio_preprocessing \ |
| 134 | libwilhelm \ |
| 135 | libz \ |
| 136 | mdnsd \ |
| 137 | requestsync \ |
| 138 | screencap \ |
| 139 | sensorservice \ |
| 140 | lint |
| 141 | |
| 142 | PRODUCT_COPY_FILES += \ |
| 143 | system/core/rootdir/init.usb.rc:root/init.usb.rc \ |
| 144 | |
| 145 | #----------------- originally from generic_no_telephony.mk ---------------- |
| 146 | |
| 147 | PRODUCT_PACKAGES += \ |
| 148 | Bluetooth \ |
| 149 | InputDevices \ |
| 150 | LatinIME \ |
| 151 | Launcher2 \ |
| 152 | Phone \ |
| 153 | Provision \ |
| 154 | Settings \ |
| 155 | SystemUI \ |
| 156 | hostapd \ |
| 157 | wpa_supplicant.conf |
| 158 | |
| 159 | |
| 160 | PRODUCT_PACKAGES += \ |
| 161 | icu.dat |
| 162 | |
| 163 | PRODUCT_PACKAGES += \ |
| 164 | librs_jni \ |
| 165 | libvideoeditor_jni \ |
| 166 | libvideoeditor_core \ |
| 167 | libvideoeditor_osal \ |
| 168 | libvideoeditor_videofilters \ |
| 169 | libvideoeditorplayer \ |
| 170 | |
| 171 | PRODUCT_PACKAGES += \ |
| 172 | audio.primary.default \ |
| 173 | audio_policy.default \ |
| 174 | local_time.default \ |
| 175 | power.default |
| 176 | |
| 177 | PRODUCT_PACKAGES += \ |
| 178 | local_time.default |
| 179 | |
| 180 | PRODUCT_COPY_FILES += \ |
| 181 | system/bluetooth/data/audio.conf:system/etc/bluetooth/audio.conf \ |
| 182 | system/bluetooth/data/auto_pairing.conf:system/etc/bluetooth/auto_pairing.conf \ |
| 183 | system/bluetooth/data/blacklist.conf:system/etc/bluetooth/blacklist.conf \ |
| 184 | system/bluetooth/data/input.conf:system/etc/bluetooth/input.conf \ |
| 185 | system/bluetooth/data/network.conf:system/etc/bluetooth/network.conf \ |
| 186 | frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf |
| 187 | |
| 188 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 189 | ro.carrier=unknown |
| 190 | |
| 191 | #----------------- originally from full_base.mk ---------------- |
| 192 | |
| 193 | PRODUCT_PACKAGES += \ |
| 194 | drmserver \ |
| 195 | libdrmframework \ |
| 196 | libdrmframework_jni |
| 197 | |
| 198 | |
| 199 | # Additional settings used in all AOSP builds |
| 200 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 201 | ro.com.android.dateformat=MM-dd-yyyy \ |
| 202 | ro.config.ringtone=Ring_Synth_04.ogg \ |
| 203 | ro.config.notification_sound=pixiedust.ogg |
| 204 | |
| 205 | $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) |
| 206 | $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) |
| 207 | $(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk) |