summaryrefslogtreecommitdiffstats
path: root/graphics/bufferqueue/1.0/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/bufferqueue/1.0/Android.bp')
-rw-r--r--graphics/bufferqueue/1.0/Android.bp156
1 files changed, 8 insertions, 148 deletions
diff --git a/graphics/bufferqueue/1.0/Android.bp b/graphics/bufferqueue/1.0/Android.bp
index 5e930b9fcc..0333a4296d 100644
--- a/graphics/bufferqueue/1.0/Android.bp
+++ b/graphics/bufferqueue/1.0/Android.bp
@@ -1,160 +1,20 @@
-// This file is autogenerated by hidl-gen. Do not edit manually.
+// This file is autogenerated by hidl-gen -Landroidbp.
-filegroup {
- name: "android.hardware.graphics.bufferqueue@1.0_hal",
- srcs: [
- "IGraphicBufferProducer.hal",
- "IProducerListener.hal",
- ],
-}
-
-genrule {
- name: "android.hardware.graphics.bufferqueue@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.graphics.bufferqueue@1.0",
- srcs: [
- ":android.hardware.graphics.bufferqueue@1.0_hal",
- ],
- out: [
- "android/hardware/graphics/bufferqueue/1.0/GraphicBufferProducerAll.cpp",
- "android/hardware/graphics/bufferqueue/1.0/ProducerListenerAll.cpp",
- ],
-}
-
-genrule {
- name: "android.hardware.graphics.bufferqueue@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.graphics.bufferqueue@1.0",
- srcs: [
- ":android.hardware.graphics.bufferqueue@1.0_hal",
- ],
- out: [
- "android/hardware/graphics/bufferqueue/1.0/IGraphicBufferProducer.h",
- "android/hardware/graphics/bufferqueue/1.0/IHwGraphicBufferProducer.h",
- "android/hardware/graphics/bufferqueue/1.0/BnHwGraphicBufferProducer.h",
- "android/hardware/graphics/bufferqueue/1.0/BpHwGraphicBufferProducer.h",
- "android/hardware/graphics/bufferqueue/1.0/BsGraphicBufferProducer.h",
- "android/hardware/graphics/bufferqueue/1.0/IProducerListener.h",
- "android/hardware/graphics/bufferqueue/1.0/IHwProducerListener.h",
- "android/hardware/graphics/bufferqueue/1.0/BnHwProducerListener.h",
- "android/hardware/graphics/bufferqueue/1.0/BpHwProducerListener.h",
- "android/hardware/graphics/bufferqueue/1.0/BsProducerListener.h",
- ],
-}
-
-cc_library {
+hidl_interface {
name: "android.hardware.graphics.bufferqueue@1.0",
- defaults: ["hidl-module-defaults"],
- generated_sources: ["android.hardware.graphics.bufferqueue@1.0_genc++"],
- generated_headers: ["android.hardware.graphics.bufferqueue@1.0_genc++_headers"],
- export_generated_headers: ["android.hardware.graphics.bufferqueue@1.0_genc++_headers"],
- vendor_available: true,
+ root: "android.hardware",
vndk: {
enabled: true,
},
- shared_libs: [
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "liblog",
- "libutils",
- "libcutils",
- "android.hardware.graphics.common@1.0",
- "android.hardware.media@1.0",
- ],
- export_shared_lib_headers: [
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "libutils",
- "android.hardware.graphics.common@1.0",
- "android.hardware.media@1.0",
- ],
-}
-
-// 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.graphics.bufferqueue@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.graphics.bufferqueue@1.0",
- srcs: [
- ":android.hardware.graphics.bufferqueue@1.0_hal",
- ],
- out: [
- "android/hardware/graphics/bufferqueue/1.0/AGraphicBufferProducer.cpp",
- "android/hardware/graphics/bufferqueue/1.0/AProducerListener.cpp",
- ],
-}
-
-genrule {
- name: "android.hardware.graphics.bufferqueue@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.graphics.bufferqueue@1.0",
srcs: [
- ":android.hardware.graphics.bufferqueue@1.0_hal",
- ],
- out: [
- "android/hardware/graphics/bufferqueue/1.0/AGraphicBufferProducer.h",
- "android/hardware/graphics/bufferqueue/1.0/AProducerListener.h",
- ],
-}
-
-cc_library {
- name: "android.hardware.graphics.bufferqueue@1.0-adapter-helper",
- defaults: ["hidl-module-defaults"],
- generated_sources: ["android.hardware.graphics.bufferqueue@1.0-adapter-helper_genc++"],
- generated_headers: ["android.hardware.graphics.bufferqueue@1.0-adapter-helper_genc++_headers"],
- export_generated_headers: ["android.hardware.graphics.bufferqueue@1.0-adapter-helper_genc++_headers"],
- vendor_available: true,
- shared_libs: [
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "liblog",
- "libutils",
- "libcutils",
- "libhidladapter",
- "android.hardware.graphics.bufferqueue@1.0",
- "android.hardware.graphics.common@1.0",
- "android.hardware.media@1.0",
- "android.hidl.base@1.0-adapter-helper",
+ "IGraphicBufferProducer.hal",
+ "IProducerListener.hal",
],
- export_shared_lib_headers: [
- "libhidlbase",
- "libhidltransport",
- "libhwbinder",
- "libutils",
- "libhidladapter",
- "android.hardware.graphics.bufferqueue@1.0",
+ interfaces: [
"android.hardware.graphics.common@1.0",
"android.hardware.media@1.0",
- "android.hidl.base@1.0-adapter-helper",
+ "android.hidl.base@1.0",
],
+ gen_java: false,
}
-genrule {
- name: "android.hardware.graphics.bufferqueue@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.graphics.bufferqueue@1.0",
- out: ["main.cpp"]
-}
-
-cc_test {
- name: "android.hardware.graphics.bufferqueue@1.0-adapter",
- defaults: ["hidl-module-defaults"],
- shared_libs: [
- "libhidladapter",
- "libhidlbase",
- "libhidltransport",
- "libutils",
- "android.hardware.graphics.bufferqueue@1.0",
- "android.hardware.graphics.common@1.0",
- "android.hardware.media@1.0",
- "android.hardware.graphics.bufferqueue@1.0-adapter-helper",
- ],
- generated_sources: ["android.hardware.graphics.bufferqueue@1.0-adapter_genc++"],
-}