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