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