1package { 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 11cc_library_static { 12 name: "libsystemproperties", 13 defaults: ["libc_defaults"], 14 native_bridge_supported: true, 15 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 ], 26 header_libs: [ 27 "libasync_safe_headers", 28 ], 29 30 include_dirs: [ 31 "bionic/libc", 32 "bionic/libstdc++/include", 33 ], 34 export_include_dirs: ["include"], 35} 36 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} 53