sanders: Add specific product for Lineage

Signed-off-by: Sebastian <kjjjnob.seba@gmail.com>
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
Sebastian
2018-12-15 15:23:58 -03:00
committed by ronaxdevil
parent f33f6494bd
commit c933c42beb
4 changed files with 47 additions and 7 deletions

17
AndroidProducts.mk Normal file
View File

@@ -0,0 +1,17 @@
#
# Copyright (C) 2017-2018 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.
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_sanders.mk

14
lineage.dependencies Normal file
View File

@@ -0,0 +1,14 @@
[
{
"repository": "android_vendor_motorola_sanders",
"target_path": "vendor/motorola/sanders"
},
{
"repository": "android_kernel_motorola_sanders",
"target_path": "kernel/motorola/msm8953"
},
{
"repository": "android_packages_resources_devicesettings",
"target_path": "packages/resources/devicesettings"
}
]

View File

@@ -14,20 +14,27 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Inherit from those products. Most specific first. # Inherit from those products. Most specific first.
$(call inherit-product, device/motorola/sanders/full_sanders.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit some common SacredOS stuff. # Inherit from device
$(call inherit-product, vendor/sacred/common.mk) $(call inherit-product, device/motorola/sanders/device.mk)
# Inherit from Sanders-Vendor
$(call inherit-product, vendor/motorola/sanders/sanders-vendor.mk)
# Inherit some common Lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Boot animation # Boot animation
TARGET_SCREEN_WIDTH := 1080 TARGET_SCREEN_WIDTH := 1080
TARGET_SCREEN_HEIGHT := 1920 TARGET_SCREEN_HEIGHT := 1920
TARGET_BOOT_ANIMATION_RES := 1080
## Device identifier. This must come after all inclusions ## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := sanders PRODUCT_DEVICE := sanders
PRODUCT_NAME := sacred_sanders PRODUCT_NAME := lineage_sanders
PRODUCT_BRAND := motorola PRODUCT_BRAND := motorola
PRODUCT_MANUFACTURER := motorola PRODUCT_MANUFACTURER := motorola
@@ -37,4 +44,6 @@ PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME="Moto G5S Plus" \ PRODUCT_NAME="Moto G5S Plus" \
PRIVATE_BUILD_DESC="sanders-user 8.1.0 OPS28.65-36 9fea release-keys" PRIVATE_BUILD_DESC="sanders-user 8.1.0 OPS28.65-36 9fea release-keys"
BUILD_FINGERPRINT := google/walleye/walleye:8.1.0/OPM1.171019.011/4448085:user/release-keys # FINGERPRINT
BUILD_FINGERPRINT := google/walleye/walleye:9/PPP3.180510.008/4811556:user/release-keys
VENDOR_BUILD_FINGERPRINT := google/walleye/walleye:9/PPP3.180510.008/4811556:user/release-keys

View File

@@ -14,4 +14,4 @@
# limitations under the License. # limitations under the License.
# #
add_lunch_combo sacred_sanders-userdebug add_lunch_combo lineage_sanders-userdebug