diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 12e77fc..13af4f1 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -23,7 +23,9 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/factory_husky.mk \ $(LOCAL_DIR)/aosp_shiba.mk \ $(LOCAL_DIR)/aosp_shiba_fullmte.mk \ - $(LOCAL_DIR)/factory_shiba.mk + $(LOCAL_DIR)/factory_shiba.mk \ + $(LOCAL_DIR)/lineage_husky.mk \ + $(LOCAL_DIR)/lineage_shiba.mk COMMON_LUNCH_CHOICES := \ aosp_ripcurrent-userdebug \ diff --git a/BoardConfigLineage.mk b/BoardConfigLineage.mk new file mode 100644 index 0000000..523e120 --- /dev/null +++ b/BoardConfigLineage.mk @@ -0,0 +1,5 @@ +# +# Copyright (C) 2023 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# diff --git a/device-lineage.mk b/device-lineage.mk new file mode 100644 index 0000000..523e120 --- /dev/null +++ b/device-lineage.mk @@ -0,0 +1,5 @@ +# +# Copyright (C) 2023 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# diff --git a/husky/BoardConfig.mk b/husky/BoardConfig.mk index 93467ca..027ccee 100644 --- a/husky/BoardConfig.mk +++ b/husky/BoardConfig.mk @@ -41,3 +41,5 @@ include device/google/zuma/BoardConfig-common.mk -include vendor/google_devices/husky/proprietary/BoardConfigVendor.mk include device/google/shusky/sepolicy/husky-sepolicy.mk include device/google/shusky/wifi/BoardConfig-wifi.mk + +include device/google/shusky/husky/BoardConfigLineage.mk diff --git a/husky/BoardConfigLineage.mk b/husky/BoardConfigLineage.mk new file mode 100644 index 0000000..e6bc6ca --- /dev/null +++ b/husky/BoardConfigLineage.mk @@ -0,0 +1,7 @@ +# +# Copyright (C) 2023 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +include device/google/shusky/BoardConfigLineage.mk diff --git a/husky/device-lineage.mk b/husky/device-lineage.mk new file mode 100644 index 0000000..20cbef9 --- /dev/null +++ b/husky/device-lineage.mk @@ -0,0 +1,7 @@ +# +# Copyright (C) 2023 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +$(call inherit-product, device/google/shusky/device-lineage.mk) diff --git a/lineage.dependencies b/lineage.dependencies new file mode 100644 index 0000000..2bc1106 --- /dev/null +++ b/lineage.dependencies @@ -0,0 +1,6 @@ +[ + { + "repository": "android_device_google_zuma", + "target_path": "device/google/zuma" + } +] diff --git a/lineage_husky.mk b/lineage_husky.mk new file mode 100644 index 0000000..d8aea61 --- /dev/null +++ b/lineage_husky.mk @@ -0,0 +1,30 @@ +# +# Copyright (C) 2023 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +# Inherit some common Lineage stuff. +TARGET_DISABLE_EPPE := true +$(call inherit-product, vendor/lineage/config/common_full_phone.mk) + +# Inherit device configuration +$(call inherit-product, device/google/shusky/aosp_husky.mk) +$(call inherit-product, device/google/zuma/lineage_common.mk) + +include device/google/shusky/husky/device-lineage.mk + +# Device identifier. This must come after all inclusions +PRODUCT_BRAND := google +PRODUCT_MODEL := Pixel 8 Pro +PRODUCT_NAME := lineage_husky + +# Boot animation +TARGET_SCREEN_HEIGHT := 2992 +TARGET_SCREEN_WIDTH := 1344 + +PRODUCT_BUILD_PROP_OVERRIDES += \ + TARGET_PRODUCT=husky \ + PRIVATE_BUILD_DESC="husky-user 14 UQ1A.231205.015 11084887 release-keys" + +BUILD_FINGERPRINT := google/husky/husky:14/UQ1A.231205.015/11084887:user/release-keys diff --git a/lineage_shiba.mk b/lineage_shiba.mk new file mode 100644 index 0000000..0b4865a --- /dev/null +++ b/lineage_shiba.mk @@ -0,0 +1,30 @@ +# +# Copyright (C) 2023 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +# Inherit some common Lineage stuff. +TARGET_DISABLE_EPPE := true +$(call inherit-product, vendor/lineage/config/common_full_phone.mk) + +# Inherit device configuration +$(call inherit-product, device/google/shusky/aosp_shiba.mk) +$(call inherit-product, device/google/zuma/lineage_common.mk) + +include device/google/shusky/shiba/device-lineage.mk + +# Device identifier. This must come after all inclusions +PRODUCT_BRAND := google +PRODUCT_MODEL := Pixel 8 +PRODUCT_NAME := lineage_shiba + +# Boot animation +TARGET_SCREEN_HEIGHT := 2400 +TARGET_SCREEN_WIDTH := 1080 + +PRODUCT_BUILD_PROP_OVERRIDES += \ + TARGET_PRODUCT=shiba \ + PRIVATE_BUILD_DESC="shiba-user 14 UQ1A.231205.015 11084887 release-keys" + +BUILD_FINGERPRINT := google/shiba/shiba:14/UQ1A.231205.015/11084887:user/release-keys diff --git a/shiba/BoardConfig.mk b/shiba/BoardConfig.mk index 3dd292c..c9c0d82 100644 --- a/shiba/BoardConfig.mk +++ b/shiba/BoardConfig.mk @@ -37,3 +37,5 @@ include device/google/zuma/BoardConfig-common.mk -include vendor/google_devices/shiba/proprietary/BoardConfigVendor.mk include device/google/shusky/sepolicy/shiba-sepolicy.mk include device/google/shusky/wifi/BoardConfig-wifi.mk + +include device/google/shusky/shiba/BoardConfigLineage.mk diff --git a/shiba/BoardConfigLineage.mk b/shiba/BoardConfigLineage.mk new file mode 100644 index 0000000..e6bc6ca --- /dev/null +++ b/shiba/BoardConfigLineage.mk @@ -0,0 +1,7 @@ +# +# Copyright (C) 2023 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +include device/google/shusky/BoardConfigLineage.mk diff --git a/shiba/device-lineage.mk b/shiba/device-lineage.mk new file mode 100644 index 0000000..20cbef9 --- /dev/null +++ b/shiba/device-lineage.mk @@ -0,0 +1,7 @@ +# +# Copyright (C) 2023 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +$(call inherit-product, device/google/shusky/device-lineage.mk)