Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 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 |
Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 8 | LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit |
| 9 | |
| 10 | |
| 11 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 12 | LOCAL_SRC_FILES += $(call all-java-files-under, src_pd) |
| 13 | |
| 14 | LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res |
| 15 | |
Sascha Haeberling | 3023993 | 2013-08-28 14:51:53 -0700 | [diff] [blame] | 16 | |
| 17 | include $(LOCAL_PATH)/version.mk |
| 18 | LOCAL_AAPT_FLAGS := \ |
| 19 | --auto-add-overlay \ |
| 20 | --version-name "$(version_name_package)" \ |
| 21 | --version-code $(version_code_package) \ |
Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 22 | |
| 23 | LOCAL_PACKAGE_NAME := Camera2 |
| 24 | |
| 25 | LOCAL_SDK_VERSION := current |
| 26 | |
| 27 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 28 | |
Angus Kong | ed15d1a | 2013-08-19 15:06:12 -0700 | [diff] [blame] | 29 | # If this is an unbundled build (to install seprately) then include |
| 30 | # the libraries in the APK, otherwise just put them in /system/lib and |
| 31 | # leave them out of the APK |
| 32 | ifneq (,$(TARGET_BUILD_APPS)) |
| 33 | LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic |
| 34 | else |
| 35 | LOCAL_REQUIRED_MODULES := libjni_mosaic |
| 36 | endif |
| 37 | |
Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 38 | include $(BUILD_PACKAGE) |
| 39 | |
Sascha Haeberling | 3023993 | 2013-08-28 14:51:53 -0700 | [diff] [blame] | 40 | include $(call all-makefiles-under, $(LOCAL_PATH)) |