Home | History | Annotate | Download | only in product
      1 #
      2 # Copyright (C) 2013 The Android Open Source Project
      3 #
      4 # Licensed under the Apache License, Version 2.0 (the "License");
      5 # you may not use this file except in compliance with the License.
      6 # You may obtain a copy of the License at
      7 #
      8 #      http://www.apache.org/licenses/LICENSE-2.0
      9 #
     10 # Unless required by applicable law or agreed to in writing, software
     11 # distributed under the License is distributed on an "AS IS" BASIS,
     12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 # See the License for the specific language governing permissions and
     14 # limitations under the License.
     15 #
     16 # Tiny configuration for small devices such as wearables. Includes base and embedded.
     17 # No telephony
     18 
     19 PRODUCT_PACKAGES := \
     20     Bluetooth \
     21     CalendarProvider \
     22     ContactsProvider \
     23     CertInstaller \
     24     FusedLocation \
     25     InputDevices
     26 
     27 PRODUCT_PACKAGES += \
     28     clatd \
     29     clatd.conf \
     30     pppd
     31 
     32 PRODUCT_PACKAGES += \
     33     audio.primary.default \
     34     local_time.default \
     35     power.default
     36 
     37 PRODUCT_PACKAGES += \
     38     BackupRestoreConfirmation \
     39     CtsShimPrebuilt \
     40     CtsShimPrivPrebuilt \
     41     DefaultContainerService \
     42     ExtShared \
     43     ExtServices \
     44     SecureElement \
     45     SettingsProvider \
     46     Shell \
     47     WallpaperBackup \
     48     android.hidl.base-V1.0-java \
     49     android.hidl.manager-V1.0-java \
     50     bcc \
     51     bu \
     52     com.android.location.provider \
     53     com.android.location.provider.xml \
     54     framework-res \
     55     installd \
     56     ims-common \
     57     ip \
     58     ip-up-vpn \
     59     ip6tables \
     60     iptables \
     61     gatekeeperd \
     62     keystore \
     63     ld.config.txt \
     64     ld.mc \
     65     libaaudio \
     66     libOpenMAXAL \
     67     libOpenSLES \
     68     libdownmix \
     69     libfilterfw \
     70     libgatekeeper \
     71     libkeystore \
     72     libwilhelm \
     73     libdrmframework_jni \
     74     libdrmframework \
     75     mke2fs \
     76     e2fsck \
     77     resize2fs \
     78     tune2fs \
     79     screencap \
     80     sensorservice \
     81     uiautomator \
     82     uncrypt \
     83     telephony-common \
     84     voip-common \
     85     logd \
     86 
     87 # Wifi modules
     88 PRODUCT_PACKAGES += \
     89     wifi-service \
     90     wificond \
     91 
     92 ifeq ($(TARGET_CORE_JARS),)
     93 $(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable)
     94 endif
     95 
     96 # The order matters
     97 PRODUCT_BOOT_JARS := \
     98     $(TARGET_CORE_JARS) \
     99     ext \
    100     framework \
    101     telephony-common \
    102     voip-common \
    103     ims-common \
    104     android.hidl.base-V1.0-java \
    105     android.hidl.manager-V1.0-java
    106 
    107 ifeq ($(REMOVE_OAHL_FROM_BCP),true)
    108 PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility
    109 else
    110 PRODUCT_BOOT_JARS += org.apache.http.legacy.boot
    111 endif
    112 
    113 ifeq ($(REMOVE_ATB_FROM_BCP),true)
    114 PRODUCT_BOOT_JARS += framework-atb-backward-compatibility
    115 else
    116 PRODUCT_BOOT_JARS += android.test.base
    117 endif
    118 
    119 # The order of PRODUCT_SYSTEM_SERVER_JARS matters.
    120 PRODUCT_SYSTEM_SERVER_JARS := \
    121     services \
    122     wifi-service
    123 
    124 # The set of packages whose code can be loaded by the system server.
    125 PRODUCT_SYSTEM_SERVER_APPS += \
    126     FusedLocation \
    127     InputDevices \
    128     SettingsProvider \
    129     WallpaperBackup \
    130 
    131 # The set of packages we want to force 'speed' compilation on.
    132 PRODUCT_DEXPREOPT_SPEED_APPS := \
    133 
    134 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
    135     ro.zygote=zygote32
    136 PRODUCT_COPY_FILES += \
    137     system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
    138 
    139 PRODUCT_PROPERTY_OVERRIDES += \
    140     ro.carrier=unknown
    141 
    142 $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
    143 $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
    144 $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
    145 $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
    146 
    147 # Overrides
    148 PRODUCT_BRAND := tiny
    149 PRODUCT_DEVICE := tiny
    150 PRODUCT_NAME := core_tiny
    151