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 | |
kaiyiz | 0462353 | 2014-11-10 14:57:54 +0800 | [diff] [blame] | 17 | LOCAL_CERTIFICATE := platform |
Sascha Haeberling | 3023993 | 2013-08-28 14:51:53 -0700 | [diff] [blame] | 18 | |
| 19 | include $(LOCAL_PATH)/version.mk |
| 20 | LOCAL_AAPT_FLAGS := \ |
| 21 | --auto-add-overlay \ |
| 22 | --version-name "$(version_name_package)" \ |
| 23 | --version-code $(version_code_package) \ |
Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 24 | |
Sachin Shah | 89d153b | 2014-08-15 18:36:44 -0700 | [diff] [blame] | 25 | LOCAL_PACKAGE_NAME := SnapdragonCamera |
Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 26 | |
Alok Kediya | aed6525 | 2013-09-23 14:31:42 +0530 | [diff] [blame] | 27 | #LOCAL_SDK_VERSION := current |
Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 28 | |
Sai Kumar Sanagavarapu | 99670f2 | 2014-12-01 10:15:54 +0530 | [diff] [blame^] | 29 | LOCAL_OVERRIDES_PACKAGES := Camera2 |
| 30 | |
Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 31 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 32 | |
Leena Winterrowd | 7e19955 | 2014-08-13 12:00:39 -0700 | [diff] [blame] | 33 | # If this is an unbundled build (to install separately) then include |
Angus Kong | ed15d1a | 2013-08-19 15:06:12 -0700 | [diff] [blame] | 34 | # the libraries in the APK, otherwise just put them in /system/lib and |
| 35 | # leave them out of the APK |
| 36 | ifneq (,$(TARGET_BUILD_APPS)) |
Leena Winterrowd | 7e19955 | 2014-08-13 12:00:39 -0700 | [diff] [blame] | 37 | LOCAL_JNI_SHARED_LIBRARIES := libjni_snapcammosaic libjni_snapcamtinyplanet |
Angus Kong | ed15d1a | 2013-08-19 15:06:12 -0700 | [diff] [blame] | 38 | else |
Leena Winterrowd | 7e19955 | 2014-08-13 12:00:39 -0700 | [diff] [blame] | 39 | LOCAL_REQUIRED_MODULES := libjni_snapcammosaic libjni_snapcamtinyplanet |
Angus Kong | ed15d1a | 2013-08-19 15:06:12 -0700 | [diff] [blame] | 40 | endif |
| 41 | |
Sascha Haeberling | 43ec6fa | 2013-08-06 16:44:42 -0700 | [diff] [blame] | 42 | include $(BUILD_PACKAGE) |
| 43 | |
Leena Winterrowd | 6c0e99e | 2014-08-21 15:19:33 -0700 | [diff] [blame] | 44 | include $(call all-makefiles-under, $(LOCAL_PATH)) |