Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
Andreas Huber | 7c40088 | 2017-02-09 10:08:04 -0800 | [diff] [blame] | 3 | filegroup { |
| 4 | name: "android.hidl.base@1.0_hal", |
| 5 | srcs: [ |
| 6 | "types.hal", |
| 7 | "IBase.hal", |
| 8 | ], |
| 9 | } |
| 10 | |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 11 | genrule { |
| 12 | name: "android.hidl.base@1.0_genc++", |
| 13 | tools: ["hidl-gen"], |
Steven Moreland | cf1a03c | 2017-05-09 14:35:05 -0700 | [diff] [blame] | 14 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hidl:system/libhidl/transport android.hidl.base@1.0", |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 15 | srcs: [ |
Steven Moreland | 346cf51 | 2017-02-16 19:23:24 -0800 | [diff] [blame] | 16 | ":android.hidl.base@1.0_hal", |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 17 | ], |
| 18 | out: [ |
Yifan Hong | 0f2ef09 | 2017-01-31 13:44:51 -0800 | [diff] [blame] | 19 | "android/hidl/base/1.0/types.cpp", |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 20 | "android/hidl/base/1.0/BaseAll.cpp", |
| 21 | ], |
| 22 | } |
| 23 | |
| 24 | genrule { |
| 25 | name: "android.hidl.base@1.0_genc++_headers", |
| 26 | tools: ["hidl-gen"], |
Steven Moreland | cf1a03c | 2017-05-09 14:35:05 -0700 | [diff] [blame] | 27 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hidl:system/libhidl/transport android.hidl.base@1.0", |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 28 | srcs: [ |
Steven Moreland | 346cf51 | 2017-02-16 19:23:24 -0800 | [diff] [blame] | 29 | ":android.hidl.base@1.0_hal", |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 30 | ], |
| 31 | out: [ |
Yifan Hong | 0f2ef09 | 2017-01-31 13:44:51 -0800 | [diff] [blame] | 32 | "android/hidl/base/1.0/types.h", |
Steven Moreland | ed8820a | 2017-03-24 21:50:34 -0700 | [diff] [blame] | 33 | "android/hidl/base/1.0/hwtypes.h", |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 34 | "android/hidl/base/1.0/IBase.h", |
| 35 | "android/hidl/base/1.0/IHwBase.h", |
Yifan Hong | 4e92599 | 2017-01-09 17:47:17 -0800 | [diff] [blame] | 36 | "android/hidl/base/1.0/BnHwBase.h", |
| 37 | "android/hidl/base/1.0/BpHwBase.h", |
Yifan Hong | 2cd440c | 2016-11-23 11:30:36 -0800 | [diff] [blame] | 38 | "android/hidl/base/1.0/BsBase.h", |
| 39 | ], |
| 40 | } |
| 41 | |
Steven Moreland | 4f4c5a6 | 2017-05-01 09:38:13 -0700 | [diff] [blame] | 42 | // android.hidl.base@1.0 is exported from libhidltransport |
Steven Moreland | ff189a0 | 2017-09-15 16:22:48 -0700 | [diff] [blame] | 43 | |
| 44 | genrule { |
Steven Moreland | d5e146f | 2017-10-10 10:14:15 -0700 | [diff] [blame] | 45 | name: "android.hidl.base-V1.0-java_gen_java", |
| 46 | tools: ["hidl-gen"], |
| 47 | cmd: "$(location hidl-gen) -o $(genDir) -Ljava -randroid.hidl:system/libhidl/transport android.hidl.base@1.0", |
| 48 | srcs: [ |
| 49 | ":android.hidl.base@1.0_hal", |
| 50 | ], |
| 51 | out: [ |
| 52 | "android/hidl/base/V1_0/DebugInfo.java", |
| 53 | "android/hidl/base/V1_0/IBase.java", |
| 54 | ], |
| 55 | } |
| 56 | |
| 57 | java_library { |
| 58 | name: "android.hidl.base-V1.0-java", |
| 59 | no_framework_libs: true, |
| 60 | defaults: ["hidl-java-module-defaults"], |
| 61 | srcs: [":android.hidl.base-V1.0-java_gen_java"], |
| 62 | libs: [ |
| 63 | "hwbinder", |
| 64 | ] |
| 65 | } |
| 66 | |
| 67 | // This package does not export any types. Not creating java constants export. |
| 68 | |
| 69 | |
| 70 | genrule { |
Steven Moreland | ff189a0 | 2017-09-15 16:22:48 -0700 | [diff] [blame] | 71 | name: "android.hidl.base@1.0-adapter-helper_genc++", |
| 72 | tools: ["hidl-gen"], |
| 73 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hidl:system/libhidl/transport android.hidl.base@1.0", |
| 74 | srcs: [ |
| 75 | ":android.hidl.base@1.0_hal", |
| 76 | ], |
| 77 | out: [ |
| 78 | "android/hidl/base/1.0/ABase.cpp", |
| 79 | ], |
| 80 | } |
| 81 | |
| 82 | genrule { |
| 83 | name: "android.hidl.base@1.0-adapter-helper_genc++_headers", |
| 84 | tools: ["hidl-gen"], |
| 85 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hidl:system/libhidl/transport android.hidl.base@1.0", |
| 86 | srcs: [ |
| 87 | ":android.hidl.base@1.0_hal", |
| 88 | ], |
| 89 | out: [ |
| 90 | "android/hidl/base/1.0/ABase.h", |
| 91 | ], |
| 92 | } |
| 93 | |
Steven Moreland | ff189a0 | 2017-09-15 16:22:48 -0700 | [diff] [blame] | 94 | cc_library { |
| 95 | name: "android.hidl.base@1.0-adapter-helper", |
| 96 | defaults: ["hidl-module-defaults"], |
| 97 | generated_sources: ["android.hidl.base@1.0-adapter-helper_genc++"], |
| 98 | generated_headers: ["android.hidl.base@1.0-adapter-helper_genc++_headers"], |
| 99 | export_generated_headers: ["android.hidl.base@1.0-adapter-helper_genc++_headers"], |
| 100 | vendor_available: true, |
| 101 | shared_libs: [ |
| 102 | "libhidlbase", |
| 103 | "libhidltransport", |
| 104 | "libhwbinder", |
| 105 | "liblog", |
| 106 | "libutils", |
| 107 | "libcutils", |
| 108 | "libhidladapter", |
| 109 | ], |
| 110 | export_shared_lib_headers: [ |
| 111 | "libhidlbase", |
| 112 | "libhidltransport", |
| 113 | "libhwbinder", |
| 114 | "libutils", |
| 115 | "libhidladapter", |
| 116 | ], |
| 117 | } |
| 118 | |
| 119 | genrule { |
| 120 | name: "android.hidl.base@1.0-adapter_genc++", |
| 121 | tools: ["hidl-gen"], |
| 122 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hidl:system/libhidl/transport android.hidl.base@1.0", |
Steven Moreland | 818c042 | 2017-09-26 12:55:27 -0700 | [diff] [blame] | 123 | out: ["main.cpp"] |
| 124 | } |
Steven Moreland | ff189a0 | 2017-09-15 16:22:48 -0700 | [diff] [blame] | 125 | |
| 126 | cc_test { |
| 127 | name: "android.hidl.base@1.0-adapter", |
Steven Moreland | 0109873 | 2017-10-03 15:42:05 -0700 | [diff] [blame] | 128 | defaults: ["hidl-module-defaults"], |
Steven Moreland | ff189a0 | 2017-09-15 16:22:48 -0700 | [diff] [blame] | 129 | shared_libs: [ |
| 130 | "libhidladapter", |
| 131 | "libhidlbase", |
| 132 | "libhidltransport", |
| 133 | "libutils", |
| 134 | "android.hidl.base@1.0-adapter-helper", |
| 135 | ], |
| 136 | generated_sources: ["android.hidl.base@1.0-adapter_genc++"], |
| 137 | } |