347f2884db
Turn on -Wall -Werror in services/batteryservice and services/powermanager. Fix warnings. Change-Id: I1da667083013379cd8240377c48d63fa5c53033d
21 lines
413 B
Makefile
21 lines
413 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
BatteryProperties.cpp \
|
|
BatteryProperty.cpp \
|
|
IBatteryPropertiesListener.cpp \
|
|
IBatteryPropertiesRegistrar.cpp
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libutils \
|
|
libbinder
|
|
|
|
LOCAL_MODULE:= libbatteryservice
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|