android_system_core/property_service/libpropertyinfoparser/Android.bp
Logan Chien d5f10b36cf 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
2019-01-17 21:18:01 +08:00

18 lines
407 B
Text

cc_library_static {
name: "libpropertyinfoparser",
host_supported: true,
vendor_available: true,
recovery_available: true,
srcs: ["property_info_parser.cpp"],
cpp_std: "experimental",
cppflags: [
"-Wall",
"-Wextra",
"-Werror",
],
stl: "none",
system_shared_libs: [],
header_libs: ["libc_headers"],
export_include_dirs: ["include"],
}