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