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", |
Bowgo Tsai | d0ecf0b | 2020-04-13 13:07:43 +0800 | [diff] [blame] | 21 | "prop_trace.cpp", |
Tom Cherry | e275d6d | 2017-12-11 23:31:33 -0800 | [diff] [blame] | 22 | "system_properties.cpp", |
| 23 | ], |
| 24 | whole_static_libs: [ |
Bowgo Tsai | d0ecf0b | 2020-04-13 13:07:43 +0800 | [diff] [blame] | 25 | "libc_bionic_systrace", |
Tom Cherry | e275d6d | 2017-12-11 23:31:33 -0800 | [diff] [blame] | 26 | "libpropertyinfoparser", |
| 27 | ], |
Elliott Hughes | 3019d78 | 2019-02-13 12:39:07 -0800 | [diff] [blame] | 28 | header_libs: [ |
| 29 | "libasync_safe_headers", |
Tom Cherry | e275d6d | 2017-12-11 23:31:33 -0800 | [diff] [blame] | 30 | ], |
| 31 | |
| 32 | include_dirs: [ |
| 33 | "bionic/libc", |
| 34 | "bionic/libstdc++/include", |
| 35 | ], |
| 36 | export_include_dirs: ["include"], |
| 37 | } |
Tom Cherry | a5744e2 | 2020-09-01 22:35:56 +0000 | [diff] [blame] | 38 | |
| 39 | cc_benchmark { |
| 40 | name: "property_context_lookup_benchmark", |
| 41 | srcs: [ |
| 42 | "context_lookup_benchmark.cpp", |
| 43 | ], |
| 44 | include_dirs: [ |
| 45 | "bionic/libc", |
| 46 | ], |
| 47 | |
| 48 | shared_libs: ["libbase"], |
| 49 | static_libs: [ |
| 50 | "libpropertyinfoserializer", |
| 51 | "libsystemproperties", |
| 52 | "libasync_safe", |
| 53 | ], |
| 54 | } |