1 LOCAL_PATH:= $(call my-dir)
5 LOCAL_MODULE_TAGS := optional
7 LOCAL_STATIC_ANDROID_LIBRARIES := \
8 androidx.fragment_fragment \
9 androidx.legacy_legacy-support-core-ui \
11 androidx.legacy_legacy-support-v13
13 LOCAL_STATIC_JAVA_LIBRARIES := \
14 com.android.gallery3d.common2 \
19 $(call all-java-files-under, src) \
20 $(call all-renderscript-files-under, src) \
21 $(call all-java-files-under, src_pd)
23 LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res
25 LOCAL_USE_AAPT2 := true
27 LOCAL_PACKAGE_NAME := Gallery2
29 LOCAL_PRODUCT_MODULE := true
31 LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
33 LOCAL_SDK_VERSION := current
35 LOCAL_JNI_SHARED_LIBRARIES := \
37 libjni_filtershow_filters \
40 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
42 LOCAL_JAVA_LIBRARIES += org.apache.http.legacy
44 LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt
46 include $(BUILD_PACKAGE)
48 ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),)
50 # Use the following include to make gallery test apk
51 include $(call all-makefiles-under, $(LOCAL_PATH))