blob: 106401cba8c330a1e8e3b24c1fb9c553caad7b68 [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",
Adithya Rba1dcb42023-12-08 05:53:08 +053020 "prop_imitation_hooks.cpp",
Tom Cherrye275d6d2017-12-11 23:31:33 -080021 "prop_info.cpp",
22 "system_properties.cpp",
23 ],
24 whole_static_libs: [
25 "libpropertyinfoparser",
26 ],
Elliott Hughes3019d782019-02-13 12:39:07 -080027 header_libs: [
28 "libasync_safe_headers",
Tom Cherrye275d6d2017-12-11 23:31:33 -080029 ],
30
31 include_dirs: [
32 "bionic/libc",
33 "bionic/libstdc++/include",
34 ],
35 export_include_dirs: ["include"],
36}
Tom Cherrya5744e22020-09-01 22:35:56 +000037
38cc_benchmark {
39 name: "property_context_lookup_benchmark",
40 srcs: [
41 "context_lookup_benchmark.cpp",
42 ],
43 include_dirs: [
44 "bionic/libc",
45 ],
46
47 shared_libs: ["libbase"],
48 static_libs: [
49 "libpropertyinfoserializer",
50 "libsystemproperties",
51 "libasync_safe",
52 ],
53}