Alexander Martinz | e925b6f | 2022-04-08 08:52:53 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2022 SHIFT GmbH |
| 3 | # |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | # |
| 6 | |
| 7 | # Inherit from full device. |
| 8 | $(call inherit-product, device/shift/axolotl/full_axolotl.mk) |
| 9 | |
| 10 | # Inherit some common SHIFT stuff. |
| 11 | $(call inherit-product, vendor/shiftos/config/common_full.mk) |
| 12 | |
| 13 | # Override product name for SHIFT. |
| 14 | PRODUCT_NAME := axolotl |
Alexander Martinz | 90fc228 | 2022-04-26 19:53:05 +0200 | [diff] [blame] | 15 | |
| 16 | ############################################################# |
| 17 | |
Alexander Martinz | 8c219dd | 2022-12-22 00:28:34 +0100 | [diff] [blame] | 18 | PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true |
| 19 | |
Justin Yun | 20bd5f6 | 2020-07-27 17:20:08 +0900 | [diff] [blame] | 20 | # Enforce native interfaces of product partition as VNDK |
| 21 | PRODUCT_PRODUCT_VNDK_VERSION := current |
| 22 | |
| 23 | # Enforce java interfaces of product partition |
| 24 | PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true |
| 25 | |
| 26 | ############################################################# |
| 27 | |
Alexander Martinz | 4244d90 | 2022-12-22 18:15:04 +0100 | [diff] [blame] | 28 | # APEX |
| 29 | PRODUCT_COMPRESSED_APEX := true |
| 30 | MAINLINE_COMPRESS_APEX_ALL := $(PRODUCT_COMPRESSED_APEX) |
| 31 | |
Alexander Martinz | a409892 | 2022-12-22 11:13:52 +0100 | [diff] [blame] | 32 | # Automation/ATS |
| 33 | PRODUCT_PACKAGES += \ |
| 34 | automation_setup \ |
| 35 | |
Alexander Martinz | 70cea61 | 2023-01-11 15:39:57 +0100 | [diff] [blame] | 36 | ifeq ($(WITH_AUTOMATION_USERDATA),true) |
| 37 | PRODUCT_PACKAGES += automation_trigger |
| 38 | endif |
| 39 | |
Alexander Martinz | 37da4bd | 2022-05-31 09:45:56 +0200 | [diff] [blame] | 40 | # Build super partition |
| 41 | PRODUCT_BUILD_SUPER_PARTITION := true |
| 42 | |
Alexander Martinz | e4c6e85 | 2023-04-11 13:16:02 +0200 | [diff] [blame] | 43 | # DRM |
| 44 | PRODUCT_PACKAGES += \ |
| 45 | drmserver \ |
| 46 | libdrmframework \ |
| 47 | libdrmframework_jni \ |
| 48 | |
| 49 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 50 | drm.service.enabled=true \ |
| 51 | media.mediadrmservice.enable=true \ |
| 52 | |
Alexander Martinz | 29ffab2 | 2023-02-07 13:45:49 +0100 | [diff] [blame] | 53 | # Enforce priv-app permissions |
| 54 | ifeq ($(TARGET_BUILD_VARIANT),eng) |
| 55 | PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=log |
| 56 | else |
| 57 | PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=enforce |
| 58 | endif |
| 59 | |
Alexander Martinz | 645c812 | 2023-01-18 08:58:26 +0100 | [diff] [blame] | 60 | # GMS |
| 61 | ifeq ($(WITH_64_BIT_ONLY),false) |
| 62 | GMS_MAKEFILE := gms_eea_v2_type4c.mk |
| 63 | else |
| 64 | GMS_MAKEFILE := gms_eea_v2_type4c_64bit_only.mk |
| 65 | endif |
Alexander Martinz | ff3dd8e | 2023-02-07 12:27:53 +0100 | [diff] [blame] | 66 | MAINLINE_MODULES_MAKEFILE := mainline_modules.mk |
Alexander Martinz | 645c812 | 2023-01-18 08:58:26 +0100 | [diff] [blame] | 67 | |
Bharath | 5de6b72 | 2024-05-19 12:46:12 +0530 | [diff] [blame^] | 68 | # DRM - Widevine |
| 69 | include vendor/widevine/service.mk |