Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 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) |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame^] | 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 |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 15 | |
| 16 | LOCAL_PACKAGE_NAME := Gallery2 |
| 17 | |
| 18 | LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D |
| 19 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame^] | 20 | #LOCAL_SDK_VERSION := current |
| 21 | |
| 22 | LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic |
| 23 | |
| 24 | LOCAL_REQUIRED_MODULES := libjni_mosaic |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 25 | |
| 26 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 27 | |
| 28 | include $(BUILD_PACKAGE) |
| 29 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame^] | 30 | ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),) |
| 31 | # Use the following include to make gallery test apk. |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 32 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame^] | 33 | |
| 34 | # Use the following include to make camera test apk. |
| 35 | include $(call all-makefiles-under, ../Camera) |
| 36 | endif |