troika: Switch to patchelf from tools-lineage
[GitHub/LineageOS/android_device_motorola_troika.git] / lineage_troika.mk
CommitLineData
8d7fdab7
JA
1#
2# Copyright (C) 2020 The LineageOS Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# Inherit from those products. Most specific first.
18$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
19$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
20
21# Inherit from troika device
22$(call inherit-product, device/motorola/troika/device.mk)
23$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
24
25# Inherit some common Lineage stuff.
26$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
27
28# Device identifier. This must come after all inclusions
29PRODUCT_DEVICE := troika
30PRODUCT_NAME := lineage_troika
31PRODUCT_BRAND := Motorola
32PRODUCT_MODEL := One Action
33PRODUCT_MANUFACTURER := Motorola
34
35PRODUCT_GMS_CLIENTID_BASE := android-motorola
36
37# Use the latest approved GMS identifiers
38PRODUCT_BUILD_PROP_OVERRIDES += \
39 PRODUCT_NAME=troika_sprout \
31ac4b64 40 PRIVATE_BUILD_DESC="10/QSBS30.62-29-7/0ea60:user/release-keys"
8d7fdab7 41
31ac4b64 42BUILD_FINGERPRINT := motorola/troika_retail/troika_sprout:10/QSBS30.62-29-7/0ea60:user/release-keys