Todd Poynor | 87bf0d9 | 2013-05-16 14:51:15 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
Andreas Gampe | 347f288 | 2014-11-13 14:31:11 -0800 | [diff] [blame] | 5 | BatteryProperties.cpp \ |
| 6 | BatteryProperty.cpp \ |
| 7 | IBatteryPropertiesListener.cpp \ |
| 8 | IBatteryPropertiesRegistrar.cpp |
Todd Poynor | 87bf0d9 | 2013-05-16 14:51:15 -0700 | [diff] [blame] | 9 | |
| 10 | LOCAL_STATIC_LIBRARIES := \ |
Andreas Gampe | 347f288 | 2014-11-13 14:31:11 -0800 | [diff] [blame] | 11 | libutils \ |
| 12 | libbinder |
Todd Poynor | 87bf0d9 | 2013-05-16 14:51:15 -0700 | [diff] [blame] | 13 | |
| 14 | LOCAL_MODULE:= libbatteryservice |
| 15 | |
| 16 | LOCAL_MODULE_TAGS := optional |
| 17 | |
Andreas Gampe | 347f288 | 2014-11-13 14:31:11 -0800 | [diff] [blame] | 18 | LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code |
| 19 | |
Todd Poynor | 87bf0d9 | 2013-05-16 14:51:15 -0700 | [diff] [blame] | 20 | include $(BUILD_STATIC_LIBRARY) |