sabrina: Make device name/product prop overrides work
authorLuK1337 <priv.luk@gmail.com>
Thu, 27 Jan 2022 09:53:26 +0000 (10:53 +0100)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 29 Apr 2024 21:32:31 +0000 (17:32 -0400)
Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

lineage_sabrina.mk

index 4a8ff47e18a95f44142d579ac8f9566706d4986b..0c6a1f86acf4ac97ff6c84c34eaf6e1d3a23b8f3 100644 (file)
@@ -21,8 +21,13 @@ PRODUCT_MANUFACTURER := Google
 PRODUCT_MODEL := Chromecast
 PRODUCT_NAME := lineage_sabrina
 
+PRODUCT_SYSTEM_NAME := sabrina_prod_stable
+PRODUCT_SYSTEM_DEVICE := sabrina_prod_stable
+
 PRODUCT_BUILD_PROP_OVERRIDES += \
     PRODUCT_NAME=sabrina_prod_stable \
-    PRIVATE_BUILD_DESC="sabrina_prod_stable-user 10 QTS1.210311.036 7814738 release-keys"
+    PRIVATE_BUILD_DESC="sabrina_prod_stable-user 10 QTS1.210311.036 7814738 release-keys" \
+    TARGET_DEVICE=$(PRODUCT_DEVICE) \
+    TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
 
 BUILD_FINGERPRINT := google/sabrina_prod_stable/sabrina:10/QTS1.210311.036/7814738:user/release-keys