blob: a9bdeb5ba61ed8b680a46063768563f7101e01e8 [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",
21 "system_properties.cpp",
22 ],
23 whole_static_libs: [
24 "libpropertyinfoparser",
25 ],
Elliott Hughes3019d782019-02-13 12:39:07 -080026 header_libs: [
27 "libasync_safe_headers",
Tom Cherrye275d6d2017-12-11 23:31:33 -080028 ],
29
30 include_dirs: [
31 "bionic/libc",
32 "bionic/libstdc++/include",
33 ],
34 export_include_dirs: ["include"],
Spandan Das0a6cfe92024-01-04 18:06:50 +000035 apex_available: [
36 "com.android.runtime",
37 ],
Tom Cherrye275d6d2017-12-11 23:31:33 -080038}
Tom Cherrya5744e22020-09-01 22:35:56 +000039
40cc_benchmark {
41 name: "property_context_lookup_benchmark",
42 srcs: [
43 "context_lookup_benchmark.cpp",
44 ],
45 include_dirs: [
46 "bionic/libc",
47 ],
48
49 shared_libs: ["libbase"],
50 static_libs: [
51 "libpropertyinfoserializer",
52 "libsystemproperties",
53 "libasync_safe",
54 ],
55}