platform_hardware_interfaces/camera/device/3.3/Android.bp
Steven Moreland 3788a7321f Update makefiles for hidl-adapter (2/2).
Bug: 37518178
Test: none
Change-Id: I77fe67964f89da8b66aeb8df6d424de0f8689f8d
2017-09-27 08:55:47 -07:00

157 lines
5.5 KiB
Text

// This file is autogenerated by hidl-gen. Do not edit manually.
filegroup {
name: "android.hardware.camera.device@3.3_hal",
srcs: [
"types.hal",
"ICameraDeviceSession.hal",
],
}
genrule {
name: "android.hardware.camera.device@3.3_genc++",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3",
srcs: [
":android.hardware.camera.device@3.3_hal",
],
out: [
"android/hardware/camera/device/3.3/types.cpp",
"android/hardware/camera/device/3.3/CameraDeviceSessionAll.cpp",
],
}
genrule {
name: "android.hardware.camera.device@3.3_genc++_headers",
tools: ["hidl-gen"],
cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3",
srcs: [
":android.hardware.camera.device@3.3_hal",
],
out: [
"android/hardware/camera/device/3.3/types.h",
"android/hardware/camera/device/3.3/hwtypes.h",
"android/hardware/camera/device/3.3/ICameraDeviceSession.h",
"android/hardware/camera/device/3.3/IHwCameraDeviceSession.h",
"android/hardware/camera/device/3.3/BnHwCameraDeviceSession.h",
"android/hardware/camera/device/3.3/BpHwCameraDeviceSession.h",
"android/hardware/camera/device/3.3/BsCameraDeviceSession.h",
],
}
cc_library {
name: "android.hardware.camera.device@3.3",
defaults: ["hidl-module-defaults"],
generated_sources: ["android.hardware.camera.device@3.3_genc++"],
generated_headers: ["android.hardware.camera.device@3.3_genc++_headers"],
export_generated_headers: ["android.hardware.camera.device@3.3_genc++_headers"],
vendor_available: true,
vndk: {
enabled: true,
},
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"android.hardware.camera.common@1.0",
"android.hardware.camera.device@3.2",
"android.hardware.graphics.common@1.0",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"android.hardware.camera.common@1.0",
"android.hardware.camera.device@3.2",
"android.hardware.graphics.common@1.0",
],
}
genrule {
name: "android.hardware.camera.device@3.3-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.camera.device@3.3",
srcs: [
":android.hardware.camera.device@3.3_hal",
],
out: [
"android/hardware/camera/device/3.3/ACameraDeviceSession.cpp",
],
}
genrule {
name: "android.hardware.camera.device@3.3-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.camera.device@3.3",
srcs: [
":android.hardware.camera.device@3.3_hal",
],
out: [
"android/hardware/camera/device/3.3/ACameraDeviceSession.h",
],
}
cc_library {
name: "android.hardware.camera.device@3.3-adapter-helper",
defaults: ["hidl-module-defaults"],
generated_sources: ["android.hardware.camera.device@3.3-adapter-helper_genc++"],
generated_headers: ["android.hardware.camera.device@3.3-adapter-helper_genc++_headers"],
export_generated_headers: ["android.hardware.camera.device@3.3-adapter-helper_genc++_headers"],
vendor_available: true,
shared_libs: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libutils",
"libcutils",
"libhidladapter",
"android.hardware.camera.common@1.0",
"android.hardware.camera.device@3.2",
"android.hardware.camera.device@3.3",
"android.hardware.graphics.common@1.0",
"android.hardware.camera.device@3.2-adapter-helper",
"android.hidl.base@1.0-adapter-helper",
],
export_shared_lib_headers: [
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
"libhidladapter",
"android.hardware.camera.common@1.0",
"android.hardware.camera.device@3.2",
"android.hardware.camera.device@3.3",
"android.hardware.graphics.common@1.0",
"android.hardware.camera.device@3.2-adapter-helper",
"android.hidl.base@1.0-adapter-helper",
],
}
genrule {
name: "android.hardware.camera.device@3.3-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.camera.device@3.3",
out: ["main.cpp"]
}
cc_test {
name: "android.hardware.camera.device@3.3-adapter",
shared_libs: [
"libhidladapter",
"libhidlbase",
"libhidltransport",
"libutils",
"android.hardware.camera.common@1.0",
"android.hardware.camera.device@3.2",
"android.hardware.camera.device@3.3",
"android.hardware.graphics.common@1.0",
"android.hardware.camera.device@3.3-adapter-helper",
],
generated_sources: ["android.hardware.camera.device@3.3-adapter_genc++"],
}