Skip to content

Commit

Permalink
h811: setup for lineage-16.0
Browse files Browse the repository at this point in the history
Change-Id: I1343e895107265292546bdaf66b08c45fb2b6832
  • Loading branch information
steadfasterX committed May 10, 2019
1 parent 4dcb7a2 commit 43fe8ff
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 34 deletions.
17 changes: 3 additions & 14 deletions full_h811.mk → AndroidProducts.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2015 The CyanogenMod Project
# Copyright 2015 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -14,16 +14,5 @@
# limitations under the License.
#

# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)

# Inherit from h815 device
$(call inherit-product, device/lge/h811/device.mk)

# Set those variables here to overwrite the inherited values.
PRODUCT_DEVICE := h811
PRODUCT_NAME := full_h811
PRODUCT_BRAND := lge
PRODUCT_MODEL := LG-H811
PRODUCT_MANUFACTURER := LGE
PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/lineage_h811.mk
20 changes: 0 additions & 20 deletions lineage.mk

This file was deleted.

42 changes: 42 additions & 0 deletions lineage_h811.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# Copyright 2015 The CyanogenMod 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.
#

# Boot animation
TARGET_SCREEN_HEIGHT := 2560
TARGET_SCREEN_WIDTH := 1440

# Inherit some common LineageOS stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)

# Inherit from the common Open Source product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)

# Inherit from hardware-specific part of the product configuration
$(call inherit-product, $(LOCAL_PATH)/device.mk)

PRODUCT_NAME := lineage_h811
PRODUCT_DEVICE := h811
PRODUCT_BRAND := lge
PRODUCT_MODEL := LG-H811
PRODUCT_MANUFACTURER := LGE

PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_DEVICE="g4" \
PRODUCT_NAME="g4__tmo_us" \
PRIVATE_BUILD_DESC="p1__tmo_us-user 8.0 NRD90U 1717709471d0f release-keys"

BUILD_FINGERPRINT := "lge/p1__tmo_us/p1:8.1.0/OPM4.171019.016.A1/4720811:user/release-keys"

3 changes: 3 additions & 0 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
export ALLOW_MISSING_DEPENDENCIES=true
export USE_NINJA=true

add_lunch_combo lineage_h811-userdebug
add_lunch_combo lineage_h811-user
add_lunch_combo lineage_h811-eng

0 comments on commit 43fe8ff

Please sign in to comment.