1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_TAGS := optional 6 7LOCAL_STATIC_ANDROID_LIBRARIES := \ 8 androidx.fragment_fragment \ 9 androidx.legacy_legacy-support-core-ui \ 10 androidx.core_core \ 11 androidx.legacy_legacy-support-v13 12 13LOCAL_STATIC_JAVA_LIBRARIES := \ 14 com.android.gallery3d.common2 \ 15 xmp_toolkit \ 16 mp4parser 17 18LOCAL_SRC_FILES := \ 19 $(call all-java-files-under, src) \ 20 $(call all-renderscript-files-under, src) \ 21 $(call all-java-files-under, src_pd) 22 23LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res 24 25LOCAL_USE_AAPT2 := true 26 27LOCAL_PACKAGE_NAME := Gallery2 28 29LOCAL_PRODUCT_MODULE := true 30 31LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D 32 33LOCAL_SDK_VERSION := current 34 35LOCAL_JNI_SHARED_LIBRARIES := \ 36 libjni_eglfence \ 37 libjni_filtershow_filters \ 38 libjni_jpegstream 39 40LOCAL_PROGUARD_FLAG_FILES := proguard.flags 41 42LOCAL_JAVA_LIBRARIES += org.apache.http.legacy 43 44LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt 45 46include $(BUILD_PACKAGE) 47 48ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),) 49 50# Use the following include to make gallery test apk 51include $(call all-makefiles-under, $(LOCAL_PATH)) 52 53endif 54