blob: 5b9c0b83d427946645e1b9e5a0e3554ca4b925b8 [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 Martinz645c8122023-01-18 08:58:26 +010043# GMS
44ifeq ($(WITH_64_BIT_ONLY),false)
45GMS_MAKEFILE := gms_eea_v2_type4c.mk
46else
47GMS_MAKEFILE := gms_eea_v2_type4c_64bit_only.mk
48endif
49#MAINLINE_MODULES_MAKEFILE := mainline_modules.mk
50
Alexander Martinze9efc892023-01-18 15:09:22 +010051# Widevine
52PRODUCT_PACKAGES += \
53 android.hardware.drm@1.3-service.widevine \
54 libwvhidl \