libutils: export libbacktrace headers

This is used in CallStack.h.

Test: m -j libutils
Test: links
Test: trying to compile with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: If7258e7b38000a72fd520f725030fb0038f90167
This commit is contained in:
Steven Moreland 2017-04-13 21:01:40 -07:00
parent 5975d4e337
commit d3b4b2c96f
2 changed files with 9 additions and 2 deletions

View File

@ -57,6 +57,7 @@ libbacktrace_sources = [
cc_library_headers {
name: "libbacktrace_headers",
vendor_available: true,
export_include_dirs: ["include"],
}

View File

@ -16,8 +16,16 @@ cc_library_headers {
name: "libutils_headers",
vendor_available: true,
host_supported: true,
header_libs: ["libsystem_headers",],
export_header_lib_headers: ["libsystem_headers",],
export_include_dirs: ["include"],
target: {
android: {
header_libs: ["libbacktrace_headers"],
export_header_lib_headers: ["libbacktrace_headers"],
},
linux_bionic: {
enabled: true,
},
@ -59,11 +67,9 @@ cc_library {
cflags: ["-Werror"],
include_dirs: ["external/safe-iop/include"],
header_libs: [
"libsystem_headers",
"libutils_headers",
],
export_header_lib_headers: [
"libsystem_headers",
"libutils_headers",
],