-
Notifications
You must be signed in to change notification settings - Fork 6
/
lineage_a6010_gms_go_2gb.mk
58 lines (47 loc) · 1.83 KB
/
lineage_a6010_gms_go_2gb.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
# 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)
# GMS GO (2GB)
WITH_GMS := true
GMS_MAKEFILE := gms_go_2gb.mk
$(call inherit-product, vendor/lineage/config/partner_gms.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 := a6010
PRODUCT_NAME := lineage_a6010_gms_go_2gb
BOARD_VENDOR := Lenovo
PRODUCT_BRAND := Lenovo
PRODUCT_MODEL := Lenovo A6010
PRODUCT_MANUFACTURER := Lenovo
# Build fingerprint
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="A6010-user 5.0.2 LRX22G A6010_S045_170622_16G_ROW release-keys" \
BuildFingerprint=Lenovo/A6010/A6010:5.0.2/LRX22G/A6010_S045_170622_16G_ROW:user/release-keys \
DeviceName=a6010
# GMS
PRODUCT_GMS_CLIENTID_BASE := android-lenovo
# DocumentsUI overlay for Go
PRODUCT_PACKAGES += \
DocumentsUIOverlayGo
# Enable Private Space feature
PRODUCT_PACKAGES += \
PrivateSpaceOverlay
$(call inherit-product, device/lenovo/a6010/a6010.mk)