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"], |
Spandan Das | 0a6cfe9 | 2024-01-04 18:06:50 +0000 | [diff] [blame] | 35 | apex_available: [ |
| 36 | "com.android.runtime", |
| 37 | ], |
Tom Cherry | e275d6d | 2017-12-11 23:31:33 -0800 | [diff] [blame] | 38 | } |
Tom Cherry | a5744e2 | 2020-09-01 22:35:56 +0000 | [diff] [blame] | 39 | |
| 40 | cc_benchmark { |
| 41 | name: "property_context_lookup_benchmark", |
| 42 | srcs: [ |
| 43 | "context_lookup_benchmark.cpp", |
| 44 | ], |
| 45 | include_dirs: [ |
| 46 | "bionic/libc", |
| 47 | ], |
| 48 | |
| 49 | shared_libs: ["libbase"], |
| 50 | static_libs: [ |
| 51 | "libpropertyinfoserializer", |
| 52 | "libsystemproperties", |
| 53 | "libasync_safe", |
| 54 | ], |
| 55 | } |