Home | History | Annotate | Download | only in src
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_SRC_FILES := \
      6 	common/cras_audio_format.c \
      7 	common/cras_config.c \
      8 	common/cras_file_wait.c \
      9 	common/cras_util.c \
     10 	common/edid_utils.c \
     11 	libcras/cras_client.c \
     12 	libcras/cras_helpers.c
     13 
     14 LOCAL_SHARED_LIBRARIES := \
     15 	libtinyalsa
     16 
     17 LOCAL_C_INCLUDES += \
     18 	$(LOCAL_PATH)/common \
     19 	$(LOCAL_PATH)/libcras \
     20 	external/tinyalsa/include
     21 
     22 LOCAL_CFLAGS += \
     23 	-DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\" \
     24 	-Wall \
     25 	-Werror \
     26 	-Wno-error=missing-field-initializers \
     27 	-Wno-sign-compare \
     28 	-Wno-unused-parameter \
     29 
     30 LOCAL_MODULE := libcras
     31 
     32 include $(BUILD_STATIC_LIBRARY)
     33