blob: 1e0616e1cbee632fce31e4e120f122ff9458df2e [file] [log] [blame]
Alexander Martinze925b6f2022-04-08 08:52:53 +02001#
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.
14PRODUCT_NAME := axolotl
Alexander Martinz90fc2282022-04-26 19:53:05 +020015
16#############################################################
17
Alexander Martinz8c219dd2022-12-22 00:28:34 +010018PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true
19
Justin Yun20bd5f62020-07-27 17:20:08 +090020# Enforce native interfaces of product partition as VNDK
21PRODUCT_PRODUCT_VNDK_VERSION := current
22
23# Enforce java interfaces of product partition
24PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true
25
26#############################################################
27
Alexander Martinz4244d902022-12-22 18:15:04 +010028# APEX
29PRODUCT_COMPRESSED_APEX := true
30MAINLINE_COMPRESS_APEX_ALL := $(PRODUCT_COMPRESSED_APEX)
31
Alexander Martinza4098922022-12-22 11:13:52 +010032# Automation/ATS
33PRODUCT_PACKAGES += \
34 automation_setup \
35
Alexander Martinz70cea612023-01-11 15:39:57 +010036ifeq ($(WITH_AUTOMATION_USERDATA),true)
37PRODUCT_PACKAGES += automation_trigger
38endif
39
Alexander Martinz37da4bd2022-05-31 09:45:56 +020040# Build super partition
41PRODUCT_BUILD_SUPER_PARTITION := true
42
Alexander Martinze4c6e852023-04-11 13:16:02 +020043# DRM
44PRODUCT_PACKAGES += \
45 drmserver \
46 libdrmframework \
47 libdrmframework_jni \
48
49PRODUCT_PROPERTY_OVERRIDES += \
50 drm.service.enabled=true \
51 media.mediadrmservice.enable=true \
52
Alexander Martinz29ffab22023-02-07 13:45:49 +010053# Enforce priv-app permissions
54ifeq ($(TARGET_BUILD_VARIANT),eng)
55PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=log
56else
57PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=enforce
58endif
59
Alexander Martinz645c8122023-01-18 08:58:26 +010060# GMS
61ifeq ($(WITH_64_BIT_ONLY),false)
62GMS_MAKEFILE := gms_eea_v2_type4c.mk
63else
64GMS_MAKEFILE := gms_eea_v2_type4c_64bit_only.mk
65endif
Alexander Martinzff3dd8e2023-02-07 12:27:53 +010066MAINLINE_MODULES_MAKEFILE := mainline_modules.mk
Alexander Martinz645c8122023-01-18 08:58:26 +010067
Bharath5de6b722024-05-19 12:46:12 +053068# DRM - Widevine
69include vendor/widevine/service.mk