Home | History | Annotate | Download | only in build
      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.gnss (a] 1.0-vts.spec",
      7     srcs: [
      8         ":android.hardware.gnss (a] 1.0_hal",
      9     ],
     10     out: [
     11         "android/hardware/gnss/1.0/AGnss.vts",
     12         "android/hardware/gnss/1.0/AGnssCallback.vts",
     13         "android/hardware/gnss/1.0/AGnssRil.vts",
     14         "android/hardware/gnss/1.0/AGnssRilCallback.vts",
     15         "android/hardware/gnss/1.0/Gnss.vts",
     16         "android/hardware/gnss/1.0/GnssBatching.vts",
     17         "android/hardware/gnss/1.0/GnssBatchingCallback.vts",
     18         "android/hardware/gnss/1.0/GnssCallback.vts",
     19         "android/hardware/gnss/1.0/GnssConfiguration.vts",
     20         "android/hardware/gnss/1.0/GnssDebug.vts",
     21         "android/hardware/gnss/1.0/GnssGeofenceCallback.vts",
     22         "android/hardware/gnss/1.0/GnssGeofencing.vts",
     23         "android/hardware/gnss/1.0/GnssMeasurement.vts",
     24         "android/hardware/gnss/1.0/GnssMeasurementCallback.vts",
     25         "android/hardware/gnss/1.0/GnssNavigationMessage.vts",
     26         "android/hardware/gnss/1.0/GnssNavigationMessageCallback.vts",
     27         "android/hardware/gnss/1.0/GnssNi.vts",
     28         "android/hardware/gnss/1.0/GnssNiCallback.vts",
     29         "android/hardware/gnss/1.0/GnssXtra.vts",
     30         "android/hardware/gnss/1.0/GnssXtraCallback.vts",
     31         "android/hardware/gnss/1.0/types.vts",
     32     ],
     33 }
     34 
     35 // Build VTS driver.
     36 genrule {
     37     name: "android.hardware.gnss (a] 1.0-vts.driver_genc++",
     38     tools: ["hidl-gen", "vtsc"],
     39     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gnss (a] 1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/gnss/1.0/ $(genDir)/android/hardware/gnss/1.0/",
     40     srcs: [
     41         ":android.hardware.gnss (a] 1.0_hal",
     42     ],
     43     out: [
     44         "android/hardware/gnss/1.0/AGnss.vts.cpp",
     45         "android/hardware/gnss/1.0/AGnssCallback.vts.cpp",
     46         "android/hardware/gnss/1.0/AGnssRil.vts.cpp",
     47         "android/hardware/gnss/1.0/AGnssRilCallback.vts.cpp",
     48         "android/hardware/gnss/1.0/Gnss.vts.cpp",
     49         "android/hardware/gnss/1.0/GnssBatching.vts.cpp",
     50         "android/hardware/gnss/1.0/GnssBatchingCallback.vts.cpp",
     51         "android/hardware/gnss/1.0/GnssCallback.vts.cpp",
     52         "android/hardware/gnss/1.0/GnssConfiguration.vts.cpp",
     53         "android/hardware/gnss/1.0/GnssDebug.vts.cpp",
     54         "android/hardware/gnss/1.0/GnssGeofenceCallback.vts.cpp",
     55         "android/hardware/gnss/1.0/GnssGeofencing.vts.cpp",
     56         "android/hardware/gnss/1.0/GnssMeasurement.vts.cpp",
     57         "android/hardware/gnss/1.0/GnssMeasurementCallback.vts.cpp",
     58         "android/hardware/gnss/1.0/GnssNavigationMessage.vts.cpp",
     59         "android/hardware/gnss/1.0/GnssNavigationMessageCallback.vts.cpp",
     60         "android/hardware/gnss/1.0/GnssNi.vts.cpp",
     61         "android/hardware/gnss/1.0/GnssNiCallback.vts.cpp",
     62         "android/hardware/gnss/1.0/GnssXtra.vts.cpp",
     63         "android/hardware/gnss/1.0/GnssXtraCallback.vts.cpp",
     64         "android/hardware/gnss/1.0/types.vts.cpp",
     65     ],
     66 }
     67 
     68 genrule {
     69     name: "android.hardware.gnss (a] 1.0-vts.driver_genc++_headers",
     70     tools: ["hidl-gen", "vtsc"],
     71     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gnss (a] 1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/gnss/1.0/ $(genDir)/android/hardware/gnss/1.0/",
     72     srcs: [
     73         ":android.hardware.gnss (a] 1.0_hal",
     74     ],
     75     out: [
     76         "android/hardware/gnss/1.0/AGnss.vts.h",
     77         "android/hardware/gnss/1.0/AGnssCallback.vts.h",
     78         "android/hardware/gnss/1.0/AGnssRil.vts.h",
     79         "android/hardware/gnss/1.0/AGnssRilCallback.vts.h",
     80         "android/hardware/gnss/1.0/Gnss.vts.h",
     81         "android/hardware/gnss/1.0/GnssBatching.vts.h",
     82         "android/hardware/gnss/1.0/GnssBatchingCallback.vts.h",
     83         "android/hardware/gnss/1.0/GnssCallback.vts.h",
     84         "android/hardware/gnss/1.0/GnssConfiguration.vts.h",
     85         "android/hardware/gnss/1.0/GnssDebug.vts.h",
     86         "android/hardware/gnss/1.0/GnssGeofenceCallback.vts.h",
     87         "android/hardware/gnss/1.0/GnssGeofencing.vts.h",
     88         "android/hardware/gnss/1.0/GnssMeasurement.vts.h",
     89         "android/hardware/gnss/1.0/GnssMeasurementCallback.vts.h",
     90         "android/hardware/gnss/1.0/GnssNavigationMessage.vts.h",
     91         "android/hardware/gnss/1.0/GnssNavigationMessageCallback.vts.h",
     92         "android/hardware/gnss/1.0/GnssNi.vts.h",
     93         "android/hardware/gnss/1.0/GnssNiCallback.vts.h",
     94         "android/hardware/gnss/1.0/GnssXtra.vts.h",
     95         "android/hardware/gnss/1.0/GnssXtraCallback.vts.h",
     96         "android/hardware/gnss/1.0/types.vts.h",
     97     ],
     98 }
     99 
    100 cc_library_shared {
    101     name: "android.hardware.gnss (a] 1.0-vts.driver",
    102     generated_sources: ["android.hardware.gnss (a] 1.0-vts.driver_genc++"],
    103     generated_headers: ["android.hardware.gnss (a] 1.0-vts.driver_genc++_headers"],
    104     export_generated_headers: ["android.hardware.gnss (a] 1.0-vts.driver_genc++_headers"],
    105     shared_libs: [
    106         "libhidlbase",
    107         "libhidltransport",
    108         "libhwbinder",
    109         "liblog",
    110         "libutils",
    111         "libcutils",
    112         "libvts_common",
    113         "libvts_datatype",
    114         "libvts_drivercomm",
    115         "libvts_measurement",
    116         "libvts_multidevice_proto",
    117         "libcamera_metadata",
    118         "libprotobuf-cpp-full",
    119         "android.hardware.gnss (a] 1.0",
    120         "android.hidl.base (a] 1.0",
    121     ],
    122     export_shared_lib_headers: [
    123         "android.hidl.base (a] 1.0",
    124     ],
    125 }
    126 
    127 // Build VTS profiler.
    128 genrule {
    129     name: "android.hardware.gnss (a] 1.0-vts.profiler_genc++",
    130     tools: ["hidl-gen", "vtsc"],
    131     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gnss (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/gnss/1.0/ $(genDir)/android/hardware/gnss/1.0/",
    132     srcs: [
    133         ":android.hardware.gnss (a] 1.0_hal",
    134     ],
    135     out: [
    136         "android/hardware/gnss/1.0/AGnss.vts.cpp",
    137         "android/hardware/gnss/1.0/AGnssCallback.vts.cpp",
    138         "android/hardware/gnss/1.0/AGnssRil.vts.cpp",
    139         "android/hardware/gnss/1.0/AGnssRilCallback.vts.cpp",
    140         "android/hardware/gnss/1.0/Gnss.vts.cpp",
    141         "android/hardware/gnss/1.0/GnssBatching.vts.cpp",
    142         "android/hardware/gnss/1.0/GnssBatchingCallback.vts.cpp",
    143         "android/hardware/gnss/1.0/GnssCallback.vts.cpp",
    144         "android/hardware/gnss/1.0/GnssConfiguration.vts.cpp",
    145         "android/hardware/gnss/1.0/GnssDebug.vts.cpp",
    146         "android/hardware/gnss/1.0/GnssGeofenceCallback.vts.cpp",
    147         "android/hardware/gnss/1.0/GnssGeofencing.vts.cpp",
    148         "android/hardware/gnss/1.0/GnssMeasurement.vts.cpp",
    149         "android/hardware/gnss/1.0/GnssMeasurementCallback.vts.cpp",
    150         "android/hardware/gnss/1.0/GnssNavigationMessage.vts.cpp",
    151         "android/hardware/gnss/1.0/GnssNavigationMessageCallback.vts.cpp",
    152         "android/hardware/gnss/1.0/GnssNi.vts.cpp",
    153         "android/hardware/gnss/1.0/GnssNiCallback.vts.cpp",
    154         "android/hardware/gnss/1.0/GnssXtra.vts.cpp",
    155         "android/hardware/gnss/1.0/GnssXtraCallback.vts.cpp",
    156         "android/hardware/gnss/1.0/types.vts.cpp",
    157     ],
    158 }
    159 
    160 genrule {
    161     name: "android.hardware.gnss (a] 1.0-vts.profiler_genc++_headers",
    162     tools: ["hidl-gen", "vtsc"],
    163     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gnss (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/gnss/1.0/ $(genDir)/android/hardware/gnss/1.0/",
    164     srcs: [
    165         ":android.hardware.gnss (a] 1.0_hal",
    166     ],
    167     out: [
    168         "android/hardware/gnss/1.0/AGnss.vts.h",
    169         "android/hardware/gnss/1.0/AGnssCallback.vts.h",
    170         "android/hardware/gnss/1.0/AGnssRil.vts.h",
    171         "android/hardware/gnss/1.0/AGnssRilCallback.vts.h",
    172         "android/hardware/gnss/1.0/Gnss.vts.h",
    173         "android/hardware/gnss/1.0/GnssBatching.vts.h",
    174         "android/hardware/gnss/1.0/GnssBatchingCallback.vts.h",
    175         "android/hardware/gnss/1.0/GnssCallback.vts.h",
    176         "android/hardware/gnss/1.0/GnssConfiguration.vts.h",
    177         "android/hardware/gnss/1.0/GnssDebug.vts.h",
    178         "android/hardware/gnss/1.0/GnssGeofenceCallback.vts.h",
    179         "android/hardware/gnss/1.0/GnssGeofencing.vts.h",
    180         "android/hardware/gnss/1.0/GnssMeasurement.vts.h",
    181         "android/hardware/gnss/1.0/GnssMeasurementCallback.vts.h",
    182         "android/hardware/gnss/1.0/GnssNavigationMessage.vts.h",
    183         "android/hardware/gnss/1.0/GnssNavigationMessageCallback.vts.h",
    184         "android/hardware/gnss/1.0/GnssNi.vts.h",
    185         "android/hardware/gnss/1.0/GnssNiCallback.vts.h",
    186         "android/hardware/gnss/1.0/GnssXtra.vts.h",
    187         "android/hardware/gnss/1.0/GnssXtraCallback.vts.h",
    188         "android/hardware/gnss/1.0/types.vts.h",
    189     ],
    190 }
    191 
    192 cc_library_shared {
    193     name: "android.hardware.gnss (a] 1.0-vts.profiler",
    194     generated_sources: ["android.hardware.gnss (a] 1.0-vts.profiler_genc++"],
    195     generated_headers: ["android.hardware.gnss (a] 1.0-vts.profiler_genc++_headers"],
    196     export_generated_headers: ["android.hardware.gnss (a] 1.0-vts.profiler_genc++_headers"],
    197     shared_libs: [
    198         "libbase",
    199         "libhidlbase",
    200         "libhidltransport",
    201         "libvts_profiling",
    202         "libvts_multidevice_proto",
    203         "libprotobuf-cpp-full",
    204         "android.hardware.gnss (a] 1.0",
    205         "android.hidl.base (a] 1.0",
    206     ],
    207 }
    208 
    209