1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_TAGS := optional 6 7LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13 8LOCAL_STATIC_JAVA_LIBRARIES += com.android.gallery3d.common2 9LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit 10LOCAL_STATIC_JAVA_LIBRARIES += mp4parser 11 12LOCAL_SRC_FILES := \ 13 $(call all-java-files-under, src) \ 14 $(call all-renderscript-files-under, src) 15LOCAL_SRC_FILES += $(call all-java-files-under, src_pd) 16 17LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res 18 19LOCAL_AAPT_FLAGS := --auto-add-overlay 20 21LOCAL_PACKAGE_NAME := Gallery2 22 23LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D 24 25LOCAL_SDK_VERSION := current 26 27LOCAL_JNI_SHARED_LIBRARIES := libjni_eglfence libjni_filtershow_filters libjni_jpegstream 28 29LOCAL_PROGUARD_FLAG_FILES := proguard.flags 30 31LOCAL_JAVA_LIBRARIES += org.apache.http.legacy 32 33include $(BUILD_PACKAGE) 34 35ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),) 36 37# Use the following include to make gallery test apk 38include $(call all-makefiles-under, $(LOCAL_PATH)) 39 40endif 41