diff options
Diffstat (limited to 'automotive')
-rw-r--r-- | automotive/vehicle/2.0/Android.bp | 120 |
1 files changed, 9 insertions, 111 deletions
diff --git a/automotive/vehicle/2.0/Android.bp b/automotive/vehicle/2.0/Android.bp index 3f378f2e76..3f5b383a2b 100644 --- a/automotive/vehicle/2.0/Android.bp +++ b/automotive/vehicle/2.0/Android.bp @@ -1,5 +1,14 @@ // This file is autogenerated by hidl-gen. Do not edit manually. +filegroup { + name: "android.hardware.automotive.vehicle@2.0_hal", + srcs: [ + "types.hal", + "IVehicle.hal", + "IVehicleCallback.hal", + ], +} + genrule { name: "android.hardware.automotive.vehicle@2.0_genc++", tools: ["hidl-gen"], @@ -62,114 +71,3 @@ cc_library_shared { "android.hidl.base@1.0", ], } - -genrule { - name: "android.hardware.automotive.vehicle.vts.driver@2.0_genc++", - tools: ["hidl-gen", "vtsc"], - cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/automotive/vehicle/2.0/ $(genDir)/android/hardware/automotive/vehicle/2.0/", - srcs: [ - "types.hal", - "IVehicle.hal", - "IVehicleCallback.hal", - ], - out: [ - "android/hardware/automotive/vehicle/2.0/types.vts.cpp", - "android/hardware/automotive/vehicle/2.0/Vehicle.vts.cpp", - "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts.cpp", - ], -} - -genrule { - name: "android.hardware.automotive.vehicle.vts.driver@2.0_genc++_headers", - tools: ["hidl-gen", "vtsc"], - cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/automotive/vehicle/2.0/ $(genDir)/android/hardware/automotive/vehicle/2.0/", - srcs: [ - "types.hal", - "IVehicle.hal", - "IVehicleCallback.hal", - ], - out: [ - "android/hardware/automotive/vehicle/2.0/types.vts.h", - "android/hardware/automotive/vehicle/2.0/Vehicle.vts.h", - "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts.h", - ], -} - -cc_library_shared { - name: "android.hardware.automotive.vehicle.vts.driver@2.0", - generated_sources: ["android.hardware.automotive.vehicle.vts.driver@2.0_genc++"], - generated_headers: ["android.hardware.automotive.vehicle.vts.driver@2.0_genc++_headers"], - export_generated_headers: ["android.hardware.automotive.vehicle.vts.driver@2.0_genc++_headers"], - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - "libvts_common", - "libvts_datatype", - "libvts_measurement", - "libvts_multidevice_proto", - "libcamera_metadata", - "libprotobuf-cpp-full", - "android.hidl.base@1.0", - "android.hardware.automotive.vehicle@2.0", - ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - "android.hidl.base@1.0", - ], -} - -genrule { - name: "android.hardware.automotive.vehicle@2.0-vts.profiler_genc++", - tools: ["hidl-gen", "vtsc"], - cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/automotive/vehicle/2.0/ $(genDir)/android/hardware/automotive/vehicle/2.0/", - srcs: [ - "types.hal", - "IVehicle.hal", - "IVehicleCallback.hal", - ], - out: [ - "android/hardware/automotive/vehicle/2.0/types.vts.cpp", - "android/hardware/automotive/vehicle/2.0/Vehicle.vts.cpp", - "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts.cpp", - ], -} - -genrule { - name: "android.hardware.automotive.vehicle@2.0-vts.profiler_genc++_headers", - tools: ["hidl-gen", "vtsc"], - cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/automotive/vehicle/2.0/ $(genDir)/android/hardware/automotive/vehicle/2.0/", - srcs: [ - "types.hal", - "IVehicle.hal", - "IVehicleCallback.hal", - ], - out: [ - "android/hardware/automotive/vehicle/2.0/types.vts.h", - "android/hardware/automotive/vehicle/2.0/Vehicle.vts.h", - "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts.h", - ], -} - -cc_library_shared { - name: "android.hardware.automotive.vehicle@2.0-vts.profiler", - generated_sources: ["android.hardware.automotive.vehicle@2.0-vts.profiler_genc++"], - generated_headers: ["android.hardware.automotive.vehicle@2.0-vts.profiler_genc++_headers"], - export_generated_headers: ["android.hardware.automotive.vehicle@2.0-vts.profiler_genc++_headers"], - shared_libs: [ - "libbase", - "libhidlbase", - "libhidltransport", - "libvts_profiling", - "libvts_multidevice_proto", - "libprotobuf-cpp-full", - "android.hidl.base@1.0", - "android.hardware.automotive.vehicle@2.0", - ], -} |