blob: af8bda9f73c97c255d3cbe8e01fcc6f5d0e8a7f5 [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"],
35}
Tom Cherrya5744e22020-09-01 22:35:56 +000036
37cc_benchmark {
38 name: "property_context_lookup_benchmark",
39 srcs: [
40 "context_lookup_benchmark.cpp",
41 ],
42 include_dirs: [
43 "bionic/libc",
44 ],
45
46 shared_libs: ["libbase"],
47 static_libs: [
48 "libpropertyinfoserializer",
49 "libsystemproperties",
50 "libasync_safe",
51 ],
52}