• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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# TODO(b/275113769): The 'wear' targets currently enforce that APEX files are flattened.
18# As riscv64 targets currently do not support this, this is a lazy-default-init that can
19# be overridden in target files. Once support is enabled, require the override.
20OVERRIDE_TARGET_FLATTEN_APEX ?= true
21
22$(call inherit-product, $(SRC_TARGET_DIR)/product/base_system.mk)
23$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk)
24$(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk)
25$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
26$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
27$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
28$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
29$(call inherit-product-if-exists, vendor/google/security/adb/vendor_key.mk)
30
31PRODUCT_PACKAGES += \
32    BlockedNumberProvider \
33    Bluetooth \
34    CalendarProvider \
35    CertInstaller \
36    DownloadProvider \
37    fsck.f2fs \
38    FusedLocation \
39    InputDevices \
40    KeyChain \
41    librs_jni \
42    ManagedProvisioning \
43    MmsService \
44    netutils-wrapper-1.0 \
45    screenrecord \
46    StatementService \
47    TelephonyProvider \
48    TeleService \
49    UserDictionaryProvider \
50
51PRODUCT_HOST_PACKAGES += \
52    fsck.f2fs \
53
54PRODUCT_SYSTEM_SERVER_APPS += \
55    FusedLocation \
56    InputDevices \
57    KeyChain \
58    Telecom \
59
60PRODUCT_SYSTEM_SERVER_JARS += \
61    services \
62
63PRODUCT_COPY_FILES += \
64    system/core/rootdir/etc/public.libraries.wear.txt:system/etc/public.libraries.txt \
65    system/core/rootdir/init.zygote32.rc:system/etc/init/hw/init.zygote32.rc \
66
67PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
68
69PRODUCT_ENFORCE_RRO_TARGETS := *
70
71PRODUCT_BRAND := generic
72
73PRODUCT_SYSTEM_NAME := mainline
74PRODUCT_SYSTEM_BRAND := Android
75PRODUCT_SYSTEM_MANUFACTURER := Android
76PRODUCT_SYSTEM_MODEL := mainline
77PRODUCT_SYSTEM_DEVICE := generic
78