Dan Willemsen | f51bf92 | 2016-07-12 22:29:13 -0700 | [diff] [blame] | 1 | // Copyright 2006 The Android Open Source Project |
| 2 | |
Vijay Venkatraman | 2ca3ee0 | 2017-04-04 14:25:43 -0700 | [diff] [blame] | 3 | cc_library_headers { |
| 4 | name: "libhardware_headers", |
Steven Moreland | d248790 | 2017-04-17 16:56:41 -0700 | [diff] [blame] | 5 | header_libs: [ |
| 6 | "libaudio_system_headers", |
| 7 | "libsystem_headers", |
Jiyong Park | 9bd43bd | 2017-06-26 13:28:51 +0900 | [diff] [blame] | 8 | "libcutils_headers", |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame] | 9 | "libbluetooth-types-header", |
Steven Moreland | d248790 | 2017-04-17 16:56:41 -0700 | [diff] [blame] | 10 | ], |
| 11 | export_header_lib_headers: [ |
| 12 | "libaudio_system_headers", |
Jiyong Park | 9bd43bd | 2017-06-26 13:28:51 +0900 | [diff] [blame] | 13 | "libsystem_headers", |
| 14 | "libcutils_headers", |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame] | 15 | "libbluetooth-types-header", |
Steven Moreland | d248790 | 2017-04-17 16:56:41 -0700 | [diff] [blame] | 16 | ], |
Steven Moreland | d393352 | 2017-04-13 19:14:57 -0700 | [diff] [blame] | 17 | |
Vijay Venkatraman | 2ca3ee0 | 2017-04-04 14:25:43 -0700 | [diff] [blame] | 18 | export_include_dirs: ["include"], |
Jerry Zhang | 551e1f7 | 2018-06-20 17:04:52 -0700 | [diff] [blame] | 19 | recovery_available: true, |
Dan Willemsen | 5466d2e | 2017-04-07 14:15:17 -0700 | [diff] [blame] | 20 | vendor_available: true, |
Jerry Zhang | 551e1f7 | 2018-06-20 17:04:52 -0700 | [diff] [blame] | 21 | target: { |
| 22 | recovery: { |
| 23 | exclude_header_libs: [ |
| 24 | "libaudio_system_headers", |
| 25 | "libbluetooth-types-header", |
| 26 | ], |
| 27 | }, |
| 28 | }, |
Jooyung Han | b1e43a9 | 2020-04-16 18:48:32 +0900 | [diff] [blame] | 29 | min_sdk_version: "29", |
A. Cody Schuffelen | e8ee2fc | 2020-04-29 14:46:38 -0700 | [diff] [blame^] | 30 | host_supported: true, |
Jerry Zhang | 551e1f7 | 2018-06-20 17:04:52 -0700 | [diff] [blame] | 31 | |
Vijay Venkatraman | 2ca3ee0 | 2017-04-04 14:25:43 -0700 | [diff] [blame] | 32 | } |
| 33 | |
Dan Willemsen | f51bf92 | 2016-07-12 22:29:13 -0700 | [diff] [blame] | 34 | cc_library_shared { |
| 35 | name: "libhardware", |
| 36 | |
| 37 | srcs: ["hardware.c"], |
| 38 | shared_libs: [ |
| 39 | "libcutils", |
| 40 | "liblog", |
| 41 | "libdl", |
Jiyong Park | 375f1a4 | 2017-05-11 02:15:07 +0900 | [diff] [blame] | 42 | "libvndksupport", |
Dan Willemsen | f51bf92 | 2016-07-12 22:29:13 -0700 | [diff] [blame] | 43 | ], |
Chih-Hung Hsieh | 2359423 | 2017-09-29 15:41:15 -0700 | [diff] [blame] | 44 | cflags: [ |
| 45 | "-DQEMU_HARDWARE", |
| 46 | "-Wall", |
| 47 | "-Werror", |
| 48 | ], |
Steven Moreland | d393352 | 2017-04-13 19:14:57 -0700 | [diff] [blame] | 49 | |
| 50 | header_libs: ["libhardware_headers"], |
| 51 | export_header_lib_headers: ["libhardware_headers"], |
| 52 | |
Jerry Zhang | 551e1f7 | 2018-06-20 17:04:52 -0700 | [diff] [blame] | 53 | recovery_available: true, |
Dan Willemsen | 5466d2e | 2017-04-07 14:15:17 -0700 | [diff] [blame] | 54 | vendor_available: true, |
Justin Yun | d49aeee | 2017-07-24 15:19:45 +0900 | [diff] [blame] | 55 | vndk: { |
| 56 | enabled: true, |
| 57 | support_system_process: true, |
| 58 | }, |
Jerry Zhang | 551e1f7 | 2018-06-20 17:04:52 -0700 | [diff] [blame] | 59 | target: { |
| 60 | recovery: { |
| 61 | exclude_shared_libs: ["libvndksupport"], |
| 62 | }, |
| 63 | }, |
Jooyung Han | b1e43a9 | 2020-04-16 18:48:32 +0900 | [diff] [blame] | 64 | min_sdk_version: "29", |
Dan Willemsen | f51bf92 | 2016-07-12 22:29:13 -0700 | [diff] [blame] | 65 | } |