Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 2 | |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 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 | |
| 10 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 11 | LOCAL_SRC_FILES += $(call all-java-files-under, src_pd) |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 12 | LOCAL_SRC_FILES += $(call all-java-files-under, ../Camera/src) |
| 13 | |
| 14 | LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res packages/apps/Camera/res |
| 15 | LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.camera |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 16 | |
| 17 | LOCAL_PACKAGE_NAME := Gallery2 |
| 18 | |
| 19 | LOCAL_OVERRIDES_PACKAGES := Gallery Gallery3D GalleryNew3D |
| 20 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 21 | #LOCAL_SDK_VERSION := current |
| 22 | |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 23 | LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic libjni_eglfence |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 24 | |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 25 | LOCAL_REQUIRED_MODULES := libjni_mosaic libjni_eglfence |
Owen Lin | f9a0a43 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 26 | |
| 27 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 28 | |
| 29 | include $(BUILD_PACKAGE) |
| 30 | |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 31 | include $(call all-makefiles-under, jni) |
| 32 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 33 | ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),) |
| 34 | # Use the following include to make gallery test apk. |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 35 | include $(call all-makefiles-under, $(LOCAL_PATH)) |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 36 | |
| 37 | # Use the following include to make camera test apk. |
| 38 | include $(call all-makefiles-under, ../Camera) |
Ruei-sung Lin | e5c8ed7 | 2012-05-31 11:59:31 -0700 | [diff] [blame] | 39 | |
Chih-Chung Chang | 6376478 | 2012-03-08 20:10:53 +0800 | [diff] [blame] | 40 | endif |