blob: ce8053c1f892b70f09a23fa9bd7abdf20a77188f [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 Martinz29ffab22023-02-07 13:45:49 +010043# Enforce priv-app permissions
44ifeq ($(TARGET_BUILD_VARIANT),eng)
45PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=log
46else
47PRODUCT_PROPERTY_OVERRIDES += ro.control_privapp_permissions=enforce
48endif
49
Alexander Martinz645c8122023-01-18 08:58:26 +010050# GMS
51ifeq ($(WITH_64_BIT_ONLY),false)
52GMS_MAKEFILE := gms_eea_v2_type4c.mk
53else
54GMS_MAKEFILE := gms_eea_v2_type4c_64bit_only.mk
55endif
56#MAINLINE_MODULES_MAKEFILE := mainline_modules.mk
57
Alexander Martinze9efc892023-01-18 15:09:22 +010058# Widevine
59PRODUCT_PACKAGES += \
60 android.hardware.drm@1.3-service.widevine \
61 libwvhidl \