Android.mk revision 94afecf4b6f437b3ee9a076242402e421c6c07a6
194afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_PATH := $(call my-dir) 294afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 394afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwoodcommon_src_files := \ 494afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood commands.c utils.c 594afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 694afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood# 794afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood# Static library used in testing and executable 894afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood# 994afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 1094afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwoodinclude $(CLEAR_VARS) 1194afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 1294afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_SRC_FILES := \ 1394afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood $(common_src_files) 1494afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 1594afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_MODULE := libinstalld 1694afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 1794afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_MODULE_TAGS := eng tests 1894afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 1994afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwoodinclude $(BUILD_STATIC_LIBRARY) 2094afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 2194afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood# 2294afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood# Executable 2394afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood# 2494afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 2594afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwoodinclude $(CLEAR_VARS) 2694afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 2794afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_SRC_FILES := \ 2894afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood installd.c \ 2994afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood $(common_src_files) 3094afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 3194afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_SHARED_LIBRARIES := \ 3294afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood libcutils \ 3394afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood libselinux 3494afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 3594afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_STATIC_LIBRARIES := \ 3694afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood libdiskusage 3794afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 3894afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_MODULE := installd 3994afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 4094afecf4b6f437b3ee9a076242402e421c6c07a6Mike LockwoodLOCAL_MODULE_TAGS := optional 4194afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwood 4294afecf4b6f437b3ee9a076242402e421c6c07a6Mike Lockwoodinclude $(BUILD_EXECUTABLE) 43