blob: e11b4f87e3ed8b78c760b67b3b9966fd6d52a0d9 [file] [log] [blame]
Mike Lockwood94afecf2012-10-24 10:45:23 -07001LOCAL_PATH := $(call my-dir)
2
3common_src_files := \
4 commands.c utils.c
5
6#
7# Static library used in testing and executable
8#
9
10include $(CLEAR_VARS)
11
12LOCAL_SRC_FILES := \
13 $(common_src_files)
Nick Kralevicha2d838a2013-01-09 16:00:35 -080014
Mike Lockwood94afecf2012-10-24 10:45:23 -070015LOCAL_MODULE := libinstalld
Nick Kralevicha2d838a2013-01-09 16:00:35 -080016
Mike Lockwood94afecf2012-10-24 10:45:23 -070017LOCAL_MODULE_TAGS := eng tests
18
19include $(BUILD_STATIC_LIBRARY)
20
21#
22# Executable
23#
24
25include $(CLEAR_VARS)
26
27LOCAL_SRC_FILES := \
28 installd.c \
29 $(common_src_files)
30
31LOCAL_SHARED_LIBRARIES := \
32 libcutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -070033 liblog \
Mike Lockwood94afecf2012-10-24 10:45:23 -070034 libselinux
35
36LOCAL_STATIC_LIBRARIES := \
37 libdiskusage
38
39LOCAL_MODULE := installd
Nick Kralevicha2d838a2013-01-09 16:00:35 -080040
Mike Lockwood94afecf2012-10-24 10:45:23 -070041LOCAL_MODULE_TAGS := optional
42
43include $(BUILD_EXECUTABLE)