Fix libselinux => liblog dependencies
LOG_EVENT_STRING is not defined for liblog.vendor. Don't use it
for libselinux_vendor.
Test: mma -j
Test: BOARD_VNDK_VERSION=current mma -j
Bug: 63034227
Change-Id: Ibb653dac74da1ad678ccd5fabba97ab9bd0f0c38
(cherry picked from commit 09dff7c3a5
)
This commit is contained in:
parent
030fd08a36
commit
8a7da2c85b
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
#include "android_common.h"
|
||||
|
||||
#ifdef __ANDROID_VNDK__
|
||||
#ifndef LOG_EVENT_STRING
|
||||
#define LOG_EVENT_STRING(...)
|
||||
#endif // LOG_EVENT_STRING
|
||||
#endif // __ANDROID_VNDK__
|
||||
|
||||
static const struct selinux_opt seopts_service_split[] = {
|
||||
{ SELABEL_OPT_PATH, "/system/etc/selinux/plat_service_contexts" },
|
||||
{ SELABEL_OPT_PATH, "/vendor/etc/selinux/nonplat_service_contexts" }
|
||||
|
|
Loading…
Reference in a new issue