blob: a1f6317e4173463e99a28a3e090919a32c40b9fb [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
Joe Onoratoc7d6f1c2012-07-23 18:20:07 -070054# Please keep this list sorted alphabetically
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070055PRODUCT_PACKAGES += \
56 ApplicationsProvider \
57 ContactsProvider \
58 DefaultContainerService \
59 DownloadProvider \
60 DownloadProviderUi \
61 MediaProvider \
62 PackageInstaller \
63 SettingsProvider \
Dianne Hackborn1f986812013-02-11 15:36:26 -080064 Shell \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070065 TelephonyProvider \
66 UserDictionaryProvider \
Shih-wei Liaob09d26a2012-07-27 18:04:07 -070067 abcc \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070068 apache-xml \
Joe Onoratoc7d6f1c2012-07-23 18:20:07 -070069 audio \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070070 bouncycastle \
71 bu \
72 cacerts \
73 com.android.location.provider \
74 com.android.location.provider.xml \
Kenny Rootdfaf3842013-04-29 13:25:29 -070075 conscrypt \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070076 core \
77 core-junit \
78 dalvikvm \
79 dexdeps \
80 dexdump \
81 dexlist \
82 dexopt \
83 dmtracedump \
84 drmserver \
85 dx \
86 ext \
87 framework-res \
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 Liaob09d26a2012-07-27 18:04:07 -0700102 libbcc \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700103 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 Liaob09d26a2012-07-27 18:04:07 -0700119 libportable \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700120 libpowermanager \
121 libspeexresampler \
122 libsqlite_jni \
123 libssl \
Keun young Parkf15a11c2012-08-10 16:59:54 -0700124 libstagefright \
125 libstagefright_chromium_http \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700126 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 \
Marco Nelissen8af41152012-11-15 16:22:39 -0800133 libstagefright_soft_gsmdec \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700134 libstagefright_soft_h264dec \
135 libstagefright_soft_h264enc \
136 libstagefright_soft_mp3dec \
137 libstagefright_soft_mpeg4dec \
138 libstagefright_soft_mpeg4enc \
139 libstagefright_soft_vorbisdec \
140 libstagefright_soft_vpxdec \
141 libstagefright_soft_rawdec \
142 libvariablespeed \
143 libwebrtc_audio_preprocessing \
144 libwilhelm \
145 libz \
146 mdnsd \
Joe Onoratoc7d6f1c2012-07-23 18:20:07 -0700147 network \
jwilson190dde02013-03-30 09:00:01 -0400148 okhttp \
Joe Onoratoc7d6f1c2012-07-23 18:20:07 -0700149 pand \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700150 requestsync \
151 screencap \
Joe Onoratoc7d6f1c2012-07-23 18:20:07 -0700152 sdptool \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700153 sensorservice \
Keun young Parkadd52712012-08-01 15:02:35 -0700154 lint \
155 telephony-common \
Wink Saville554a0ad2013-01-28 15:30:58 -0800156 voip-common \
Keun young Parkadd52712012-08-01 15:02:35 -0700157 mms-common
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700158
159PRODUCT_COPY_FILES += \
160 system/core/rootdir/init.usb.rc:root/init.usb.rc \
161
162#----------------- originally from generic_no_telephony.mk ----------------
163
164PRODUCT_PACKAGES += \
165 Bluetooth \
Keun young Park81821822012-08-15 11:32:23 -0700166 FusedLocation \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700167 InputDevices \
168 LatinIME \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700169 Phone \
170 Provision \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700171 hostapd \
172 wpa_supplicant.conf
173
174
175PRODUCT_PACKAGES += \
176 icu.dat
177
178PRODUCT_PACKAGES += \
179 librs_jni \
180 libvideoeditor_jni \
181 libvideoeditor_core \
182 libvideoeditor_osal \
183 libvideoeditor_videofilters \
184 libvideoeditorplayer \
185
186PRODUCT_PACKAGES += \
187 audio.primary.default \
188 audio_policy.default \
189 local_time.default \
190 power.default
191
192PRODUCT_PACKAGES += \
193 local_time.default
194
195PRODUCT_COPY_FILES += \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700196 frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
197
198PRODUCT_PROPERTY_OVERRIDES += \
199 ro.carrier=unknown
200
201#----------------- originally from full_base.mk ----------------
202
203PRODUCT_PACKAGES += \
204 drmserver \
205 libdrmframework \
Keun young Park81821822012-08-15 11:32:23 -0700206 libdrmframework_jni \
207 WAPPushManager
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700208
209
210# Additional settings used in all AOSP builds
211PRODUCT_PROPERTY_OVERRIDES += \
212 ro.com.android.dateformat=MM-dd-yyyy \
213 ro.config.ringtone=Ring_Synth_04.ogg \
214 ro.config.notification_sound=pixiedust.ogg
215
Joe Onoratoc7d6f1c2012-07-23 18:20:07 -0700216$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700217$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
218$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
219$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk)
Keun young Parkfb1951e2012-07-16 12:15:54 -0700220
221#----------------- For PDK ------------------------------
222PRODUCT_PACKAGES += \
Keun young Park14b61da2012-08-20 13:17:53 -0700223 TestingCamera \
224 Home \
Keun young Parkd4f8d5e2012-11-27 10:52:14 -0800225 SystemUI \
226 Settings \
Keun young Park59254f12012-08-31 10:00:53 -0700227 libsurfaceflinger_ddmconnection
Keun young Park14b61da2012-08-20 13:17:53 -0700228
keunyoungd9b0e802013-03-12 16:28:37 -0700229# This is not necessary for mini, but is for mini-emulator as it should
230# be included in platform.zip
231PRODUCT_PACKAGES += camera.goldfish.jpeg
232