1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_TAGS := optional 6 7LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13 8LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit 9 10 11LOCAL_SRC_FILES := $(call all-java-files-under, src) 12LOCAL_SRC_FILES += $(call all-java-files-under, src_pd) 13LOCAL_SRC_FILES += $(call all-java-files-under, src_pd_gcam) 14 15LOCAL_RESOURCE_DIR += $(LOCAL_PATH)/res 16 17 18include $(LOCAL_PATH)/version.mk 19LOCAL_AAPT_FLAGS := \ 20 --auto-add-overlay \ 21 --version-name "$(version_name_package)" \ 22 --version-code $(version_code_package) \ 23 24LOCAL_PACKAGE_NAME := Camera2 25 26LOCAL_SDK_VERSION := current 27 28LOCAL_PROGUARD_FLAG_FILES := proguard.flags 29 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 33ifneq (,$(TARGET_BUILD_APPS)) 34 LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic libjni_tinyplanet 35else 36 LOCAL_REQUIRED_MODULES := libjni_mosaic libjni_tinyplanet 37endif 38 39include $(BUILD_PACKAGE) 40 41include $(call all-makefiles-under, $(LOCAL_PATH)) 42