d2s: Adapt for leaf
Change-Id: Ie926bdeabab25f7d95cd9f511423d962f5442180
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index b24fb23..609c6a3 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_d2s.mk
+ $(LOCAL_DIR)/d2s.mk
COMMON_LUNCH_CHOICES := \
- lineage_d2s-eng \
- lineage_d2s-user \
- lineage_d2s-userdebug
+ d2s-eng \
+ d2s-user \
+ d2s-userdebug
diff --git a/lineage_d2s.mk b/d2s.mk
similarity index 92%
rename from lineage_d2s.mk
rename to d2s.mk
index a82a558..3499e4f 100644
--- a/lineage_d2s.mk
+++ b/d2s.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 := 1440
## 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_d2s
+PRODUCT_NAME := d2s
PRODUCT_DEVICE := d2s
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-N975F
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"
- }
-]