OSDN Git Service

Merge "Parse the layer of exiftool output" into gb-ub-photos-bryce
[android-x86/packages-apps-Gallery2.git] / Android.mk
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 := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
13 LOCAL_SRC_FILES += $(call all-java-files-under, src_pd)
14 LOCAL_SRC_FILES += $(call all-java-files-under, actionbarsherlock/src)
15 LOCAL_SRC_FILES += $(call all-java-files-under, ../Camera/src)
16
17 LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res 
18 LOCAL_RESOURCE_DIR += packages/apps/Camera/res
19 LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/actionbarsherlock/res
20
21 LOCAL_AAPT_FLAGS := --auto-add-overlay \
22     --extra-packages com.android.camera:com.actionbarsherlock
23
24 LOCAL_PACKAGE_NAME := Gallery2
25
26 LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
27
28 LOCAL_SDK_VERSION := current
29
30 # If this is an unbundled build (to install seprately) then include
31 # the libraries in the APK, otherwise just put them in /system/lib and
32 # leave them out of the APK
33 ifneq (,$(TARGET_BUILD_APPS))
34   LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic libjni_eglfence libjni_filtershow_filters
35 else
36   LOCAL_REQUIRED_MODULES := libjni_mosaic libjni_eglfence libjni_filtershow_filters
37 endif
38
39 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
40
41 include $(BUILD_PACKAGE)
42
43 include $(call all-makefiles-under, jni)
44
45 ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),)
46 # Use the following include to make gallery test apk.
47 include $(call all-makefiles-under, $(LOCAL_PATH))
48
49 # Use the following include to make camera test apk.
50 include $(call all-makefiles-under, ../Camera)
51
52 endif