Skip to content
Snippets Groups Projects
Commit cdf33af8 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge feadfab3 on remote branch

Change-Id: I82f7dda8170c2bcdd2605ae88c5f9aafda0b8ec6
cc_library_static {
name: "libcras",
srcs: [
"common/cras_audio_format.c",
"common/cras_config.c",
"common/cras_file_wait.c",
"common/cras_util.c",
"common/edid_utils.c",
"libcras/cras_client.c",
"libcras/cras_helpers.c",
],
shared_libs: ["libtinyalsa"],
export_include_dirs: [
"common",
"libcras",
],
cflags: [
"-DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\"",
"-Wall",
"-Werror",
"-Wno-error=missing-field-initializers",
"-Wno-sign-compare",
"-Wno-unused-parameter",
],
}
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
common/cras_audio_format.c \
common/cras_config.c \
common/cras_file_wait.c \
common/cras_util.c \
common/edid_utils.c \
libcras/cras_client.c \
libcras/cras_helpers.c
LOCAL_SHARED_LIBRARIES := \
libtinyalsa
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/common \
$(LOCAL_PATH)/libcras \
external/tinyalsa/include
LOCAL_CFLAGS += \
-DCRAS_SOCKET_FILE_DIR=\"/var/run/cras\" \
-Wall \
-Werror \
-Wno-error=missing-field-initializers \
-Wno-sign-compare \
-Wno-unused-parameter \
LOCAL_MODULE := libcras
include $(BUILD_STATIC_LIBRARY)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment