platform_external_selinux/prebuilts/Android.mk
Jeff Vander Stoep e537f38384 Use prebuilt in-tree audit2allow
Linux only. Audit2allow is a python executable. Install a sh wrapper around
the python executable that points to the appropriate prebuilt library and
python module.

Change-Id: I991cfec229e542d2489672fbbc597feca8ec33cc
2015-05-18 09:17:55 -07:00

21 lines
498 B
Makefile

ifeq ($(HOST_OS), linux)
LOCAL_PATH:= $(call my-dir)
##
# libselinux.so host prebuilt
#
include $(CLEAR_VARS)
LOCAL_PREBUILT_LIBS := lib/libselinux.so.1
include $(BUILD_HOST_PREBUILT)
##
# audit2allow/audit2why prebuilt
# Shell wrapper that sets the LD_LIBRARY_PATH and calls the
# audit2allow/why python script
#
include $(CLEAR_VARS)
LOCAL_PREBUILT_EXECUTABLES := usr/bin/audit2allow \
usr/bin/audit2why
include $(BUILD_HOST_PREBUILT)
endif # ($(HOST_OS), linux)