vince: removepackage: move to bp

Co-authored-by: Le Hong Duc <hongducthbk123@gmail.com>
Signed-off-by: Onelots <onelots@onelots.fr>

Signed-off-by: Onelots <onelots@onelots.fr>
This commit is contained in:
2025-04-26 16:19:40 +02:00
parent 242bb58b4c
commit bd22d9cb52
4 changed files with 41 additions and 43 deletions

View File

@@ -89,7 +89,7 @@ PRODUCT_PACKAGES += \
# Remove unwanted packages
PRODUCT_PACKAGES += \
RemovePackages
RemovePackagesVince
# Audio configuration
PRODUCT_COPY_FILES += \

40
removepackages/Android.bp Normal file
View File

@@ -0,0 +1,40 @@
cc_prebuilt_binary {
name: "RemovePackagesVince",
overrides: [
"AudioFX",
"arcore",
"AICorePrebuilt",
"AiWallpapers",
"AndroidAutoStubPrebuilt",
"Camera2",
"Calendar2",
"Calendar",
"DevicePersonalizationPrebuiltPixel2020",
"DeviceAsWebcam",
"DuckDuckGo",
"Etar",
"Flash",
"GoogleTTS",
"Gallery2",
"Jellyfish",
"Jelly",
"Maps",
"Photos",
"PixelThemesStub",
"PixelThemesStub2022_and_newer",
"PixelWallpapers2023",
"PixelLiveWallpaperPrebuilt",
"Recorder",
"SnapCamera",
"SafetyHubPrebuilt",
"Seedvault",
"SimpleGallery",
"TurboPrebuilt",
"WellbeingPrebuilt",
"YouTube",
],
strip: {
none: true,
},
srcs: ["RemovePackagesVince"],
}

View File

@@ -1,42 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := RemovePackages
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_TAGS := optional
LOCAL_OVERRIDES_PACKAGES := \
AudioFX \
arcore \
AICorePrebuilt \
AiWallpapers \
AndroidAutoStubPrebuilt \
Camera2 \
Calendar2 \
Calendar \
DevicePersonalizationPrebuiltPixel2020 \
DeviceAsWebcam \
DuckDuckGo \
Etar \
Flash \
GoogleTTS \
Gallery2 \
Jellyfish \
Jelly \
Maps \
Photos \
PixelThemesStub \
PixelThemesStub2022_and_newer \
PixelWallpapers2023 \
PixelLiveWallpaperPrebuilt \
Recorder \
SnapCamera \
SafetyHubPrebuilt \
Seedvault \
SimpleGallery \
TurboPrebuilt \
WellbeingPrebuilt \
YouTube
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_CERTIFICATE := platform
LOCAL_SRC_FILES := /dev/null
include $(BUILD_PREBUILT)

View File