Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 1 | // This file was auto-generated. Do not edit manually. |
| 2 | // Use test/vts-testcase/hal/update_makefiles.py to generate this file. |
| 3 | |
| 4 | // Generate .vts spec files. |
| 5 | hal2vts { |
| 6 | name: "android.hardware.automotive.vehicle@2.0-vts.spec", |
| 7 | srcs: [ |
| 8 | ":android.hardware.automotive.vehicle@2.0_hal", |
| 9 | ], |
| 10 | out: [ |
| 11 | "android/hardware/automotive/vehicle/2.0/Vehicle.vts", |
| 12 | "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts", |
| 13 | "android/hardware/automotive/vehicle/2.0/types.vts", |
| 14 | ], |
| 15 | } |
| 16 | |
| 17 | // Build VTS driver. |
| 18 | genrule { |
Jae Shin | efb6bd8 | 2017-03-24 16:31:14 +0900 | [diff] [blame] | 19 | name: "android.hardware.automotive.vehicle@2.0-vts.driver_genc++", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 20 | tools: ["hidl-gen", "vtsc"], |
| 21 | 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/", |
| 22 | srcs: [ |
| 23 | ":android.hardware.automotive.vehicle@2.0_hal", |
| 24 | ], |
| 25 | out: [ |
| 26 | "android/hardware/automotive/vehicle/2.0/Vehicle.vts.cpp", |
| 27 | "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts.cpp", |
| 28 | "android/hardware/automotive/vehicle/2.0/types.vts.cpp", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | genrule { |
Jae Shin | efb6bd8 | 2017-03-24 16:31:14 +0900 | [diff] [blame] | 33 | name: "android.hardware.automotive.vehicle@2.0-vts.driver_genc++_headers", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 34 | tools: ["hidl-gen", "vtsc"], |
| 35 | 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/", |
| 36 | srcs: [ |
| 37 | ":android.hardware.automotive.vehicle@2.0_hal", |
| 38 | ], |
| 39 | out: [ |
| 40 | "android/hardware/automotive/vehicle/2.0/Vehicle.vts.h", |
| 41 | "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts.h", |
| 42 | "android/hardware/automotive/vehicle/2.0/types.vts.h", |
| 43 | ], |
| 44 | } |
| 45 | |
| 46 | cc_library_shared { |
Jae Shin | efb6bd8 | 2017-03-24 16:31:14 +0900 | [diff] [blame] | 47 | name: "android.hardware.automotive.vehicle@2.0-vts.driver", |
| 48 | generated_sources: ["android.hardware.automotive.vehicle@2.0-vts.driver_genc++"], |
| 49 | generated_headers: ["android.hardware.automotive.vehicle@2.0-vts.driver_genc++_headers"], |
| 50 | export_generated_headers: ["android.hardware.automotive.vehicle@2.0-vts.driver_genc++_headers"], |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 51 | shared_libs: [ |
Zhuoyao Zhang | f149257 | 2017-06-01 11:07:29 -0700 | [diff] [blame] | 52 | "libcamera_metadata", |
| 53 | "libcutils", |
| 54 | "libfmq", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 55 | "libhidlbase", |
| 56 | "libhidltransport", |
| 57 | "libhwbinder", |
| 58 | "liblog", |
Zhuoyao Zhang | f149257 | 2017-06-01 11:07:29 -0700 | [diff] [blame] | 59 | "libprotobuf-cpp-full", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 60 | "libutils", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 61 | "libvts_common", |
| 62 | "libvts_datatype", |
| 63 | "libvts_drivercomm", |
| 64 | "libvts_measurement", |
| 65 | "libvts_multidevice_proto", |
Zhuoyao Zhang | f149257 | 2017-06-01 11:07:29 -0700 | [diff] [blame] | 66 | "android.hidl.allocator@1.0", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 67 | "android.hardware.automotive.vehicle@2.0", |
Colin Cross | b074c1a | 2017-05-05 19:21:41 -0700 | [diff] [blame] | 68 | |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 69 | ], |
| 70 | export_shared_lib_headers: [ |
Colin Cross | b074c1a | 2017-05-05 19:21:41 -0700 | [diff] [blame] | 71 | |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 72 | ], |
Colin Cross | 5ee2f3d | 2017-05-03 23:33:42 -0700 | [diff] [blame] | 73 | cflags: [ |
| 74 | "-Wall", |
| 75 | "-Werror", |
| 76 | |
| 77 | // These warnings are in code generated with vtsc |
| 78 | // b/31362043 |
| 79 | "-Wno-unused-parameter", |
| 80 | "-Wno-unused-variable", |
| 81 | "-Wno-unused-private-field", |
| 82 | "-Wno-duplicate-decl-specifier", |
| 83 | "-Wno-uninitialized", |
| 84 | "-Wno-implicitly-unsigned-literal", |
| 85 | ], |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 86 | } |
| 87 | |
| 88 | // Build VTS profiler. |
| 89 | genrule { |
| 90 | name: "android.hardware.automotive.vehicle@2.0-vts.profiler_genc++", |
| 91 | tools: ["hidl-gen", "vtsc"], |
| 92 | 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/", |
| 93 | srcs: [ |
| 94 | ":android.hardware.automotive.vehicle@2.0_hal", |
| 95 | ], |
| 96 | out: [ |
| 97 | "android/hardware/automotive/vehicle/2.0/Vehicle.vts.cpp", |
| 98 | "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts.cpp", |
| 99 | "android/hardware/automotive/vehicle/2.0/types.vts.cpp", |
| 100 | ], |
| 101 | } |
| 102 | |
| 103 | genrule { |
| 104 | name: "android.hardware.automotive.vehicle@2.0-vts.profiler_genc++_headers", |
| 105 | tools: ["hidl-gen", "vtsc"], |
| 106 | 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/", |
| 107 | srcs: [ |
| 108 | ":android.hardware.automotive.vehicle@2.0_hal", |
| 109 | ], |
| 110 | out: [ |
| 111 | "android/hardware/automotive/vehicle/2.0/Vehicle.vts.h", |
| 112 | "android/hardware/automotive/vehicle/2.0/VehicleCallback.vts.h", |
| 113 | "android/hardware/automotive/vehicle/2.0/types.vts.h", |
| 114 | ], |
| 115 | } |
| 116 | |
| 117 | cc_library_shared { |
| 118 | name: "android.hardware.automotive.vehicle@2.0-vts.profiler", |
| 119 | generated_sources: ["android.hardware.automotive.vehicle@2.0-vts.profiler_genc++"], |
| 120 | generated_headers: ["android.hardware.automotive.vehicle@2.0-vts.profiler_genc++_headers"], |
| 121 | export_generated_headers: ["android.hardware.automotive.vehicle@2.0-vts.profiler_genc++_headers"], |
| 122 | shared_libs: [ |
| 123 | "libbase", |
Zhuoyao Zhang | af644fe | 2017-05-14 17:34:32 -0700 | [diff] [blame] | 124 | "libcutils", |
| 125 | "libfmq", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 126 | "libhidlbase", |
| 127 | "libhidltransport", |
Colin Cross | dbe30fd | 2017-05-06 17:31:31 -0700 | [diff] [blame] | 128 | "libvts_common", |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 129 | "libvts_profiling", |
| 130 | "libvts_multidevice_proto", |
| 131 | "libprotobuf-cpp-full", |
| 132 | "android.hardware.automotive.vehicle@2.0", |
Colin Cross | b074c1a | 2017-05-05 19:21:41 -0700 | [diff] [blame] | 133 | |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 134 | ], |
Colin Cross | 5ee2f3d | 2017-05-03 23:33:42 -0700 | [diff] [blame] | 135 | cflags: [ |
| 136 | "-Wall", |
| 137 | "-Werror", |
| 138 | |
| 139 | // These warnings are in code generated with vtsc |
| 140 | // b/31362043 |
| 141 | "-Wno-unused-parameter", |
| 142 | "-Wno-unused-variable", |
| 143 | "-Wno-unused-private-field", |
| 144 | "-Wno-duplicate-decl-specifier", |
| 145 | "-Wno-uninitialized", |
| 146 | "-Wno-implicitly-unsigned-literal", |
| 147 | ], |
Tri Vo | c7ee882 | 2017-03-21 15:03:17 -0700 | [diff] [blame] | 148 | } |
| 149 | |