blob: d45a2e3b37f7f492681e24d7b81edb5b1ff442a9 [file] [log] [blame]
Bob Badouraa7d8352021-02-19 13:06:22 -08001package {
Aditya Choudharyd9d37c02024-02-02 13:57:12 +00002 default_team: "trendy_team_native_tools_libraries",
Bob Badouraa7d8352021-02-19 13:06:22 -08003 // See: http://go/android-license-faq
4 // A large-scale-change added 'default_applicable_licenses' to import
5 // all of the 'license_kinds' from "bionic_libc_license"
6 // to get the below license kinds:
7 // SPDX-license-identifier-Apache-2.0
8 // SPDX-license-identifier-BSD
9 default_applicable_licenses: ["bionic_libc_license"],
10}
11
Tom Cherrye275d6d2017-12-11 23:31:33 -080012cc_library_static {
13 name: "libsystemproperties",
14 defaults: ["libc_defaults"],
dimitry7f048802019-05-03 15:57:34 +020015 native_bridge_supported: true,
Tom Cherrye275d6d2017-12-11 23:31:33 -080016 srcs: [
17 "context_node.cpp",
18 "contexts_split.cpp",
19 "contexts_serialized.cpp",
20 "prop_area.cpp",
21 "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"],
Spandan Das0a6cfe92024-01-04 18:06:50 +000036 apex_available: [
37 "com.android.runtime",
38 ],
Tom Cherrye275d6d2017-12-11 23:31:33 -080039}
Tom Cherrya5744e22020-09-01 22:35:56 +000040
41cc_benchmark {
42 name: "property_context_lookup_benchmark",
43 srcs: [
44 "context_lookup_benchmark.cpp",
45 ],
46 include_dirs: [
47 "bionic/libc",
48 ],
49
50 shared_libs: ["libbase"],
51 static_libs: [
52 "libpropertyinfoserializer",
53 "libsystemproperties",
54 "libasync_safe",
55 ],
56}