Merge "Fix Darwin build caused by -Wunused-parameter."

This commit is contained in:
Tim Murray 2014-07-25 00:25:10 +00:00 committed by Gerrit Code Review
commit 6698ebf928

View file

@ -66,6 +66,9 @@ LOCAL_SRC_FILES:= $(commonSources)
ifeq ($(HOST_OS), linux)
LOCAL_SRC_FILES += Looper.cpp
endif
ifeq ($(HOST_OS),darwin)
LOCAL_CFLAGS += -Wno-unused-parameter
endif
LOCAL_MODULE:= libutils
LOCAL_STATIC_LIBRARIES := liblog
LOCAL_CFLAGS += $(host_commonCflags)