28acbeab18
Addresses the following error when running CTS on master: junit.framework.AssertionFailedError: The following errors were encountered when validating the SELinuxneverallow rule: neverallow { appdomain -bluetooth } self:capability *; /tmp/SELinuxHostTest5593810182495331783.tmp: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory Also indicate that none of the sepolicy tools need c++ std lib. (cherry-pick of 0cdb0517be696c0dc6882d289eedd45bf2da918c now made possible by addition of commit: 28b72eddd54cb1287dd7daae853e8e4b78fa17eb) Bug: 19617220 Change-Id: I2c5b7ab1ddeb0e02cbaad2b7d5430a0974524a89
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := checkseapp
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := external/libsepol/include/
|
|
LOCAL_CFLAGS := -DLINK_SEPOL_STATIC -Wall -Werror
|
|
LOCAL_SRC_FILES := check_seapp.c
|
|
LOCAL_STATIC_LIBRARIES := libsepol
|
|
LOCAL_CXX_STL := none
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|
|
|
|
###################################
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := checkfc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := external/libsepol/include \
|
|
external/libselinux/include
|
|
LOCAL_CFLAGS := -Wall -Werror
|
|
LOCAL_SRC_FILES := checkfc.c
|
|
LOCAL_STATIC_LIBRARIES := libsepol libselinux
|
|
LOCAL_CXX_STL := none
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|
|
|
|
##################################
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := insertkeys.py
|
|
LOCAL_SRC_FILES := insertkeys.py
|
|
LOCAL_MODULE_CLASS := EXECUTABLES
|
|
LOCAL_IS_HOST_MODULE := true
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_PREBUILT)
|
|
###################################
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := sepolicy-check
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_C_INCLUDES := external/libsepol/include
|
|
LOCAL_CFLAGS := -Wall -Werror
|
|
LOCAL_SRC_FILES := sepolicy-check.c
|
|
LOCAL_STATIC_LIBRARIES := libsepol
|
|
LOCAL_CXX_STL := none
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|