SetupWizard is arch dependent

This commit is contained in:
Alessandro Astone 2021-01-02 20:08:35 +01:00
parent 926ebed063
commit 5e1c63d566
16 changed files with 49 additions and 19 deletions

View File

@ -42,6 +42,19 @@ android_app_import {
product_specific: true,
}
android_app_import {
name: "SetupWizardPrebuilt",
owner: "gapps",
apk: "proprietary/product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk",
overrides: ["Provision"],
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "Velvet",
owner: "gapps",

View File

@ -29,6 +29,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
MarkupGoogle \
SetupWizardPrebuilt \
Velvet
endif

View File

@ -42,6 +42,19 @@ android_app_import {
product_specific: true,
}
android_app_import {
name: "SetupWizardPrebuilt",
owner: "gapps",
apk: "proprietary/product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk",
overrides: ["Provision"],
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "Velvet",
owner: "gapps",

View File

@ -30,6 +30,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
MarkupGoogle \
SetupWizardPrebuilt \
Velvet
endif

View File

@ -131,16 +131,3 @@ android_app_import {
product_specific: true,
}
android_app_import {
name: "SetupWizardPrebuilt",
owner: "gapps",
apk: "proprietary/product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk",
overrides: ["Provision"],
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}

View File

@ -39,6 +39,5 @@ PRODUCT_PACKAGES += \
ifeq ($(TARGET_IS_GROUPER),)
PRODUCT_PACKAGES += \
AndroidMigratePrebuilt \
SetupWizardPrebuilt
AndroidMigratePrebuilt
endif

View File

@ -1,3 +1,4 @@
-product/app/MarkupGoogle/MarkupGoogle.apk;PRESIGNED|012bf4c0622d9d0aa4361a62e7ce07a1eb056b8f
-product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk;PRESIGNED|77dbc6656fc920e0d89b9ac8cffdd60250a45ff0
-product/priv-app/Velvet/Velvet.apk;PRESIGNED|29900224869ef94c1fffa1cab31bc8260d86a736
product/app/MarkupGoogle/lib/arm/libsketchology_native.so|479720ba394500786e5b5a39deb09a93d5bce9db

View File

@ -1,3 +1,4 @@
-product/app/MarkupGoogle/MarkupGoogle.apk;PRESIGNED|012bf4c0622d9d0aa4361a62e7ce07a1eb056b8f
-product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk;PRESIGNED|074346bfb2128d64049b373e447837a300a4054f
-product/priv-app/Velvet/Velvet.apk;PRESIGNED|d6321f135f7f0f503d37bb1ee3f8c1dbae6d2b9c
product/app/MarkupGoogle/lib/arm64/libsketchology_native.so|5c55b4d32beeeca04b4e9f4ce1a2cd3e15a32c8c

View File

@ -1,2 +1 @@
-product/priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk;PRESIGNED|eb965010832814a84afc32db11bf1c89586b78bc
-product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk;PRESIGNED

View File

@ -1 +1,2 @@
-product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk;PRESIGNED|3deb4081593c68ad034b3b8399b3dc8a7e8c4b12
-product/priv-app/Velvet/Velvet.apk;PRESIGNED|09bd04fac0b341bfcad00778438f1cee652dc5ee

View File

@ -53,9 +53,6 @@ echo "endif" >> "$PRODUCTMK"
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
# Make Google SuW override Provision
sed -i 's/\(SetupWizardPrebuilt.apk",\)/\1\n\toverrides: ["Provision"],/' "$ANDROIDBP"
# We are done with common
write_footers
@ -79,6 +76,9 @@ printf '\n%s\n' "\$(call inherit-product, vendor/gapps/common/common-vendor.mk)"
sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
# Make Google SuW override Provision
sed -i 's/\(SetupWizardPrebuilt.apk",\)/\1\n\toverrides: ["Provision"],/' "$ANDROIDBP"
# We are done with target
write_footers

View File

@ -31,6 +31,19 @@ android_app_import {
product_specific: true,
}
android_app_import {
name: "SetupWizardPrebuilt",
owner: "gapps",
apk: "proprietary/product/priv-app/SetupWizardPrebuilt/SetupWizardPrebuilt.apk",
overrides: ["Provision"],
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "Velvet",
owner: "gapps",

View File

@ -26,6 +26,7 @@ PRODUCT_PACKAGES += \
ifeq ($(TARGET_IS_GROUPER),)
PRODUCT_PACKAGES += \
SetupWizardPrebuilt \
Velvet
endif