Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jankowskib/f338051554ac458b87c4 to your computer and use it in GitHub Desktop.
Save jankowskib/f338051554ac458b87c4 to your computer and use it in GitHub Desktop.
LOCAL_PATH := $(my-dir)
include $(CLEAR_VARS)
$(foreach t,$(call find-subdir-files, *.apk), \
$(eval include $(CLEAR_VARS)) \
$(eval LOCAL_MODULE_PATH := $(TARGET_OUT_APPS)) \
$(eval LOCAL_SRC_FILES := $(t)) \
$(eval LOCAL_MODULE := $(basename $(notdir $(t)))) \
$(eval LOCAL_MODULE_CLASS := APPS) \
$(eval LOCAL_CERTIFICATE := PRESIGNED) \
$(eval LOCAL_MODULE_TAGS := optional) \
$(eval LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)) \
$(eval include $(BUILD_PREBUILT)) \
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment