| Bob Badour | aa7d835 | 2021-02-19 13:06:22 -0800 | [diff] [blame] | 1 | package { | 
 | 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 Cherry | e275d6d | 2017-12-11 23:31:33 -0800 | [diff] [blame] | 11 | cc_library_static { | 
 | 12 |     name: "libsystemproperties", | 
 | 13 |     defaults: ["libc_defaults"], | 
| dimitry | 7f04880 | 2019-05-03 15:57:34 +0200 | [diff] [blame] | 14 |     native_bridge_supported: true, | 
| Tom Cherry | e275d6d | 2017-12-11 23:31:33 -0800 | [diff] [blame] | 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 |     ], | 
| Elliott Hughes | 3019d78 | 2019-02-13 12:39:07 -0800 | [diff] [blame] | 26 |     header_libs: [ | 
 | 27 |         "libasync_safe_headers", | 
| Tom Cherry | e275d6d | 2017-12-11 23:31:33 -0800 | [diff] [blame] | 28 |     ], | 
 | 29 |  | 
 | 30 |     include_dirs: [ | 
 | 31 |         "bionic/libc", | 
 | 32 |         "bionic/libstdc++/include", | 
 | 33 |     ], | 
 | 34 |     export_include_dirs: ["include"], | 
 | 35 | } | 
| Tom Cherry | a5744e2 | 2020-09-01 22:35:56 +0000 | [diff] [blame] | 36 |  | 
 | 37 | cc_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 | } |