libcutils_header exports liblog_headers

cutils/log.h includes log/log.h. Therefore, libcutils_headers needs to
export the liblog_headers so that the clients of libcutils don't have to
explicitly include liblog (or liblog_headers).

Bug: 37342627
Test: build sdk_gphone_x86 userdebug with BOARD_VNDK_VERSION=current
Change-Id: I8875855222b4d073fac4a22bff488c9d082d39df
This commit is contained in:
Jiyong Park 2017-09-04 12:18:40 +09:00
parent 2d3cf6799e
commit 8f63b6cfca
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ cc_library_headers {
vendor_available: true,
host_supported: true,
export_include_dirs: ["include"],
header_libs: ["liblog_headers"],
export_header_lib_headers: ["liblog_headers"],
target: {
vendor: {
export_include_dirs: ["include_vndk"],