-
Notifications
You must be signed in to change notification settings - Fork 39
/
aosp_a6000.mk
57 lines (46 loc) · 1.98 KB
/
aosp_a6000.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
# 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/aosp_base_telephony.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_k.mk)
$(call inherit-product, device/lenovo/a6000/device.mk)
# Must define platform variant before including any common things
TARGET_BOARD_PLATFORM_VARIANT := msm8916
# Assert
TARGET_OTA_ASSERT_DEVICE := Kraft-T,a6000,K30-T,A6000,Kraft-W,Kraft-C,k30t,msm8916,Kraft-A6000,wt86518
TARGET_VENDOR := Lenovo
PRODUCT_DEVICE := a6000
PRODUCT_NAME := aosp_a6000
BOARD_VENDOR := Lenovo
PRODUCT_BRAND := Lenovo
PRODUCT_MODEL := A6000
PRODUCT_MANUFACTURER := Lenovo
# Device Identifiers
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_MODEL="Lenovo A6000" \
PRODUCT_NAME="Kraft-A6000" \
PRODUCT_DEVICE="Kraft-A6000"
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.product=Kraft-A6000
# Build fingerprint
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="Kraft-A6000-user 5.0.2 LRX22G Kraft-A6000_S061_160727 release-keys"
BUILD_FINGERPRINT := Lenovo/Kraft-A6000/Kraft-A6000:5.0.2/LRX22G/Kraft-A6000_S061_160727:user/release-keys
# GMS
PRODUCT_GMS_CLIENTID_BASE := android-lenovo
# Animation
PRODUCT_COPY_FILES += device/lenovo/a6000/bootanimation.zip:system/media/bootanimation.zip
# APN(s)
PRODUCT_COPY_FILES += device/lenovo/a6000/apns-conf.xml:system/etc/apns-conf.xml