Last active
May 6, 2024 12:56
-
-
Save eyal-lezmy/33fab7689ee0d5f3dbe1 to your computer and use it in GitHub Desktop.
Avoid adding Android Packages and apps to your AOSP build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCAL_PATH:= $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE_TAGS := optional | |
LOCAL_STATIC_JAVA_LIBRARIES := \ | |
android-common \ | |
LOCAL_SRC_FILES := \ | |
$(call all-java-files-under, src) \ | |
LOCAL_CERTIFICATE := shared | |
LOCAL_PACKAGE_NAME := RemoveApps | |
# It overrrides packages to avoid their addition to the ROM | |
LOCAL_OVERRIDES_PACKAGES := \ | |
Browser \ | |
Calculator \ | |
Calendar \ | |
CalendarProvider \ | |
Email \ | |
Exchange2 \ | |
Gallery2 \ | |
HoloSpiralWallpaper \ | |
HTMLViewer \ | |
Phone \ | |
SharedStorageBackup \ | |
SoundRecorder \ | |
TelephonyProvider \ | |
VideoEditor \ | |
VoiceDialer \ | |
VoicePlus \ | |
include $(BUILD_PACKAGE) | |
#TODO: avoid an app and try BUILD_PHONY_PACKAGE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @eyal-lezmy
Please, are you so kind to explain where I've to put this Android.mk file before to build Android?