blob: 361fc792544a7c8fbd494826f26a193ac17c1d3f [file] [log] [blame]
Bob Badouraa7d8352021-02-19 13:06:22 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "bionic_libc_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 // SPDX-license-identifier-BSD
8 default_applicable_licenses: ["bionic_libc_license"],
9}
10
Tom Cherrye275d6d2017-12-11 23:31:33 -080011cc_library_static {
12 name: "libsystemproperties",
13 defaults: ["libc_defaults"],
dimitry7f048802019-05-03 15:57:34 +020014 native_bridge_supported: true,
Tom Cherrye275d6d2017-12-11 23:31:33 -080015 srcs: [
16 "context_node.cpp",
17 "contexts_split.cpp",
18 "contexts_serialized.cpp",
19 "prop_area.cpp",
20 "prop_info.cpp",
Bowgo Tsaid0ecf0b2020-04-13 13:07:43 +080021 "prop_trace.cpp",
Tom Cherrye275d6d2017-12-11 23:31:33 -080022 "system_properties.cpp",
23 ],
24 whole_static_libs: [
Bowgo Tsaid0ecf0b2020-04-13 13:07:43 +080025 "libc_bionic_systrace",
Tom Cherrye275d6d2017-12-11 23:31:33 -080026 "libpropertyinfoparser",
27 ],
Elliott Hughes3019d782019-02-13 12:39:07 -080028 header_libs: [
29 "libasync_safe_headers",
Tom Cherrye275d6d2017-12-11 23:31:33 -080030 ],
31
32 include_dirs: [
33 "bionic/libc",
34 "bionic/libstdc++/include",
35 ],
36 export_include_dirs: ["include"],
37}
Tom Cherrya5744e22020-09-01 22:35:56 +000038
39cc_benchmark {
40 name: "property_context_lookup_benchmark",
41 srcs: [
42 "context_lookup_benchmark.cpp",
43 ],
44 include_dirs: [
45 "bionic/libc",
46 ],
47
48 shared_libs: ["libbase"],
49 static_libs: [
50 "libpropertyinfoserializer",
51 "libsystemproperties",
52 "libasync_safe",
53 ],
54}