1 // Copyright 2006 The Android Open Source Project 2 3 cc_library_headers { 4 name: "libhardware_headers", 5 header_libs: [ 6 "libaudio_system_headers", 7 "libsystem_headers", 8 "libcutils_headers", 9 ], 10 export_header_lib_headers: [ 11 "libaudio_system_headers", 12 "libsystem_headers", 13 "libcutils_headers", 14 ], 15 16 export_include_dirs: ["include"], 17 vendor_available: true, 18 } 19 20 cc_library_shared { 21 name: "libhardware", 22 23 srcs: ["hardware.c"], 24 shared_libs: [ 25 "libcutils", 26 "liblog", 27 "libdl", 28 "libvndksupport", 29 ], 30 cflags: ["-DQEMU_HARDWARE"], 31 32 header_libs: ["libhardware_headers"], 33 export_header_lib_headers: ["libhardware_headers"], 34 35 vendor_available: true, 36 vndk: { 37 enabled: true, 38 support_system_process: true, 39 }, 40 } 41 42 subdirs = [ 43 "modules/*", 44 "tests/*", 45 ] 46