blob: 851ae8a427aefc1f3161a691c05581c7db1316e1 [file] [log] [blame]
Anton Hanssond8062b22018-07-10 17:25:52 +01001#
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)
Santiago Etchebehere92b6ebe2019-01-08 14:45:10 -080027$(call inherit-product-if-exists, external/google-fonts/source-sans-pro/fonts.mk)
Anton Hanssond8062b22018-07-10 17:25:52 +010028$(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
29$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
Seigo Nonaka12604502023-05-29 17:49:20 +090030$(call inherit-product-if-exists, external/roboto-flex-fonts/fonts.mk)
Anton Hanssond8062b22018-07-10 17:25:52 +010031$(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 BasicDreams \
37 BlockedNumberProvider \
Anton Hanssond8062b22018-07-10 17:25:52 +010038 BluetoothMidiService \
39 BookmarkProvider \
Anton Hanssond8062b22018-07-10 17:25:52 +010040 BuiltInPrintService \
Anton Hanssond8062b22018-07-10 17:25:52 +010041 CalendarProvider \
Patrik Fimml6936e122018-11-21 15:39:13 +010042 cameraserver \
Emilian Peev780b8042020-11-17 17:26:16 -080043 CameraExtensionsProxy \
Anton Hanssond8062b22018-07-10 17:25:52 +010044 CaptivePortalLogin \
45 CertInstaller \
Helen Qin4ea16962022-09-26 20:59:01 +000046 CredentialManager \
Avichal Rakesh68923b32023-05-10 14:55:19 -070047 DeviceAsWebcam \
Paul Lawrencecb962772024-03-13 08:49:57 -070048 DeviceDiagnostics \
Anton Hanssond8062b22018-07-10 17:25:52 +010049 DocumentsUI \
50 DownloadProviderUi \
51 EasterEgg \
Anton Hanssond8062b22018-07-10 17:25:52 +010052 ExternalStorageProvider \
53 FusedLocation \
Anton Hanssond8062b22018-07-10 17:25:52 +010054 InputDevices \
55 KeyChain \
Anton Hanssond8062b22018-07-10 17:25:52 +010056 librs_jni \
57 ManagedProvisioning \
58 MmsService \
Jeff Sharkey82df41f2019-08-09 11:02:20 -060059 MtpService \
Anton Hanssond8062b22018-07-10 17:25:52 +010060 MusicFX \
Anton Hanssond8062b22018-07-10 17:25:52 +010061 PacProcessor \
Cynthia Wasonga3001ead2022-11-10 23:39:47 +000062 preinstalled-packages-platform-handheld-system.xml \
Anton Hanssondca5c962019-01-25 11:14:47 +000063 PrintRecommendationService \
Anton Hanssond8062b22018-07-10 17:25:52 +010064 PrintSpooler \
Anton Hanssond8062b22018-07-10 17:25:52 +010065 ProxyHandler \
Anton Hanssond8062b22018-07-10 17:25:52 +010066 screenrecord \
67 SecureElement \
Anton Hanssond8062b22018-07-10 17:25:52 +010068 SharedStorageBackup \
69 SimAppDialog \
Anton Hanssond8062b22018-07-10 17:25:52 +010070 Telecom \
71 TelephonyProvider \
72 TeleService \
73 Traceur \
74 UserDictionaryProvider \
75 VpnDialogs \
76 vr \
Anton Hanssond8062b22018-07-10 17:25:52 +010077
Jan Sebechlebsky8deb7712023-11-22 19:29:32 +010078PRODUCT_PACKAGES += $(RELEASE_PACKAGE_VIRTUAL_CAMERA)
Jan Sebechlebsky939e8d62024-01-16 17:13:54 +010079# Set virtual_camera_service_enabled soong config variable based on the
80# RELEASE_PACKAGE_VIRTUAL_CAMERA build. virtual_camera_service_enabled soong config
81# variable is used to prevent accessing the service when it's not present in the build.
82$(call soong_config_set,vdm,virtual_camera_service_enabled,$(if $(RELEASE_PACKAGE_VIRTUAL_CAMERA),true,false))
Anton Hanssond8062b22018-07-10 17:25:52 +010083
84PRODUCT_SYSTEM_SERVER_APPS += \
85 FusedLocation \
86 InputDevices \
87 KeyChain \
88 Telecom \
89
90PRODUCT_COPY_FILES += \
Shunkai Yao995cfae2023-05-04 18:39:59 +000091 frameworks/av/media/libeffects/data/audio_effects.xml:system/etc/audio_effects.xml \
ryanlwlinfe635da2022-08-30 20:13:15 +080092 frameworks/native/data/etc/android.software.window_magnification.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.window_magnification.xml \
Anton Hanssond8062b22018-07-10 17:25:52 +010093
Jiyong Parkad810b62020-05-29 17:50:03 +090094PRODUCT_VENDOR_PROPERTIES += \
Jiyong Parkdfb39372020-06-22 20:15:55 +090095 ro.carrier?=unknown \
96 ro.config.notification_sound?=OnTheHunt.ogg \
97 ro.config.alarm_alert?=Alarm_Classic.ogg