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 -Wextra \ 22 -Werror \ 23 -fvisibility=hidden \ 24 -std=c99 25 26ifneq ($(filter userdebug eng,$(TARGET_BUILD_VARIANT)),) 27 # Enable assert() 28 LOCAL_CFLAGS += -UNDEBUG -DLOG_NDEBUG=1 29endif 30 31LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include 32 33include $(BUILD_SHARED_LIBRARY) 34