blob: 6584c4a3f99a179a2435d144f218705eaf23481f [file] [log] [blame]
Owen Linf9a0a432011-08-17 22:07:43 +08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_MODULE_TAGS := optional
5
6LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13
7LOCAL_STATIC_JAVA_LIBRARIES += com.android.gallery3d.common2
8
9LOCAL_SRC_FILES := $(call all-java-files-under, src)
10LOCAL_SRC_FILES += $(call all-java-files-under, src_pd)
Chih-Chung Chang63764782012-03-08 20:10:53 +080011LOCAL_SRC_FILES += $(call all-java-files-under, ../Camera/src)
12
13LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res packages/apps/Camera/res
14LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.camera
Owen Linf9a0a432011-08-17 22:07:43 +080015
16LOCAL_PACKAGE_NAME := Gallery2
17
18LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D
19
Chih-Chung Chang63764782012-03-08 20:10:53 +080020#LOCAL_SDK_VERSION := current
21
22LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic
23
24LOCAL_REQUIRED_MODULES := libjni_mosaic
Owen Linf9a0a432011-08-17 22:07:43 +080025
26LOCAL_PROGUARD_FLAG_FILES := proguard.flags
27
28include $(BUILD_PACKAGE)
29
Chih-Chung Chang63764782012-03-08 20:10:53 +080030ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),)
31# Use the following include to make gallery test apk.
Owen Linf9a0a432011-08-17 22:07:43 +080032include $(call all-makefiles-under,$(LOCAL_PATH))
Chih-Chung Chang63764782012-03-08 20:10:53 +080033
34# Use the following include to make camera test apk.
35include $(call all-makefiles-under, ../Camera)
36endif