Merge "Convert sepolicy-analyze to Android.bp"
This commit is contained in:
commit
4ea62412b8
2 changed files with 15 additions and 15 deletions
15
tools/sepolicy-analyze/Android.bp
Normal file
15
tools/sepolicy-analyze/Android.bp
Normal file
|
@ -0,0 +1,15 @@
|
|||
cc_binary_host {
|
||||
name: "sepolicy-analyze",
|
||||
defaults: ["sepolicy_tools_defaults"],
|
||||
|
||||
srcs: [
|
||||
"sepolicy-analyze.c",
|
||||
"dups.c",
|
||||
"neverallow.c",
|
||||
"perm.c",
|
||||
"typecmp.c",
|
||||
"booleans.c",
|
||||
"attribute.c",
|
||||
"utils.c",
|
||||
],
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
###################################
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := sepolicy-analyze
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CFLAGS := -Wall -Werror
|
||||
LOCAL_SRC_FILES := sepolicy-analyze.c dups.c neverallow.c perm.c typecmp.c booleans.c attribute.c utils.c
|
||||
LOCAL_STATIC_LIBRARIES := libsepol
|
||||
LOCAL_CXX_STL := none
|
||||
|
||||
LOCAL_COMPATIBILITY_SUITE := ats cts gts vts sts
|
||||
|
||||
include $(BUILD_HOST_EXECUTABLE)
|
Loading…
Reference in a new issue