1#
2# Copyright (C) 2022 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$(call inherit-product, $(SRC_TARGET_DIR)/product/base_system.mk)
18$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk)
19$(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk)
20$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
21$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
22$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
23$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
24$(call inherit-product-if-exists, vendor/google/security/adb/vendor_key.mk)
25
26PRODUCT_PACKAGES += \
27    BlockedNumberProvider \
28    Bluetooth \
29    CalendarProvider \
30    CertInstaller \
31    DownloadProvider \
32    fsck.f2fs \
33    FusedLocation \
34    InputDevices \
35    KeyChain \
36    librs_jni \
37    ManagedProvisioning \
38    MmsService \
39    $(RELEASE_PACKAGE_NFC_STACK) \
40    netutils-wrapper-1.0 \
41    screenrecord \
42    StatementService \
43    TelephonyProvider \
44    TeleService \
45    UserDictionaryProvider \
46    init.zygote32.rc \
47
48PRODUCT_HOST_PACKAGES += \
49    fsck.f2fs \
50
51PRODUCT_SYSTEM_SERVER_APPS += \
52    FusedLocation \
53    InputDevices \
54    KeyChain \
55    Telecom \
56
57PRODUCT_SYSTEM_SERVER_JARS += \
58    services \
59
60PRODUCT_COPY_FILES += \
61    system/core/rootdir/etc/public.libraries.wear.txt:system/etc/public.libraries.txt \
62
63PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
64
65PRODUCT_ENFORCE_RRO_TARGETS := *
66
67PRODUCT_BRAND := generic
68
69PRODUCT_SYSTEM_NAME := mainline
70PRODUCT_SYSTEM_BRAND := Android
71PRODUCT_SYSTEM_MANUFACTURER := Android
72PRODUCT_SYSTEM_MODEL := mainline
73PRODUCT_SYSTEM_DEVICE := generic
74