Skip to content

Commit

Permalink
lavender: Let's build ProtonAOSP
Browse files Browse the repository at this point in the history
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
  • Loading branch information
raiyanbinmohsin committed Nov 2, 2021
1 parent 88799ce commit 02fb417
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 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)/revengeos_lavender.mk
$(LOCAL_DIR)/lavender.mk

COMMON_LUNCH_CHOICES := \
revengeos_lavender-user \
revengeos_lavender-userdebug \
revengeos_lavender-eng
lavender-user \
lavender-userdebug \
lavender-eng
1 change: 0 additions & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ TARGET_SCREEN_DENSITY := 420

# Kernel
TARGET_KERNEL_CONFIG := lavender_defconfig
BOARD_KERNEL_SEPARATED_DTBO := true

# Manifest
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/configs/manifest.xml
Expand Down
8 changes: 3 additions & 5 deletions revengeos_lavender.mk → lavender.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@ $(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_p.mk)

# Inherit some common RevengeOS stuff
$(call inherit-product, vendor/revengeos/config/common.mk)
TARGET_BOOT_ANIMATION_RES := 1080
REVENGEOS_BUILDTYPE := OFFICIAL
# Inherit GMS
WITH_GMS := true

# Inherit from lavender device
$(call inherit-product, $(LOCAL_PATH)/device.mk)

PRODUCT_BRAND := Xiaomi
PRODUCT_DEVICE := lavender
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_NAME := revengeos_lavender
PRODUCT_NAME := lavender
PRODUCT_MODEL := Redmi Note 7

PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
Expand Down

0 comments on commit 02fb417

Please sign in to comment.