blob: 121650326efb189fbe803a2ef197b98f309321a3 [file] [log] [blame]
#
# Copyright (C) 2022-2023 The LeafOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
## Apps
PRODUCT_PACKAGES += \
GoogleCalendarSyncAdapter \
GoogleContactsSyncAdapter \
GoogleRestorePrebuilt \
GoogleServicesFramework \
PartnerSetupPrebuilt \
Phonesky \
PrebuiltGmsCore \
SetupWizardPrebuilt \
Velvet \
WellbeingPrebuilt
## FS Verity
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*.der,vendor/gapps/etc/security/fsverity,$(TARGET_COPY_OUT_PRODUCT)/etc/security/fsverity)
## GMS version
PRODUCT_PRODUCT_PROPERTIES += \
ro.com.google.gmsversion=14_202310 \
ro.opa.eligible_device?=true
## Libraries
PRODUCT_PACKAGES += \
com.google.android.dialer.support
## Overlays
PRODUCT_PACKAGES += \
GmsOverlay \
GmsSettingsProviderOverlay \
GmsSetupWizardOverlay
## Permissions
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*.xml,vendor/gapps/etc/default-permissions,$(TARGET_COPY_OUT_PRODUCT)/etc/default-permissions) \
$(call find-copy-subdir-files,*.xml,vendor/gapps/etc/permissions/product,$(TARGET_COPY_OUT_PRODUCT)/etc/permissions) \
$(call find-copy-subdir-files,*.xml,vendor/gapps/etc/permissions/system_ext,$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions)
## Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
vendor/gapps/overlay
## Sysconfig
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*.xml,vendor/gapps/etc/sysconfig,$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig)