Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
external_libselinux
Commits
b6d816fc
Commit
b6d816fc
authored
9 years ago
by
Colin Cross
Committed by
android-build-merger
9 years ago
Browse files
Options
Download
Plain Diff
libselinux: stop copying headers
am:
589c5ac4
* commit '
589c5ac4
': libselinux: stop copying headers
parents
7e61ee9b
589c5ac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
Android.mk
Android.mk
+8
-11
No files found.
Android.mk
View file @
b6d816fc
...
...
@@ -41,20 +41,18 @@ common_HOST_FILES := \
src/label_support.c
common_COPY_HEADERS_TO
:=
selinux
common_COPY_HEADERS
:=
include/selinux/selinux.h include/selinux/label.h include/selinux/context.h include/selinux/avc.h include/selinux/android.h
include
$(CLEAR_VARS)
LOCAL_SRC_FILES
:=
$(common_SRC_FILES)
$(common_HOST_FILES)
src/android.c
LOCAL_MODULE
:=
libselinux
LOCAL_MODULE_TAGS
:=
eng
LOCAL_STATIC_LIBRARIES
:=
libmincrypt
LOCAL_C_INCLUDES
:=
external/pcre
LOCAL_C_INCLUDES
:=
$(LOCAL_PATH)
/include
external/pcre
LOCAL_WHOLE_STATIC_LIBRARIES
:=
libpcre libpackagelistparser
# 1003 corresponds to auditd, from system/core/logd/event.logtags
LOCAL_CFLAGS
:=
-DAUDITD_LOG_TAG
=
1003
# mapping.c has redundant check of array p_in->perms.
LOCAL_CLANG_CFLAGS
+=
-Wno-pointer-bool-conversion
LOCAL_EXPORT_C_INCLUDE_DIRS
:=
$(LOCAL_PATH)
/include
include
$(BUILD_STATIC_LIBRARY)
...
...
@@ -69,22 +67,22 @@ LOCAL_SRC_FILES := $(common_HOST_FILES)
LOCAL_MODULE
:=
libselinux
LOCAL_MODULE_TAGS
:=
eng
LOCAL_WHOLE_STATIC_LIBRARIES
:=
libpcre
LOCAL_C_INCLUDES
:=
external/pcre
LOCAL_C_INCLUDES
:=
$(LOCAL_PATH)
/include external/pcre
LOCAL_EXPORT_C_INCLUDE_DIRS
:=
$(LOCAL_PATH)
/include
include
$(BUILD_HOST_STATIC_LIBRARY)
include
$(CLEAR_VARS)
LOCAL_SRC_FILES
:=
$(common_SRC_FILES)
$(common_HOST_FILES)
src/android.c
LOCAL_MODULE
:=
libselinux
LOCAL_MODULE_TAGS
:=
eng
LOCAL_COPY_HEADERS_TO
:=
$(common_COPY_HEADERS_TO)
LOCAL_COPY_HEADERS
:=
$(common_COPY_HEADERS)
LOCAL_STATIC_LIBRARIES
:=
libmincrypt
LOCAL_C_INCLUDES
:=
external/pcre
LOCAL_C_INCLUDES
:=
$(LOCAL_PATH)
/include
external/pcre
LOCAL_SHARED_LIBRARIES
:=
liblog libpcre libpackagelistparser
# 1003 corresponds to auditd, from system/core/logd/event.logtags
LOCAL_CFLAGS
:=
-DAUDITD_LOG_TAG
=
1003
# mapping.c has redundant check of array p_in->perms.
LOCAL_CLANG_CFLAGS
+=
-Wno-pointer-bool-conversion
LOCAL_EXPORT_C_INCLUDE_DIRS
:=
$(LOCAL_PATH)
/include
include
$(BUILD_SHARED_LIBRARY)
...
...
@@ -98,10 +96,9 @@ endif
LOCAL_SRC_FILES
:=
$(common_HOST_FILES)
LOCAL_MODULE
:=
libselinux
LOCAL_MODULE_TAGS
:=
eng
LOCAL_COPY_HEADERS_TO
:=
$(common_COPY_HEADERS_TO)
LOCAL_COPY_HEADERS
:=
$(common_COPY_HEADERS)
LOCAL_WHOLE_STATIC_LIBRARIES
:=
libpcre
LOCAL_C_INCLUDES
:=
external/pcre
LOCAL_C_INCLUDES
:=
$(LOCAL_PATH)
/include external/pcre
LOCAL_EXPORT_C_INCLUDE_DIRS
:=
$(LOCAL_PATH)
/include
include
$(BUILD_HOST_SHARED_LIBRARY)
#################################
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment