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 21 PRODUCT_BRAND := generic 22 PRODUCT_DEVICE := generic 23 PRODUCT_NAME := core 24 25 PRODUCT_PACKAGES += \ 26 BackupRestoreConfirmation \ 27 CompanionDeviceManager \ 28 CtsShimPrebuilt \ 29 CtsShimPrivPrebuilt \ 30 DownloadProvider \ 31 ExtShared \ 32 ExtServices \ 33 HTMLViewer \ 34 MediaProvider \ 35 PackageInstaller \ 36 SettingsProvider \ 37 Shell \ 38 StatementService \ 39 WallpaperBackup \ 40 android.hidl.base-V1.0-java \ 41 android.hidl.manager-V1.0-java \ 42 bcc \ 43 bu \ 44 com.android.future.usb.accessory \ 45 com.android.location.provider \ 46 com.android.location.provider.xml \ 47 com.android.media.remotedisplay \ 48 com.android.media.remotedisplay.xml \ 49 com.android.mediadrm.signer \ 50 com.android.mediadrm.signer.xml \ 51 drmserver \ 52 ethernet-service \ 53 framework-res \ 54 idmap \ 55 installd \ 56 ims-common \ 57 ip \ 58 ip-up-vpn \ 59 ip6tables \ 60 iptables \ 61 gatekeeperd \ 62 keystore \ 63 keystore.default \ 64 ld.config.txt \ 65 ld.mc \ 66 libaaudio \ 67 libOpenMAXAL \ 68 libOpenSLES \ 69 libdownmix \ 70 libdrmframework \ 71 libdrmframework_jni \ 72 libfilterfw \ 73 libkeystore \ 74 libgatekeeper \ 75 libwebviewchromium_loader \ 76 libwebviewchromium_plat_support \ 77 libwilhelm \ 78 logd \ 79 make_ext4fs \ 80 e2fsck \ 81 resize2fs \ 82 tune2fs \ 83 screencap \ 84 sensorservice \ 85 telephony-common \ 86 uiautomator \ 87 uncrypt \ 88 voip-common \ 89 webview \ 90 webview_zygote \ 91 wifi-service 92 93 PRODUCT_COPY_FILES += \ 94 frameworks/native/data/etc/android.software.webview.xml:system/etc/permissions/android.software.webview.xml 95 96 ifneq (REL,$(PLATFORM_VERSION_CODENAME)) 97 PRODUCT_COPY_FILES += \ 98 frameworks/native/data/etc/android.software.preview_sdk.xml:system/etc/permissions/android.software.preview_sdk.xml 99 endif 100 101 # The order of PRODUCT_BOOT_JARS matters. 102 PRODUCT_BOOT_JARS := \ 103 core-oj \ 104 core-libart \ 105 conscrypt \ 106 okhttp \ 107 legacy-test \ 108 bouncycastle \ 109 ext \ 110 framework \ 111 telephony-common \ 112 voip-common \ 113 ims-common \ 114 apache-xml \ 115 org.apache.http.legacy.boot \ 116 android.hidl.base-V1.0-java \ 117 android.hidl.manager-V1.0-java 118 119 # The order of PRODUCT_SYSTEM_SERVER_JARS matters. 120 PRODUCT_SYSTEM_SERVER_JARS := \ 121 services \ 122 ethernet-service \ 123 wifi-service 124 125 # The set of packages whose code can be loaded by the system server. 126 PRODUCT_SYSTEM_SERVER_APPS += \ 127 SettingsProvider \ 128 WallpaperBackup 129 130 # Adoptable external storage supports both ext4 and f2fs 131 PRODUCT_PACKAGES += \ 132 e2fsck \ 133 make_ext4fs \ 134 fsck.f2fs \ 135 make_f2fs \ 136 137 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 138 ro.zygote=zygote32 139 PRODUCT_COPY_FILES += \ 140 system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc 141 142 PRODUCT_COPY_FILES += \ 143 system/core/rootdir/etc/public.libraries.android.txt:system/etc/public.libraries.txt 144 145 # Enable boot.oat filtering of compiled classes to reduce boot.oat size. b/28026683 146 PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ 147 frameworks/base/compiled-classes-phone:system/etc/compiled-classes) 148 149 $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) 150 $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) 151