Christopher Ferris | 7a3681e | 2017-04-24 17:48:32 -0700 | [diff] [blame] | 1 | // ======================================================== |
| 2 | // libasync_safe.a |
| 3 | // ======================================================== |
Bob Badour | aa7d835 | 2021-02-19 13:06:22 -0800 | [diff] [blame] | 4 | package { |
| 5 | // See: http://go/android-license-faq |
| 6 | // A large-scale-change added 'default_applicable_licenses' to import |
| 7 | // all of the 'license_kinds' from "bionic_libc_license" |
| 8 | // to get the below license kinds: |
| 9 | // SPDX-license-identifier-BSD |
| 10 | default_applicable_licenses: ["bionic_libc_license"], |
| 11 | } |
| 12 | |
Christopher Ferris | 7a3681e | 2017-04-24 17:48:32 -0700 | [diff] [blame] | 13 | cc_library_static { |
| 14 | defaults: ["libc_defaults"], |
| 15 | srcs: [ |
| 16 | "async_safe_log.cpp", |
| 17 | ], |
| 18 | |
| 19 | name: "libasync_safe", |
Jiyong Park | ec0d6b4 | 2017-05-15 15:22:12 +0900 | [diff] [blame] | 20 | vendor_available: true, |
Justin Yun | 869a0fa | 2020-11-11 15:16:11 +0900 | [diff] [blame] | 21 | product_available: true, |
Jiyong Park | 8d7866c | 2018-05-29 16:34:39 +0900 | [diff] [blame] | 22 | recovery_available: true, |
dimitry | 7f04880 | 2019-05-03 15:57:34 +0200 | [diff] [blame] | 23 | native_bridge_supported: true, |
Christopher Ferris | 7a3681e | 2017-04-24 17:48:32 -0700 | [diff] [blame] | 24 | |
| 25 | include_dirs: ["bionic/libc"], |
Elliott Hughes | 1eacc0e | 2024-01-19 19:05:36 +0000 | [diff] [blame] | 26 | header_libs: [ |
| 27 | "libc_headers", |
| 28 | "liblog_headers", |
| 29 | ], |
Christopher Ferris | 7a3681e | 2017-04-24 17:48:32 -0700 | [diff] [blame] | 30 | |
| 31 | export_include_dirs: ["include"], |
Elliott Hughes | 3019d78 | 2019-02-13 12:39:07 -0800 | [diff] [blame] | 32 | export_header_lib_headers: ["liblog_headers"], |
| 33 | stl: "none", |
Jiyong Park | 2aa19dc | 2020-04-08 22:52:06 +0900 | [diff] [blame] | 34 | |
| 35 | apex_available: [ |
Brian Duddie | e78ea1f | 2022-09-01 00:18:34 +0000 | [diff] [blame] | 36 | "//apex_available:anyapex", |
Jiyong Park | 2aa19dc | 2020-04-08 22:52:06 +0900 | [diff] [blame] | 37 | "//apex_available:platform", |
Jiyong Park | 2aa19dc | 2020-04-08 22:52:06 +0900 | [diff] [blame] | 38 | ], |
Nicolas Geoffray | 4647d48 | 2021-03-03 22:04:45 +0000 | [diff] [blame] | 39 | min_sdk_version: "apex_inherit", |
Elliott Hughes | 3019d78 | 2019-02-13 12:39:07 -0800 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | cc_library_headers { |
| 43 | name: "libasync_safe_headers", |
Yifan Hong | 5a39cee | 2020-01-21 16:43:56 -0800 | [diff] [blame] | 44 | ramdisk_available: true, |
Yifan Hong | b04490d | 2020-10-21 18:36:36 -0700 | [diff] [blame] | 45 | vendor_ramdisk_available: true, |
Elliott Hughes | 3019d78 | 2019-02-13 12:39:07 -0800 | [diff] [blame] | 46 | recovery_available: true, |
dimitry | 7f04880 | 2019-05-03 15:57:34 +0200 | [diff] [blame] | 47 | native_bridge_supported: true, |
Alex Light | 7448f3e | 2019-02-19 09:47:40 -0800 | [diff] [blame] | 48 | defaults: ["linux_bionic_supported"], |
Elliott Hughes | 3019d78 | 2019-02-13 12:39:07 -0800 | [diff] [blame] | 49 | |
| 50 | export_include_dirs: ["include"], |
| 51 | |
| 52 | system_shared_libs: [], |
| 53 | stl: "none", |
Jiyong Park | 2aa19dc | 2020-04-08 22:52:06 +0900 | [diff] [blame] | 54 | |
| 55 | apex_available: [ |
| 56 | "//apex_available:platform", |
| 57 | "com.android.runtime", |
| 58 | ], |
Christopher Ferris | 7a3681e | 2017-04-24 17:48:32 -0700 | [diff] [blame] | 59 | } |