Skip to content

Commit

Permalink
healthd: allow devices to provide their own libhealthd
Browse files Browse the repository at this point in the history
  * to use, set TARGET_PROVIDES_LIBHEALTHD := true

Change-Id: I5de702219fce6c0feb94a4c74978d81a1a12ca35
  • Loading branch information
dferg authored and broodplank committed Nov 13, 2013
1 parent 23e0f13 commit 2840ed1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions healthd/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ ifneq ($(BUILD_TINY_ANDROID),true)

LOCAL_PATH := $(call my-dir)

ifneq ($(TARGET_PROVIDES_LIBHEALTHD),true)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := healthd_board_default.cpp
LOCAL_MODULE := libhealthd.default
include $(BUILD_STATIC_LIBRARY)
endif

include $(CLEAR_VARS)

Expand Down

0 comments on commit 2840ed1

Please sign in to comment.