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 8 LOCAL_STATIC_JAVA_LIBRARIES += android-ex-camera2-portability 9 LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit 10 LOCAL_STATIC_JAVA_LIBRARIES += glide 11 LOCAL_STATIC_JAVA_LIBRARIES += guava 12 LOCAL_STATIC_JAVA_LIBRARIES += jsr305 13 14 LOCAL_SRC_FILES := $(call all-java-files-under, src) 15 LOCAL_SRC_FILES += $(call all-java-files-under, src_pd) 16 LOCAL_SRC_FILES += $(call all-java-files-under, src_pd_gcam) 17 18 LOCAL_RESOURCE_DIR += \ 19 $(LOCAL_PATH)/res \ 20 $(LOCAL_PATH)/res_p 21 22 23 include $(LOCAL_PATH)/version.mk 24 LOCAL_AAPT_FLAGS := \ 25 --auto-add-overlay \ 26 --version-name "$(version_name_package)" \ 27 --version-code $(version_code_package) \ 28 29 LOCAL_PACKAGE_NAME := Camera2 30 31 LOCAL_SDK_VERSION := current 32 33 LOCAL_PROGUARD_FLAG_FILES := proguard.flags 34 35 # Guava uses deprecated org.apache.http.legacy classes. 36 LOCAL_JAVA_LIBRARIES += org.apache.http.legacy 37 38 LOCAL_JNI_SHARED_LIBRARIES := libjni_tinyplanet libjni_jpegutil 39 40 include $(BUILD_PACKAGE) 41 42 include $(call all-makefiles-under, $(LOCAL_PATH)) 43