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