OSDN Git Service

am 3abf8faf: am 42c1892a: Patch 2 for MR1.
[android-x86/packages-apps-Gallery2.git] / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2 include $(CLEAR_VARS)
3
4 LOCAL_MODULE_TAGS := optional
5
6 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13
7 LOCAL_STATIC_JAVA_LIBRARIES += com.android.gallery3d.common2 
8
9 LOCAL_SRC_FILES := $(call all-java-files-under, src)
10 LOCAL_SRC_FILES += $(call all-java-files-under, src_pd)
11 LOCAL_SRC_FILES += $(call all-java-files-under, ../Camera/src)
12
13 LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res packages/apps/Camera/res
14 LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.camera
15
16 LOCAL_PACKAGE_NAME := Gallery2
17
18 LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
19
20 #LOCAL_SDK_VERSION := current
21
22 LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic
23
24 LOCAL_REQUIRED_MODULES := libjni_mosaic
25
26 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
27
28 include $(BUILD_PACKAGE)
29
30 ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),)
31 # Use the following include to make gallery test apk.
32 include $(call all-makefiles-under,$(LOCAL_PATH))
33
34 # Use the following include to make camera test apk.
35 include $(call all-makefiles-under, ../Camera)
36 endif