7f5c84a0b2
Have installd set an app's home directory permissions to 0700 if the app has targetSdkVersion > 17. Bug: 7208882 Change-Id: Iaa4fc42fec69bc1abdfae53704d6264dd6fa965f
42 lines
638 B
Makefile
42 lines
638 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_CFLAGS := -std=gnu99
|
|
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 \
|
|
libselinux
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libdiskusage
|
|
|
|
LOCAL_MODULE := installd
|
|
LOCAL_CFLAGS := -std=gnu99
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_EXECUTABLE)
|