aboutsummaryrefslogtreecommitdiff
path: root/libc/system_properties/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/system_properties/Android.bp')
-rw-r--r--libc/system_properties/Android.bp29
1 files changed, 29 insertions, 0 deletions
diff --git a/libc/system_properties/Android.bp b/libc/system_properties/Android.bp
index 8780ddae3..361fc7925 100644
--- a/libc/system_properties/Android.bp
+++ b/libc/system_properties/Android.bp
@@ -1,3 +1,13 @@
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "bionic_libc_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ // SPDX-license-identifier-BSD
+ default_applicable_licenses: ["bionic_libc_license"],
+}
+
cc_library_static {
name: "libsystemproperties",
defaults: ["libc_defaults"],
@@ -8,9 +18,11 @@ cc_library_static {
"contexts_serialized.cpp",
"prop_area.cpp",
"prop_info.cpp",
+ "prop_trace.cpp",
"system_properties.cpp",
],
whole_static_libs: [
+ "libc_bionic_systrace",
"libpropertyinfoparser",
],
header_libs: [
@@ -23,3 +35,20 @@ cc_library_static {
],
export_include_dirs: ["include"],
}
+
+cc_benchmark {
+ name: "property_context_lookup_benchmark",
+ srcs: [
+ "context_lookup_benchmark.cpp",
+ ],
+ include_dirs: [
+ "bionic/libc",
+ ],
+
+ shared_libs: ["libbase"],
+ static_libs: [
+ "libpropertyinfoserializer",
+ "libsystemproperties",
+ "libasync_safe",
+ ],
+}