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 19PRODUCT_PACKAGES := \ 20 Bluetooth \ 21 CalendarProvider \ 22 ContactsProvider \ 23 CertInstaller \ 24 FusedLocation \ 25 InputDevices 26 27PRODUCT_PACKAGES += \ 28 clatd \ 29 clatd.conf \ 30 pppd 31 32PRODUCT_PACKAGES += \ 33 audio.primary.default \ 34 audio_policy.default \ 35 local_time.default \ 36 power.default 37 38PRODUCT_PACKAGES += \ 39 BackupRestoreConfirmation \ 40 CtsShimPrebuilt \ 41 CtsShimPrivPrebuilt \ 42 DefaultContainerService \ 43 ExtShared \ 44 ExtServices \ 45 SettingsProvider \ 46 Shell \ 47 WallpaperBackup \ 48 bcc \ 49 bu \ 50 com.android.location.provider \ 51 com.android.location.provider.xml \ 52 framework-res \ 53 installd \ 54 ims-common \ 55 ip \ 56 ip-up-vpn \ 57 ip6tables \ 58 iptables \ 59 gatekeeperd \ 60 keystore \ 61 keystore.default \ 62 ld.mc \ 63 libOpenMAXAL \ 64 libOpenSLES \ 65 libdownmix \ 66 libfilterfw \ 67 libgatekeeper \ 68 libkeystore \ 69 libwilhelm \ 70 libdrmframework_jni \ 71 libdrmframework \ 72 make_ext4fs \ 73 e2fsck \ 74 resize2fs \ 75 nullwebview \ 76 screencap \ 77 sensorservice \ 78 uiautomator \ 79 uncrypt \ 80 telephony-common \ 81 voip-common \ 82 logd \ 83 wifi-service 84 85# The order matters 86PRODUCT_BOOT_JARS := \ 87 core-oj \ 88 core-libart \ 89 conscrypt \ 90 okhttp \ 91 core-junit \ 92 bouncycastle \ 93 ext \ 94 framework \ 95 telephony-common \ 96 voip-common \ 97 ims-common \ 98 apache-xml \ 99 nullwebview \ 100 org.apache.http.legacy.boot 101 102# The order of PRODUCT_SYSTEM_SERVER_JARS matters. 103PRODUCT_SYSTEM_SERVER_JARS := \ 104 services \ 105 wifi-service 106 107PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 108 ro.zygote=zygote32 109PRODUCT_COPY_FILES += \ 110 system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc 111 112PRODUCT_PROPERTY_OVERRIDES += \ 113 ro.carrier=unknown 114 115# Different dexopt types for different package update/install times. 116# On eng builds, make "boot" reasons do pure JIT for faster turnaround. 117ifeq (eng,$(TARGET_BUILD_VARIANT)) 118 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 119 pm.dexopt.first-boot=verify-at-runtime \ 120 pm.dexopt.boot=verify-at-runtime 121else 122 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 123 pm.dexopt.first-boot=interpret-only \ 124 pm.dexopt.boot=verify-profile 125endif 126PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 127 pm.dexopt.install=interpret-only \ 128 pm.dexopt.bg-dexopt=speed-profile \ 129 pm.dexopt.ab-ota=speed-profile \ 130 pm.dexopt.nsys-library=speed \ 131 pm.dexopt.shared-apk=speed \ 132 pm.dexopt.forced-dexopt=speed \ 133 pm.dexopt.core-app=speed 134 135$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) 136$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) 137$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) 138$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) 139 140# Overrides 141PRODUCT_BRAND := tiny 142PRODUCT_DEVICE := tiny 143PRODUCT_NAME := core_tiny 144