blob: 38461694141724f3803041f770e35dfb538e4d31 [file] [log] [blame]
Tom Cherrye275d6d2017-12-11 23:31:33 -08001cc_library_static {
2 name: "libsystemproperties",
3 defaults: ["libc_defaults"],
dimitry7f048802019-05-03 15:57:34 +02004 native_bridge_supported: true,
Tom Cherrye275d6d2017-12-11 23:31:33 -08005 srcs: [
6 "context_node.cpp",
7 "contexts_split.cpp",
8 "contexts_serialized.cpp",
9 "prop_area.cpp",
10 "prop_info.cpp",
Bowgo Tsaid0ecf0b2020-04-13 13:07:43 +080011 "prop_trace.cpp",
Tom Cherrye275d6d2017-12-11 23:31:33 -080012 "system_properties.cpp",
13 ],
14 whole_static_libs: [
Bowgo Tsaid0ecf0b2020-04-13 13:07:43 +080015 "libc_bionic_systrace",
Tom Cherrye275d6d2017-12-11 23:31:33 -080016 "libpropertyinfoparser",
17 ],
Elliott Hughes3019d782019-02-13 12:39:07 -080018 header_libs: [
19 "libasync_safe_headers",
Tom Cherrye275d6d2017-12-11 23:31:33 -080020 ],
21
22 include_dirs: [
23 "bionic/libc",
24 "bionic/libstdc++/include",
25 ],
26 export_include_dirs: ["include"],
27}
Tom Cherrya5744e22020-09-01 22:35:56 +000028
29cc_benchmark {
30 name: "property_context_lookup_benchmark",
31 srcs: [
32 "context_lookup_benchmark.cpp",
33 ],
34 include_dirs: [
35 "bionic/libc",
36 ],
37
38 shared_libs: ["libbase"],
39 static_libs: [
40 "libpropertyinfoserializer",
41 "libsystemproperties",
42 "libasync_safe",
43 ],
44}