Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2018 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 | # This makefile contains the system partition contents for |
| 18 | # media-capable devices (non-wearables). Only add something |
| 19 | # here if it definitely doesn't belong on wearables. Otherwise, |
| 20 | # choose base_system.mk. |
| 21 | $(call inherit-product, $(SRC_TARGET_DIR)/product/base_system.mk) |
| 22 | |
| 23 | PRODUCT_PACKAGES += \ |
| 24 | com.android.future.usb.accessory \ |
| 25 | com.android.mediadrm.signer \ |
| 26 | com.android.media.remotedisplay \ |
| 27 | com.android.media.remotedisplay.xml \ |
| 28 | CompanionDeviceManager \ |
| 29 | drmserver \ |
| 30 | ethernet-service \ |
| 31 | fsck.f2fs \ |
| 32 | HTMLViewer \ |
| 33 | libfilterpack_imageproc \ |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 34 | libwebviewchromium_loader \ |
| 35 | libwebviewchromium_plat_support \ |
| 36 | make_f2fs \ |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 37 | requestsync \ |
| 38 | StatementService \ |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 39 | |
Dan Willemsen | 4a70a19 | 2019-02-22 23:06:03 +0000 | [diff] [blame] | 40 | PRODUCT_HOST_PACKAGES += \ |
| 41 | fsck.f2fs \ |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 42 | |
| 43 | PRODUCT_COPY_FILES += \ |
| 44 | frameworks/native/data/etc/android.software.webview.xml:system/etc/permissions/android.software.webview.xml |
| 45 | |
| 46 | ifneq (REL,$(PLATFORM_VERSION_CODENAME)) |
| 47 | PRODUCT_COPY_FILES += \ |
| 48 | frameworks/native/data/etc/android.software.preview_sdk.xml:system/etc/permissions/android.software.preview_sdk.xml |
| 49 | endif |
| 50 | |
| 51 | # The order here is the same order they end up on the classpath, so it matters. |
| 52 | PRODUCT_SYSTEM_SERVER_JARS := \ |
Ulya Trafimovich | db08860 | 2020-03-17 12:34:55 +0000 | [diff] [blame] | 53 | com.android.location.provider \ |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 54 | services \ |
Dmitri Plotnikov | b99d94f | 2020-05-04 16:58:37 -0700 | [diff] [blame] | 55 | ethernet-service |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 56 | |
Roshan Pius | d6e239f | 2019-11-22 08:47:40 -0800 | [diff] [blame] | 57 | # system server jars which are updated via apex modules. |
| 58 | # The values should be of the format <apex name>:<jar name> |
| 59 | PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS := \ |
Chris Wailes | ea8111c | 2021-02-18 13:41:57 -0800 | [diff] [blame^] | 60 | com.android.art:service-art \ |
Sravan Kumar Reddy Kallu | 0457d2f | 2020-01-21 22:31:00 +0000 | [diff] [blame] | 61 | com.android.permission:service-permission \ |
Roshan Pius | d6e239f | 2019-11-22 08:47:40 -0800 | [diff] [blame] | 62 | |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 63 | PRODUCT_COPY_FILES += \ |
| 64 | system/core/rootdir/etc/public.libraries.android.txt:system/etc/public.libraries.txt |
| 65 | |
| 66 | # Enable boot.oat filtering of compiled classes to reduce boot.oat size. b/28026683 |
| 67 | PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 68 | frameworks/base/config/compiled-classes-phone:system/etc/compiled-classes) |
| 69 | |
| 70 | # Enable dirty image object binning to reduce dirty pages in the image. |
| 71 | PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 72 | frameworks/base/dirty-image-objects-phone:system/etc/dirty-image-objects) |
| 73 | |
| 74 | # On userdebug builds, collect more tombstones by default. |
| 75 | ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) |
Jiyong Park | 1ea01c5 | 2020-05-29 17:50:03 +0900 | [diff] [blame] | 76 | PRODUCT_VENDOR_PROPERTIES += \ |
Jiyong Park | 7b933fb | 2020-06-22 20:15:55 +0900 | [diff] [blame] | 77 | tombstoned.max_tombstone_count?=50 |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 78 | endif |
| 79 | |
Jiyong Park | 1ea01c5 | 2020-05-29 17:50:03 +0900 | [diff] [blame] | 80 | PRODUCT_VENDOR_PROPERTIES += \ |
Anton Hansson | c16e2b2 | 2018-07-10 16:42:17 +0100 | [diff] [blame] | 81 | ro.logd.size.stats=64K \ |
| 82 | log.tag.stats_log=I |
| 83 | |
| 84 | # Enable CFI for security-sensitive components |
| 85 | $(call inherit-product, $(SRC_TARGET_DIR)/product/cfi-common.mk) |
| 86 | $(call inherit-product-if-exists, vendor/google/products/cfi-vendor.mk) |