d1: Adapt for leaf
Change-Id: Ifa7fbecf3f30c140fa880baa2b185a90aabecd7d
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 58dae1f..d8b106c 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -1,5 +1,6 @@
#
# Copyright (C) 2021 The LineageOS Project
+# Copyright (C) 2022 The LeafOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -15,9 +16,9 @@
#
PRODUCT_MAKEFILES := \
- $(LOCAL_DIR)/lineage_d1.mk
+ $(LOCAL_DIR)/d1.mk
COMMON_LUNCH_CHOICES := \
- lineage_d1-eng \
- lineage_d1-user \
- lineage_d1-userdebug
+ d1-eng \
+ d1-user \
+ d1-userdebug
diff --git a/lineage_d1.mk b/d1.mk
similarity index 92%
rename from lineage_d1.mk
rename to d1.mk
index 9a4144b..bded139 100644
--- a/lineage_d1.mk
+++ b/d1.mk
@@ -1,5 +1,6 @@
#
# Copyright (C) 2021 The LineageOS Project
+# Copyright (C) 2022 The LeafOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -37,10 +38,10 @@
TARGET_SCREEN_WIDTH := 1080
## Inherit some common Lineage stuff
-$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
+$(call inherit-product, vendor/leaf/config/common_full_phone.mk)
## Device identifier, this must come after all inclusions
-PRODUCT_NAME := lineage_d1
+PRODUCT_NAME := d1
PRODUCT_DEVICE := d1
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-N970F
diff --git a/lineage.dependencies b/lineage.dependencies
deleted file mode 100644
index 714d4f9..0000000
--- a/lineage.dependencies
+++ /dev/null
@@ -1,6 +0,0 @@
-[
- {
- "repository": "android_device_samsung_exynos9820-common",
- "target_path": "device/samsung/exynos9820-common"
- }
-]