-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlineage_sisleyr.mk
70 lines (57 loc) · 2.32 KB
/
lineage_sisleyr.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright (C) 2015-2017 The CyanogenMod Project
# Copyright (C) 2017, The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)
$(call inherit-product, device/lenovo/a6010/device.mk)
$(call inherit-product, vendor/lineage/config/common_mini_go_phone.mk)
# Must define platform variant before including any common things
TARGET_BOARD_PLATFORM_VARIANT := msm8916
# Assert
TARGET_OTA_ASSERT_DEVICE := a6010
TARGET_VENDOR := Lenovo
PRODUCT_DEVICE := sisleyr
PRODUCT_NAME := lineage_sisleyr
BOARD_VENDOR := Lenovo
PRODUCT_BRAND := Lenovo
PRODUCT_MODEL := Lenovo S90-A
PRODUCT_MANUFACTURER := Lenovo
# Build fingerprint
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="sisleyr-user 5.0.2 LRX22G S90-A_S239_151126_ROW release-keys" \
BuildFingerprint=Lenovo/sisleyr/sisleyr:5.0.2/LRX22G/S90-A_S239_151126_ROW:user/release-keys \
DeviceName=sisleyr
# GMS
PRODUCT_GMS_CLIENTID_BASE := android-lenovo
# First api level, device has been commercially launched
PRODUCT_PROPERTY_OVERRIDES += \
ro.product.first_api_level=19
# Device was launched with KK
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_k.mk)
# Use Etar as calendar
PRODUCT_PACKAGES += \
Etar
# Makes device compatible with Google Dialer Go.
# In best case this file should be a part of Gapps
# but we don't ship Gapps in this target
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/googledialergo-sysconfig.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/googledialergo-sysconfig.xml
# Lights
PRODUCT_PACKAGES += \
android.hardware.light@2.0-service.a6000
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
persist.data.target=dpm1 \
persist.radio.ecc_hard_1=112,911,110,122,119,120,000,118
$(call inherit-product, device/lenovo/a6010/sisleyr.mk)