blob: 905b58e06ef6a8352dfdc072214f6ba8082ef818 [file] [log] [blame]
Bharath9b8f1d82024-04-04 22:56:50 +05301#
2# Copyright (C) 2024 SHIFT GmbH
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
Alexander Martinzaa1c13e2024-04-09 17:08:10 +02007# Inherit some common SHIFT stuff.
8$(call inherit-product, vendor/shiftos/config/common_full.mk)
9
Bharatha4bc5c22024-04-05 15:47:47 +053010# GMS
11ifeq ($(SHIFT_BUILD_WITH_GMS),true)
12 # Set Google client ID as required for the approval process
13 PRODUCT_SYSTEM_PROPERTIES += \
14 ro.com.google.clientidbase=android-uniscope
Bharath9b8f1d82024-04-04 22:56:50 +053015
Bharatha4bc5c22024-04-05 15:47:47 +053016 # GMS components
17 $(call inherit-product, vendor/partner_gms/products/gms_eea_v2_type4c.mk)
18
19 # Add Mainline packages (GPSU).
20 $(call inherit-product, vendor/partner_modules/build/mainline_modules.mk)
Bharath1f392862024-04-07 22:59:44 +053021
22endif
23
24ifeq ($(filter qssi,$(TARGET_DEVICE)),)
25
26 PRODUCT_PROPERTY_OVERRIDES += \
27 drm.service.enabled=true
28
29 PRODUCT_PACKAGES += \
30 libwvdrmengine \
31 libwvhidl \
32 android.hardware.drm@1.3-service.widevine
33
Bharatha4bc5c22024-04-05 15:47:47 +053034endif