From d5f10b36cf2dcea9da15db05885b0edfa62d6dd7 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Tue, 15 Jan 2019 21:28:31 +0800 Subject: [PATCH] Add libc_headers to header_libs for libpropertyinfoparser This commit adds `libc_headers` to `header_libs` for `libpropertyinfoparser`. Before this commit, `libpropertyinfoparser` relies on `libc` that are silently added to `system_shared_libs`. This will no longer work if the build system always respects the `system_shared_libs` that are specified in `Android.bp`. Thus, we should depend on `libc_headers` instead. Bug: 123006819 Test: make checkbuild Change-Id: I2d416c6db7f42f12ad20d98f4048753254f5e0b6 --- property_service/libpropertyinfoparser/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/property_service/libpropertyinfoparser/Android.bp b/property_service/libpropertyinfoparser/Android.bp index 6637deb05..5c57d690e 100644 --- a/property_service/libpropertyinfoparser/Android.bp +++ b/property_service/libpropertyinfoparser/Android.bp @@ -13,5 +13,6 @@ cc_library_static { ], stl: "none", system_shared_libs: [], + header_libs: ["libc_headers"], export_include_dirs: ["include"], }