summaryrefslogtreecommitdiffstats
path: root/automotive/evs/1.0/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'automotive/evs/1.0/Android.bp')
-rw-r--r--automotive/evs/1.0/Android.bp176
1 files changed, 16 insertions, 160 deletions
diff --git a/automotive/evs/1.0/Android.bp b/automotive/evs/1.0/Android.bp
index fa5fac090..4bc40686b 100644
--- a/automotive/evs/1.0/Android.bp
+++ b/automotive/evs/1.0/Android.bp
@@ -1,7 +1,11 @@
-// This file is autogenerated by hidl-gen. Do not edit manually.
+// This file is autogenerated by hidl-gen -Landroidbp.
-filegroup {
- name: "android.hardware.automotive.evs@1.0_hal",
+hidl_interface {
+ name: "android.hardware.automotive.evs@1.0",
+ root: "android.hardware",
+ vndk: {
+ enabled: true,
+ },
srcs: [
"types.hal",
"IEvsCamera.hal",
@@ -9,164 +13,16 @@ filegroup {
"IEvsDisplay.hal",
"IEvsEnumerator.hal",
],
-}
-
-genrule {
- name: "android.hardware.automotive.evs@1.0_genc++",
- tools: ["hidl-gen"],
- cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0",
- srcs: [
- ":android.hardware.automotive.evs@1.0_hal",
+ interfaces: [
+ "android.hidl.base@1.0",
],
- out: [
- "android/hardware/automotive/evs/1.0/types.cpp",
- "android/hardware/automotive/evs/1.0/EvsCameraAll.cpp",
- "android/hardware/automotive/evs/1.0/EvsCameraStreamAll.cpp",
- "android/hardware/automotive/evs/1.0/EvsDisplayAll.cpp",
- "android/hardware/automotive/evs/1.0/EvsEnumeratorAll.cpp",
+ types: [
+ "BufferDesc",
+ "CameraDesc",
+ "DisplayDesc",
+ "DisplayState",
+ "EvsResult",
],
+ gen_java: false,
}
-genrule {
- name: "android.hardware.automotive.evs@1.0_genc++_headers",
- tools: ["hidl-gen"],
- cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0",
- srcs: [
- ":android.hardware.automotive.evs@1.0_hal",
- ],
- out: [
- "android/hardware/automotive/evs/1.0/types.h",
- "android/hardware/automotive/evs/1.0/hwtypes.h",
- "android/hardware/automotive/evs/1.0/IEvsCamera.h",
- "android/hardware/automotive/evs/1.0/IHwEvsCamera.h",
- "android/hardware/automotive/evs/1.0/BnHwEvsCamera.h",
- "android/hardware/automotive/evs/1.0/BpHwEvsCamera.h",
- "android/hardware/automotive/evs/1.0/BsEvsCamera.h",
- "android/hardware/automotive/evs/1.0/IEvsCameraStream.h",
- "android/hardware/automotive/evs/1.0/IHwEvsCameraStream.h",
- "android/hardware/automotive/evs/1.0/BnHwEvsCameraStream.h",
- "android/hardware/automotive/evs/1.0/BpHwEvsCameraStream.h",
- "android/hardware/automotive/evs/1.0/BsEvsCameraStream.h",
- "android/hardware/automotive/evs/1.0/IEvsDisplay.h",
- "android/hardware/automotive/evs/1.0/IHwEvsDisplay.h",
- "android/hardware/automotive/evs/1.0/BnHwEvsDisplay.h",
- "android/hardware/automotive/evs/1.0/BpHwEvsDisplay.h",
- "android/hardware/automotive/evs/1.0/BsEvsDisplay.h",
- "android/hardware/automotive/evs/1.0/IEvsEnumerator.h",
- "android/hardware/automotive/evs/1.0/IHwEvsEnumerator.h",
- "android/hardware/automotive/evs/1.0/BnHwEvsEnumerator.h",
- "android/hardware/automotive/evs/1.0/BpHwEvsEnumerator.h",
- "android/hardware/automotive/evs/1.0/BsEvsEnumerator.h",
- ],
-}
-
-cc_library {
- name: "android.hardware.automotive.evs@1.0",
- defaults: ["hidl-module-defaults"],
- generated_sources: ["android.hardware.automotive.evs@1.0_genc++"],
- generated_headers: ["android.hardware.automotive.evs@1.0_genc++_headers"],
- export_generated_headers: ["android.hardware.automotive.evs@1.0_genc++_headers"],
- vendor_available: true,
- vndk: {
- enabled: true,
- },
- shared_libs: [
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "liblog",
- "libutils",
- "libcutils",
- ],
- export_shared_lib_headers: [
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "libutils",
- ],
-}
-
-// This package is not java compatible. Not creating java target.
-
-// This package does not export any types. Not creating java constants export.
-
-
-genrule {
- name: "android.hardware.automotive.evs@1.0-adapter-helper_genc++",
- tools: ["hidl-gen"],
- cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0",
- srcs: [
- ":android.hardware.automotive.evs@1.0_hal",
- ],
- out: [
- "android/hardware/automotive/evs/1.0/AEvsCamera.cpp",
- "android/hardware/automotive/evs/1.0/AEvsCameraStream.cpp",
- "android/hardware/automotive/evs/1.0/AEvsDisplay.cpp",
- "android/hardware/automotive/evs/1.0/AEvsEnumerator.cpp",
- ],
-}
-
-genrule {
- name: "android.hardware.automotive.evs@1.0-adapter-helper_genc++_headers",
- tools: ["hidl-gen"],
- cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0",
- srcs: [
- ":android.hardware.automotive.evs@1.0_hal",
- ],
- out: [
- "android/hardware/automotive/evs/1.0/AEvsCamera.h",
- "android/hardware/automotive/evs/1.0/AEvsCameraStream.h",
- "android/hardware/automotive/evs/1.0/AEvsDisplay.h",
- "android/hardware/automotive/evs/1.0/AEvsEnumerator.h",
- ],
-}
-
-cc_library {
- name: "android.hardware.automotive.evs@1.0-adapter-helper",
- defaults: ["hidl-module-defaults"],
- generated_sources: ["android.hardware.automotive.evs@1.0-adapter-helper_genc++"],
- generated_headers: ["android.hardware.automotive.evs@1.0-adapter-helper_genc++_headers"],
- export_generated_headers: ["android.hardware.automotive.evs@1.0-adapter-helper_genc++_headers"],
- vendor_available: true,
- shared_libs: [
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "liblog",
- "libutils",
- "libcutils",
- "libhidladapter",
- "android.hardware.automotive.evs@1.0",
- "android.hidl.base@1.0-adapter-helper",
- ],
- export_shared_lib_headers: [
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "libutils",
- "libhidladapter",
- "android.hardware.automotive.evs@1.0",
- "android.hidl.base@1.0-adapter-helper",
- ],
-}
-
-genrule {
- name: "android.hardware.automotive.evs@1.0-adapter_genc++",
- tools: ["hidl-gen"],
- cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0",
- out: ["main.cpp"]
-}
-
-cc_test {
- name: "android.hardware.automotive.evs@1.0-adapter",
- defaults: ["hidl-module-defaults"],
- shared_libs: [
- "libhidladapter",
- "libhidlbase",
- "libhidltransport",
- "libutils",
- "android.hardware.automotive.evs@1.0",
- "android.hardware.automotive.evs@1.0-adapter-helper",
- ],
- generated_sources: ["android.hardware.automotive.evs@1.0-adapter_genc++"],
-}