Bharath | 9b8f1d8 | 2024-04-04 22:56:50 +0530 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2024 SHIFT GmbH |
| 3 | # |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | # |
| 6 | |
Alexander Martinz | aa1c13e | 2024-04-09 17:08:10 +0200 | [diff] [blame] | 7 | # Inherit some common SHIFT stuff. |
| 8 | $(call inherit-product, vendor/shiftos/config/common_full.mk) |
| 9 | |
Bharath | a4bc5c2 | 2024-04-05 15:47:47 +0530 | [diff] [blame] | 10 | # GMS |
| 11 | ifeq ($(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 |
Bharath | 9b8f1d8 | 2024-04-04 22:56:50 +0530 | [diff] [blame] | 15 | |
Bharath | a4bc5c2 | 2024-04-05 15:47:47 +0530 | [diff] [blame] | 16 | # 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) |
Bharath | 1f39286 | 2024-04-07 22:59:44 +0530 | [diff] [blame] | 21 | |
| 22 | endif |
| 23 | |
| 24 | ifeq ($(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 | |
Bharath | a4bc5c2 | 2024-04-05 15:47:47 +0530 | [diff] [blame] | 34 | endif |