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 9 10LOCAL_SRC_FILES := $(call all-java-files-under, src) 11LOCAL_SRC_FILES += $(call all-java-files-under, src_pd) 12LOCAL_SRC_FILES += $(call all-java-files-under, ../Camera/src) 13 14LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res packages/apps/Camera/res 15LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.camera 16 17LOCAL_PACKAGE_NAME := Gallery2 18 19LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D 20 21#LOCAL_SDK_VERSION := current 22 23LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic libjni_eglfence 24 25LOCAL_REQUIRED_MODULES := libjni_mosaic libjni_eglfence 26 27LOCAL_PROGUARD_FLAG_FILES := proguard.flags 28 29include $(BUILD_PACKAGE) 30 31include $(call all-makefiles-under, jni) 32 33ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),) 34# Use the following include to make gallery test apk. 35include $(call all-makefiles-under, $(LOCAL_PATH)) 36 37# Use the following include to make camera test apk. 38include $(call all-makefiles-under, ../Camera) 39 40endif 41