Home | History | Annotate | Download | only in healthd
      1 # Copyright 2013 The Android Open Source Project
      2 
      3 ifneq ($(BUILD_TINY_ANDROID),true)
      4 
      5 LOCAL_PATH := $(call my-dir)
      6 
      7 include $(CLEAR_VARS)
      8 LOCAL_SRC_FILES := healthd_board_default.cpp
      9 LOCAL_MODULE := libhealthd.default
     10 include $(BUILD_STATIC_LIBRARY)
     11 
     12 include $(CLEAR_VARS)
     13 
     14 LOCAL_SRC_FILES := \
     15 	healthd.cpp \
     16 	BatteryMonitor.cpp \
     17 	BatteryPropertiesRegistrar.cpp
     18 
     19 LOCAL_MODULE := healthd
     20 LOCAL_MODULE_TAGS := optional
     21 LOCAL_FORCE_STATIC_EXECUTABLE := true
     22 LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
     23 LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
     24 
     25 LOCAL_STATIC_LIBRARIES :=  libbatteryservice libbinder libz libutils libstdc++ libcutils liblog libm libc
     26 LOCAL_HAL_STATIC_LIBRARIES := libhealthd
     27 
     28 include $(BUILD_EXECUTABLE)
     29 
     30 endif
     31