Get rid of x86 support
Doesn't seem like x86 GMS exists anymore as it's not available as GSI nor Android SDK image.
This commit is contained in:
parent
e74e9c43e8
commit
8661048075
@ -16,16 +16,13 @@ _make gapps_arm_
|
||||
_make gapps_arm64_
|
||||
- compile signed flashable GApps for arm64
|
||||
|
||||
_make gapps_x86_
|
||||
- compile signed flashable GApps for x86
|
||||
|
||||
_make gapps_x86_64_
|
||||
- compile signed flashable GApps for x86_64
|
||||
|
||||
Build inline with Android
|
||||
-------------------
|
||||
1. Sync this repo to `$GAPPS_PATH` where `$GAPPS_PATH` is the path to this repo
|
||||
2. Include `$GAPPS_PATH/$ARCH/$ARCH-vendor.mk` where `$ARCH` is arm, arm64, x86, or x86_64 depending on the device's architecture
|
||||
2. Include `$GAPPS_PATH/$ARCH/$ARCH-vendor.mk` where `$ARCH` is arm, arm64, or x86_64 depending on the device's architecture
|
||||
|
||||
Explanation of pinned blobs
|
||||
-------------------
|
||||
|
@ -17,10 +17,6 @@ gapps_arm64:
|
||||
@echo "Compiling GApps for arm64..."
|
||||
@bash $(BUILD_GAPPS) arm64 2>&1
|
||||
|
||||
gapps_x86:
|
||||
@echo "Compiling GApps for x86..."
|
||||
@bash $(BUILD_GAPPS) x86 2>&1
|
||||
|
||||
gapps_x86_64:
|
||||
@echo "Compiling GApps for x86_64..."
|
||||
@bash $(BUILD_GAPPS) x86_64 2>&1
|
||||
|
@ -4,6 +4,6 @@
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifneq ($(filter arm arm64 x86 x86_64,$(TARGET_ARCH)),)
|
||||
ifneq ($(filter arm arm64 x86_64,$(TARGET_ARCH)),)
|
||||
|
||||
endif
|
||||
|
@ -1,3 +0,0 @@
|
||||
product/priv-app/Velvet/Velvet.apk;PRESIGNED
|
||||
|
||||
system_ext/priv-app/SetupWizard/SetupWizard.apk;OVERRIDES=Provision;PRESIGNED
|
@ -1,3 +0,0 @@
|
||||
product/priv-app/GmsCore/GmsCore.apk;PRESIGNED
|
||||
product/priv-app/Phonesky/Phonesky.apk;PRESIGNED
|
||||
product/lib/libjni_latinimegoogle.so|40e731390e8372196db987b1d7fd83c204b42e41
|
@ -40,7 +40,7 @@ fi
|
||||
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$ANDROID_ROOT" true
|
||||
|
||||
# Copyright headers
|
||||
write_headers "arm arm64 x86 x86_64"
|
||||
write_headers "arm arm64 x86_64"
|
||||
|
||||
# Common gapps
|
||||
write_makefiles "$MY_DIR"/proprietary-files-common.txt
|
||||
@ -65,7 +65,7 @@ sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK"
|
||||
# We are done with common
|
||||
write_footers
|
||||
|
||||
for DEVICE in arm arm64 x86 x86_64; do
|
||||
for DEVICE in arm arm64 x86_64; do
|
||||
|
||||
# Reinitialize the helper for target gapps
|
||||
setup_vendor "$DEVICE" "$VENDOR" "$ANDROID_ROOT"
|
||||
|
@ -1,80 +0,0 @@
|
||||
// Automatically generated file. DO NOT MODIFY
|
||||
//
|
||||
// This file is generated by device/gapps/x86/setup-makefiles.sh
|
||||
|
||||
soong_namespace {
|
||||
imports: [
|
||||
"vendor/gapps/common",
|
||||
],
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libjni_latinimegoogle",
|
||||
owner: "gapps",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_x86: {
|
||||
srcs: ["proprietary/product/lib/libjni_latinimegoogle.so"],
|
||||
shared_libs: ["libc", "libc++", "libm", "libdl", ],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
product_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "GmsCore",
|
||||
owner: "gapps",
|
||||
apk: "proprietary/product/priv-app/GmsCore/GmsCore.apk",
|
||||
preprocessed: true,
|
||||
presigned: true,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
product_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "Phonesky",
|
||||
owner: "gapps",
|
||||
apk: "proprietary/product/priv-app/Phonesky/Phonesky.apk",
|
||||
preprocessed: true,
|
||||
presigned: true,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
product_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "Velvet",
|
||||
owner: "gapps",
|
||||
apk: "proprietary/product/priv-app/Velvet/Velvet.apk",
|
||||
preprocessed: true,
|
||||
presigned: true,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
product_specific: true,
|
||||
}
|
||||
|
||||
android_app_import {
|
||||
name: "SetupWizard",
|
||||
owner: "gapps",
|
||||
apk: "proprietary/system_ext/priv-app/SetupWizard/SetupWizard.apk",
|
||||
overrides: ["Provision"],
|
||||
preprocessed: true,
|
||||
presigned: true,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
privileged: true,
|
||||
system_ext_specific: true,
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
# Automatically generated file. DO NOT MODIFY
|
||||
#
|
||||
# This file is generated by device/gapps/x86/setup-makefiles.sh
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
|
||||
endif
|
@ -1,4 +0,0 @@
|
||||
# Automatically generated file. DO NOT MODIFY
|
||||
#
|
||||
# This file is generated by device/gapps/x86/setup-makefiles.sh
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,21 +0,0 @@
|
||||
# Automatically generated file. DO NOT MODIFY
|
||||
#
|
||||
# This file is generated by device/gapps/x86/setup-makefiles.sh
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/gapps/x86
|
||||
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libjni_latinimegoogle \
|
||||
GmsCore \
|
||||
Phonesky
|
||||
|
||||
ifeq ($(TARGET_IS_GROUPER),)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
Velvet \
|
||||
SetupWizard
|
||||
endif
|
||||
|
||||
$(call inherit-product, vendor/gapps/common/common-vendor.mk)
|
Loading…
Reference in New Issue
Block a user