1// Copyright 2006 The Android Open Source Project 2 3cc_library_headers { 4 name: "libhardware_headers", 5 header_libs: [ 6 "libaudio_system_headers", 7 "libsystem_headers", 8 "libcutils_headers", 9 "libbluetooth-types-header", 10 ], 11 export_header_lib_headers: [ 12 "libaudio_system_headers", 13 "libsystem_headers", 14 "libcutils_headers", 15 "libbluetooth-types-header", 16 ], 17 18 export_include_dirs: ["include"], 19 recovery_available: true, 20 vendor_available: true, 21 target: { 22 recovery: { 23 exclude_header_libs: [ 24 "libaudio_system_headers", 25 "libbluetooth-types-header", 26 ], 27 }, 28 }, 29 30} 31 32cc_library_shared { 33 name: "libhardware", 34 35 srcs: ["hardware.c"], 36 shared_libs: [ 37 "libcutils", 38 "liblog", 39 "libdl", 40 "libvndksupport", 41 ], 42 cflags: [ 43 "-DQEMU_HARDWARE", 44 "-Wall", 45 "-Werror", 46 ], 47 48 header_libs: ["libhardware_headers"], 49 export_header_lib_headers: ["libhardware_headers"], 50 51 recovery_available: true, 52 vendor_available: true, 53 vndk: { 54 enabled: true, 55 support_system_process: true, 56 }, 57 target: { 58 recovery: { 59 exclude_shared_libs: ["libvndksupport"], 60 }, 61 }, 62} 63