• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
23PRODUCT_PACKAGES += \
24    android.software.webview.prebuilt.xml \
25    com.android.future.usb.accessory \
26    com.android.mediadrm.signer \
27    com.android.media.remotedisplay \
28    com.android.media.remotedisplay.xml \
29    CompanionDeviceManager \
30    drmserver \
31    fsck.f2fs \
32    HTMLViewer \
33    libfilterpack_imageproc \
34    libwebviewchromium_loader \
35    libwebviewchromium_plat_support \
36    make_f2fs \
37    requestsync \
38
39PRODUCT_HOST_PACKAGES += \
40    fsck.f2fs \
41
42ifneq (REL,$(PLATFORM_VERSION_CODENAME))
43PRODUCT_PACKAGES += \
44    android.software.preview_sdk.prebuilt.xml
45endif
46
47# The order here is the same order they end up on the classpath, so it matters.
48PRODUCT_SYSTEM_SERVER_JARS := \
49    com.android.location.provider \
50    services
51
52PRODUCT_COPY_FILES += \
53    system/core/rootdir/etc/public.libraries.android.txt:system/etc/public.libraries.txt
54
55# Enable boot.oat filtering of compiled classes to reduce boot.oat size. b/28026683
56PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
57    frameworks/base/config/compiled-classes-phone:system/etc/compiled-classes)
58
59# On userdebug builds, collect more tombstones by default.
60ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
61PRODUCT_VENDOR_PROPERTIES += \
62    tombstoned.max_tombstone_count?=50
63endif
64
65PRODUCT_VENDOR_PROPERTIES += \
66    ro.logd.size.stats=64K \
67    log.tag.stats_log=I
68
69# Enable CFI for security-sensitive components
70$(call inherit-product, $(SRC_TARGET_DIR)/product/cfi-common.mk)
71$(call inherit-product-if-exists, vendor/google/products/cfi-vendor.mk)
72
73# Enable MTE for security-sensitive components
74$(call inherit-product, $(SRC_TARGET_DIR)/product/memtag-common.mk)
75$(call inherit-product-if-exists, vendor/google/products/memtag-vendor.mk)
76