Skip to content

Commit

Permalink
whyred: PixelExperience bringup (1/2)
Browse files Browse the repository at this point in the history
Change-Id: I43e3e5182a6bf15b26da41e9f8cb185d062b8985
Signed-off-by: SakilMondal <[email protected]>
  • Loading branch information
SakilMondal committed Oct 4, 2021
1 parent 5484879 commit 31e2e03
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 14 deletions.
8 changes: 4 additions & 4 deletions AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_whyred.mk
$(LOCAL_DIR)/aosp_whyred.mk

COMMON_LUNCH_CHOICES := \
lineage_whyred-user \
lineage_whyred-userdebug \
lineage_whyred-eng
aosp_whyred-user \
aosp_whyred-userdebug \
aosp_whyred-eng
20 changes: 20 additions & 0 deletions aosp.dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"remote": "github",
"repository": "PixelExperience-Devices/device_xiaomi_sdm660-common",
"target_path": "device/xiaomi/sdm660-common",
"branch": "eleven"
},
{
"repository" : "vendor_xiaomi_whyred",
"target_path" : "vendor/xiaomi/whyred",
"branch" : "eleven",
"remote" : "pixel-devices-blobs"
},
{
"remote": "github",
"repository": "SakilMondal/vendor_MiuiCamera",
"target_path": "vendor/MiuiCamera",
"branch": "11.x"
}
]
11 changes: 8 additions & 3 deletions lineage_whyred.mk → aosp_whyred.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk)

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

# PixelExperience Properties
TARGET_INCLUDE_WIFI_EXT := true
TARGET_GAPPS_ARCH := arm64
TARGET_BOOT_ANIMATION_RES := 1080

# Inherit from whyred device
$(call inherit-product, $(LOCAL_PATH)/device.mk)
Expand All @@ -21,7 +26,7 @@ $(call inherit-product, vendor/MiuiCamera/config.mk)
PRODUCT_BRAND := Xiaomi
PRODUCT_DEVICE := whyred
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_NAME := lineage_whyred
PRODUCT_NAME := aosp_whyred
PRODUCT_MODEL := Redmi Note 5

PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
Expand Down
2 changes: 1 addition & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PRODUCT_PACKAGES += \
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay \
$(DEVICE_PATH)/overlay-lineage
$(DEVICE_PATH)/overlay-pe

# Powerhint
EAS_POWERHINT_VARIANT := sdm636
Expand Down
6 changes: 0 additions & 6 deletions lineage.dependencies

This file was deleted.

0 comments on commit 31e2e03

Please sign in to comment.