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", |
| 8 | ], |
| 9 | export_header_lib_headers: [ |
| 10 | "libaudio_system_headers", |
| 11 | "libsystem_headers" |
| 12 | ], |
Steven Moreland | d393352 | 2017-04-13 19:14:57 -0700 | [diff] [blame] | 13 | |
Vijay Venkatraman | 2ca3ee0 | 2017-04-04 14:25:43 -0700 | [diff] [blame] | 14 | export_include_dirs: ["include"], |
Dan Willemsen | 5466d2e | 2017-04-07 14:15:17 -0700 | [diff] [blame] | 15 | vendor_available: true, |
Vijay Venkatraman | 2ca3ee0 | 2017-04-04 14:25:43 -0700 | [diff] [blame] | 16 | } |
| 17 | |
Dan Willemsen | f51bf92 | 2016-07-12 22:29:13 -0700 | [diff] [blame] | 18 | cc_library_shared { |
| 19 | name: "libhardware", |
| 20 | |
| 21 | srcs: ["hardware.c"], |
| 22 | shared_libs: [ |
| 23 | "libcutils", |
| 24 | "liblog", |
| 25 | "libdl", |
| 26 | ], |
Dan Willemsen | f51bf92 | 2016-07-12 22:29:13 -0700 | [diff] [blame] | 27 | cflags: ["-DQEMU_HARDWARE"], |
Steven Moreland | d393352 | 2017-04-13 19:14:57 -0700 | [diff] [blame] | 28 | |
| 29 | header_libs: ["libhardware_headers"], |
| 30 | export_header_lib_headers: ["libhardware_headers"], |
| 31 | |
Dan Willemsen | 5466d2e | 2017-04-07 14:15:17 -0700 | [diff] [blame] | 32 | vendor_available: true, |
Dan Willemsen | f51bf92 | 2016-07-12 22:29:13 -0700 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | subdirs = [ |
| 36 | "modules/*", |
| 37 | "tests/*", |
| 38 | ] |