platform_bionic/libc/system_properties/Android.bp
Tom Cherry e275d6d72d Split properties into their own class to make testing better
Reinitializing system properties can result in crashes later in the
program, and is generally not recommended or even supported.  This
change moves the actual logic for system properties into a class that
can be tested in isolation, without reinitializing the actual system
property area used in libc.

Bug: 62197783
Test: boot devices, ensure properties work
Test: system property unit tests and benchmarks
Change-Id: I9ae6e1b56c62f51a4d3fdb5b62b8926cef545649
2017-12-18 15:17:55 -08:00

24 lines
524 B
Text

cc_library_static {
name: "libsystemproperties",
defaults: ["libc_defaults"],
srcs: [
"context_node.cpp",
"contexts_split.cpp",
"contexts_serialized.cpp",
"prop_area.cpp",
"prop_info.cpp",
"system_properties.cpp",
],
whole_static_libs: [
"libpropertyinfoparser",
],
static_libs: [
"libasync_safe",
],
include_dirs: [
"bionic/libc",
"bionic/libstdc++/include",
],
export_include_dirs: ["include"],
}