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