core_minimal.mk revision d987a11126e9c6d58cf02137971e424eb0a735da
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 17# Base configuration for most consumer android devices. Do not put 18# things that are specific to communication devices (phones, tables, 19# etc.) here -- for that, use core.mk. 20 21PRODUCT_BRAND := generic 22PRODUCT_DEVICE := generic 23PRODUCT_NAME := core 24 25PRODUCT_PACKAGES += \ 26 BackupRestoreConfirmation \ 27 CtsShimPrivPrebuilt \ 28 DownloadProvider \ 29 ExtShared \ 30 ExtServices \ 31 HTMLViewer \ 32 MediaProvider \ 33 PackageInstaller \ 34 SettingsProvider \ 35 Shell \ 36 StatementService \ 37 WallpaperBackup \ 38 bcc \ 39 bu \ 40 com.android.future.usb.accessory \ 41 com.android.location.provider \ 42 com.android.location.provider.xml \ 43 com.android.media.remotedisplay \ 44 com.android.media.remotedisplay.xml \ 45 com.android.mediadrm.signer \ 46 com.android.mediadrm.signer.xml \ 47 drmserver \ 48 ethernet-service \ 49 framework-res \ 50 idmap \ 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 libbcc \ 62 libOpenMAXAL \ 63 libOpenSLES \ 64 libdownmix \ 65 libdrmframework \ 66 libdrmframework_jni \ 67 libfilterfw \ 68 libkeystore \ 69 libgatekeeper \ 70 libwilhelm \ 71 logd \ 72 make_ext4fs \ 73 e2fsck \ 74 resize2fs \ 75 screencap \ 76 sensorservice \ 77 telephony-common \ 78 uiautomator \ 79 uncrypt \ 80 voip-common \ 81 webview \ 82 wifi-service 83 84PRODUCT_COPY_FILES += \ 85 frameworks/native/data/etc/android.software.webview.xml:system/etc/permissions/android.software.webview.xml 86 87# The order of PRODUCT_BOOT_JARS matters. 88PRODUCT_BOOT_JARS := \ 89 core-oj \ 90 core-libart \ 91 conscrypt \ 92 okhttp \ 93 core-junit \ 94 bouncycastle \ 95 ext \ 96 framework \ 97 telephony-common \ 98 voip-common \ 99 ims-common \ 100 apache-xml \ 101 org.apache.http.legacy.boot 102 103# The order of PRODUCT_SYSTEM_SERVER_JARS matters. 104PRODUCT_SYSTEM_SERVER_JARS := \ 105 services \ 106 ethernet-service \ 107 wifi-service 108 109# Adoptable external storage supports both ext4 and f2fs 110PRODUCT_PACKAGES += \ 111 e2fsck \ 112 make_ext4fs \ 113 fsck.f2fs \ 114 make_f2fs \ 115 116PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 117 ro.zygote=zygote32 118PRODUCT_COPY_FILES += \ 119 system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc 120 121PRODUCT_COPY_FILES += \ 122 system/core/rootdir/etc/public.libraries.android.txt:system/etc/public.libraries.txt 123 124# Different dexopt types for different package update/install times. 125# On eng builds, make "boot" reasons do pure JIT for faster turnaround. 126ifeq (eng,$(TARGET_BUILD_VARIANT)) 127 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 128 pm.dexopt.first-boot=verify-at-runtime \ 129 pm.dexopt.boot=verify-at-runtime 130else 131 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 132 pm.dexopt.first-boot=interpret-only \ 133 pm.dexopt.boot=verify-profile 134endif 135PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 136 pm.dexopt.install=interpret-only \ 137 pm.dexopt.bg-dexopt=speed-profile \ 138 pm.dexopt.ab-ota=speed-profile \ 139 pm.dexopt.nsys-library=speed \ 140 pm.dexopt.shared-apk=speed \ 141 pm.dexopt.forced-dexopt=speed 142 143$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) 144$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) 145