xref: /aosp_15_r20/build/make/target/product/handheld_system.mk (revision 9e94795a3d4ef5c1d47486f9a02bb378756cea8a)
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# a generic phone or tablet device. Only add something here if
19# it definitely doesn't belong on other types of devices (if it
20# does, use base_vendor.mk).
21$(call inherit-product, $(SRC_TARGET_DIR)/product/media_system.mk)
22$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
23$(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
24$(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
25$(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
26$(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk)
27$(call inherit-product-if-exists, external/google-fonts/source-sans-pro/fonts.mk)
28$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
29$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
30$(call inherit-product-if-exists, external/roboto-flex-fonts/fonts.mk)
31$(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk)
32$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
33$(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
34
35PRODUCT_PACKAGES += \
36    android.software.window_magnification.prebuilt.xml \
37    BasicDreams \
38    BlockedNumberProvider \
39    BluetoothMidiService \
40    BookmarkProvider \
41    BuiltInPrintService \
42    CalendarProvider \
43    cameraserver \
44    CameraExtensionsProxy \
45    CaptivePortalLogin \
46    CertInstaller \
47    CredentialManager \
48    DeviceAsWebcam \
49    DeviceDiagnostics \
50    DocumentsUI \
51    DownloadProviderUi \
52    EasterEgg \
53    ExternalStorageProvider \
54    FusedLocation \
55    InputDevices \
56    KeyChain \
57    librs_jni \
58    ManagedProvisioning \
59    MmsService \
60    MtpService \
61    MusicFX \
62    PacProcessor \
63    preinstalled-packages-platform-handheld-system.xml \
64    PrintRecommendationService \
65    PrintSpooler \
66    ProxyHandler \
67    screenrecord \
68    SecureElement \
69    SharedStorageBackup \
70    SimAppDialog \
71    Telecom \
72    TeleService \
73    Traceur \
74    UserDictionaryProvider \
75    VpnDialogs \
76    vr \
77
78# Choose the correct products based on HSUM status
79ifeq ($(PRODUCT_USE_HSUM),true)
80  PRODUCT_PACKAGES += TelephonyProviderHsum
81else
82  PRODUCT_PACKAGES += TelephonyProvider
83endif
84
85PRODUCT_PACKAGES += $(RELEASE_PACKAGE_VIRTUAL_CAMERA)
86# Set virtual_camera_service_enabled soong config variable based on the
87# RELEASE_PACKAGE_VIRTUAL_CAMERA build. virtual_camera_service_enabled soong config
88# variable is used to prevent accessing the service when it's not present in the build.
89$(call soong_config_set,vdm,virtual_camera_service_enabled,$(if $(RELEASE_PACKAGE_VIRTUAL_CAMERA),true,false))
90
91PRODUCT_SYSTEM_SERVER_APPS += \
92    FusedLocation \
93    InputDevices \
94    KeyChain \
95    Telecom \
96
97PRODUCT_PACKAGES += framework-audio_effects.xml
98
99PRODUCT_VENDOR_PROPERTIES += \
100    ro.carrier?=unknown \
101    ro.config.notification_sound?=OnTheHunt.ogg \
102    ro.config.alarm_alert?=Alarm_Classic.ogg
103