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