d2x: Adapt for leaf
Change-Id: I25fa69bec4ce774f131bdc34497e491d7746f34d
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 503027f..2c7184f 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_d2x.mk
+ $(LOCAL_DIR)/d2x.mk
COMMON_LUNCH_CHOICES := \
- lineage_d2x-eng \
- lineage_d2x-user \
- lineage_d2x-userdebug
+ d2x-eng \
+ d2x-user \
+ d2x-userdebug
diff --git a/lineage_d2x.mk b/d2x.mk
similarity index 92%
rename from lineage_d2x.mk
rename to d2x.mk
index 958e63d..e0867cd 100644
--- a/lineage_d2x.mk
+++ b/d2x.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_d2x
+PRODUCT_NAME := d2x
PRODUCT_DEVICE := d2x
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-N976B
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"
- }
-]