replicant-frameworks_native/cmds/installd/Android.mk
Ying Wang 8a0cb4ee0b Add liblog
Bug: 8580410
Change-Id: I2ca4fa00dde0b574df3619134836bcb9315bd506
2013-04-09 21:55:39 -07:00

44 lines
600 B
Makefile

LOCAL_PATH := $(call my-dir)
common_src_files := \
commands.c utils.c
#
# Static library used in testing and executable
#
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
$(common_src_files)
LOCAL_MODULE := libinstalld
LOCAL_MODULE_TAGS := eng tests
include $(BUILD_STATIC_LIBRARY)
#
# Executable
#
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
installd.c \
$(common_src_files)
LOCAL_SHARED_LIBRARIES := \
libcutils \
liblog \
libselinux
LOCAL_STATIC_LIBRARIES := \
libdiskusage
LOCAL_MODULE := installd
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)