1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SRC_FILES := \ 6 camera_metadata.c 7 8LOCAL_C_INCLUDES:= \ 9 system/media/camera/include \ 10 system/media/private/camera/include 11 12LOCAL_SHARED_LIBRARIES := \ 13 libcutils \ 14 liblog 15 16LOCAL_MODULE := libcamera_metadata 17LOCAL_MODULE_TAGS := optional 18 19LOCAL_CFLAGS += \ 20 -Wall \ 21 -fvisibility=hidden \ 22 -std=c99 23 24ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),) 25 # Enable assert() 26 LOCAL_CFLAGS += -UNDEBUG -DLOG_NDEBUG=1 27endif 28 29LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include 30 31include $(BUILD_SHARED_LIBRARY) 32