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 | 3019d78 | 2019-02-13 12:39:07 -0800 | [diff] [blame] | 26 | header_libs: ["libc_headers", "liblog_headers"], |
Christopher Ferris | 7a3681e | 2017-04-24 17:48:32 -0700 | [diff] [blame] | 27 | |
| 28 | export_include_dirs: ["include"], |
Elliott Hughes | 3019d78 | 2019-02-13 12:39:07 -0800 | [diff] [blame] | 29 | export_header_lib_headers: ["liblog_headers"], |
| 30 | stl: "none", |
Jiyong Park | 2aa19dc | 2020-04-08 22:52:06 +0900 | [diff] [blame] | 31 | |
| 32 | apex_available: [ |
| 33 | "//apex_available:platform", |
| 34 | "com.android.runtime", |
Martin Stjernholm | 81c260d | 2020-10-12 15:07:38 +0100 | [diff] [blame] | 35 | "com.android.art", |
Jiyong Park | 2aa19dc | 2020-04-08 22:52:06 +0900 | [diff] [blame] | 36 | "com.android.art.debug", |
Jiyong Park | 2aa19dc | 2020-04-08 22:52:06 +0900 | [diff] [blame] | 37 | "com.android.media", |
| 38 | "com.android.media.swcodec", |
| 39 | ], |
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 | ], |
Rupert Shuttleworth | fd64868 | 2021-02-16 03:27:05 +0000 | [diff] [blame] | 59 | bazel_module: { bp2build_available: true }, |
Christopher Ferris | 7a3681e | 2017-04-24 17:48:32 -0700 | [diff] [blame] | 60 | } |