1
0
mirror of https://github.com/ponces/treble_aosp.git synced 2024-11-28 01:14:52 +00:00
treble_aosp/patches/personal/device_phh_treble/0001-Import-vendor-gapps.patch
2024-04-13 19:45:25 +00:00

27 lines
788 B
Diff

From 2bf85c385f0e9c41ab6c33cfab114457275db967 Mon Sep 17 00:00:00 2001
From: Alberto Ponces <ponces26@gmail.com>
Date: Tue, 21 Feb 2023 22:51:12 +0000
Subject: [PATCH 1/3] Import vendor/gapps
---
generate.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/generate.sh b/generate.sh
index 461eff1..4c7690a 100644
--- a/generate.sh
+++ b/generate.sh
@@ -26,7 +26,8 @@ for part in a ab;do
optional_base=""
if [ "$apps" == "gapps" ];then
apps_suffix="g"
- apps_script='$(call inherit-product, device/phh/treble/gapps.mk)'
+ [[ "$arch" == "a64" ]] && base="arm" || base="arm64"
+ apps_script="\$(call inherit-product, vendor/gapps/$base/$base-vendor.mk)"
apps_name="with GApps"
fi
if [ "$apps" == "gapps-go" ];then
--
2.34.1