Skip to content
Snippets Groups Projects
Commit 4deeab5c authored by Dan Willemsen's avatar Dan Willemsen Committed by android-build-merger
Browse files

Merge "Fix libsepolwrap with SANITIZE_HOST=address"

am: cdaf97bf

Change-Id: Ibcb3d728c233530f7354b409bf3849a021532b5d
parents adf68570 cdaf97bf
No related branches found
No related tags found
No related merge requests found
cc_library_host_shared { cc_library_host_shared {
name: "libsepolwrap", name: "libsepolwrap",
srcs: ["sepol_wrap.cpp"], srcs: ["sepol_wrap.cpp"],
shared_libs: ["libbase", "libsepol"], shared_libs: ["libsepol"],
cflags: ["-Wall", "-Werror",], cflags: ["-Wall", "-Werror",],
export_include_dirs: ["include"], export_include_dirs: ["include"],
// libsepolwrap gets loaded from the system python, which does not have the
// ASAN runtime. So turn off sanitization for ourself, and use static
// libraries, since the shared libraries will use ASAN.
static_libs: ["libbase"],
stl: "libc++_static",
sanitize: {
never: true,
},
} }
cc_prebuilt_binary { cc_prebuilt_binary {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment