Skip to content

Commit

Permalink
sunfish: Initial Lineage bringup
Browse files Browse the repository at this point in the history
Change-Id: Ieddd0460eeb223512b5d3ce9504f6a654d44c0d9
  • Loading branch information
Rashed97 authored and mikeNG committed Aug 29, 2022
1 parent 92c3184 commit 0fca23f
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_sunfish.mk \
$(LOCAL_DIR)/aosp_sunfish_hwasan.mk \
$(LOCAL_DIR)/lineage_sunfish.mk

COMMON_LUNCH_CHOICES := \
aosp_sunfish-userdebug \
lineage_sunfish-userdebug
2 changes: 2 additions & 0 deletions BoardConfig-common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,5 @@ endif
#BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/s5-setup.sh

-include vendor/google_devices/sunfish/proprietary/BoardConfigVendor.mk

include device/google/sunfish/BoardConfigLineage.mk
5 changes: 5 additions & 0 deletions BoardConfigLineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Copyright (C) 2020-2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
5 changes: 5 additions & 0 deletions device-lineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Copyright (C) 2020-2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
28 changes: 28 additions & 0 deletions lineage_sunfish.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# Copyright (C) 2020-2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

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

# Inherit device configuration
$(call inherit-product, device/google/sunfish/aosp_sunfish.mk)

include device/google/sunfish/device-lineage.mk

# Device identifier. This must come after all inclusions
PRODUCT_BRAND := google
PRODUCT_MODEL := Pixel 4a
PRODUCT_NAME := lineage_sunfish

# Boot animation
TARGET_SCREEN_HEIGHT := 2340
TARGET_SCREEN_WIDTH := 1080

PRODUCT_BUILD_PROP_OVERRIDES += \
TARGET_PRODUCT=sunfish \
PRIVATE_BUILD_DESC="sunfish-user 13 TP1A.220624.014 8819323 release-keys"

BUILD_FINGERPRINT := google/sunfish/sunfish:13/TP1A.220624.014/8819323:user/release-keys

0 comments on commit 0fca23f

Please sign in to comment.