blob: 15f27428db99f51d1b6cb0f093667bab21c858f0 [file] [log] [blame]
Dan Willemsenf51bf922016-07-12 22:29:13 -07001// Copyright 2006 The Android Open Source Project
2
Vijay Venkatraman2ca3ee02017-04-04 14:25:43 -07003cc_library_headers {
4 name: "libhardware_headers",
Steven Morelandd2487902017-04-17 16:56:41 -07005 header_libs: [
6 "libaudio_system_headers",
7 "libsystem_headers",
Jiyong Park9bd43bd2017-06-26 13:28:51 +09008 "libcutils_headers",
Dan Willemsen86e247a2017-12-18 21:10:37 -08009 "libbluetooth-types-header",
Steven Morelandd2487902017-04-17 16:56:41 -070010 ],
11 export_header_lib_headers: [
12 "libaudio_system_headers",
Jiyong Park9bd43bd2017-06-26 13:28:51 +090013 "libsystem_headers",
14 "libcutils_headers",
Dan Willemsen86e247a2017-12-18 21:10:37 -080015 "libbluetooth-types-header",
Steven Morelandd2487902017-04-17 16:56:41 -070016 ],
Steven Morelandd3933522017-04-13 19:14:57 -070017
Vijay Venkatraman2ca3ee02017-04-04 14:25:43 -070018 export_include_dirs: ["include"],
Jerry Zhang551e1f72018-06-20 17:04:52 -070019 recovery_available: true,
Dan Willemsen5466d2e2017-04-07 14:15:17 -070020 vendor_available: true,
Jerry Zhang551e1f72018-06-20 17:04:52 -070021 target: {
22 recovery: {
23 exclude_header_libs: [
24 "libaudio_system_headers",
25 "libbluetooth-types-header",
26 ],
27 },
28 },
Jooyung Hanb1e43a92020-04-16 18:48:32 +090029 min_sdk_version: "29",
A. Cody Schuffelene8ee2fc2020-04-29 14:46:38 -070030 host_supported: true,
Jerry Zhang551e1f72018-06-20 17:04:52 -070031
Vijay Venkatraman2ca3ee02017-04-04 14:25:43 -070032}
33
Dan Willemsenf51bf922016-07-12 22:29:13 -070034cc_library_shared {
35 name: "libhardware",
36
37 srcs: ["hardware.c"],
38 shared_libs: [
39 "libcutils",
40 "liblog",
41 "libdl",
Jiyong Park375f1a42017-05-11 02:15:07 +090042 "libvndksupport",
Dan Willemsenf51bf922016-07-12 22:29:13 -070043 ],
Chih-Hung Hsieh23594232017-09-29 15:41:15 -070044 cflags: [
45 "-DQEMU_HARDWARE",
46 "-Wall",
47 "-Werror",
48 ],
Steven Morelandd3933522017-04-13 19:14:57 -070049
50 header_libs: ["libhardware_headers"],
51 export_header_lib_headers: ["libhardware_headers"],
52
Jerry Zhang551e1f72018-06-20 17:04:52 -070053 recovery_available: true,
Dan Willemsen5466d2e2017-04-07 14:15:17 -070054 vendor_available: true,
Justin Yund49aeee2017-07-24 15:19:45 +090055 vndk: {
56 enabled: true,
57 support_system_process: true,
58 },
Jerry Zhang551e1f72018-06-20 17:04:52 -070059 target: {
60 recovery: {
61 exclude_shared_libs: ["libvndksupport"],
62 },
63 },
Jooyung Hanb1e43a92020-04-16 18:48:32 +090064 min_sdk_version: "29",
Dan Willemsenf51bf922016-07-12 22:29:13 -070065}