summaryrefslogtreecommitdiff
path: root/Android.mk
blob: 575c8c6315060a1dc076422614a17ec951b33783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

ifeq ($(TARGET_USE_DISKINSTALLER),true)

LOCAL_SRC_FILES := \
	installer.c

LOCAL_C_INCLUDES := $(LOCAL_PATH)/libdiskconfig

LOCAL_CFLAGS := -O2 -g -W -Wall -Werror

LOCAL_MODULE := diskinstaller
LOCAL_MODULE_TAGS := optional

LOCAL_STATIC_LIBRARIES := $(TARGET_DISK_CONFIG_LIB)
LOCAL_SYSTEM_SHARED_LIBRARIES := \
	libdiskconfig \
	libcutils \
	liblog \
	libc

include $(BUILD_EXECUTABLE)

include $(call first-makefiles-under,$(LOCAL_PATH))
endif