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.camera.device (a] 3.3-vts.spec",
      7     srcs: [
      8         ":android.hardware.camera.device (a] 3.3_hal",
      9     ],
     10     out: [
     11         "android/hardware/camera/device/3.3/CameraDeviceSession.vts",
     12         "android/hardware/camera/device/3.3/types.vts",
     13     ],
     14 }
     15 
     16 // Build VTS driver.
     17 genrule {
     18     name: "android.hardware.camera.device (a] 3.3-vts.driver_genc++",
     19     tools: ["hidl-gen", "vtsc"],
     20     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device (a] 3.3 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/camera/device/3.3/ $(genDir)/android/hardware/camera/device/3.3/",
     21     srcs: [
     22         ":android.hardware.camera.device (a] 3.3_hal",
     23     ],
     24     out: [
     25         "android/hardware/camera/device/3.3/CameraDeviceSession.vts.cpp",
     26         "android/hardware/camera/device/3.3/types.vts.cpp",
     27     ],
     28 }
     29 
     30 genrule {
     31     name: "android.hardware.camera.device (a] 3.3-vts.driver_genc++_headers",
     32     tools: ["hidl-gen", "vtsc"],
     33     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device (a] 3.3 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/camera/device/3.3/ $(genDir)/android/hardware/camera/device/3.3/",
     34     srcs: [
     35         ":android.hardware.camera.device (a] 3.3_hal",
     36     ],
     37     out: [
     38         "android/hardware/camera/device/3.3/CameraDeviceSession.vts.h",
     39         "android/hardware/camera/device/3.3/types.vts.h",
     40     ],
     41 }
     42 
     43 cc_library_shared {
     44     name: "android.hardware.camera.device (a] 3.3-vts.driver",
     45     generated_sources: ["android.hardware.camera.device (a] 3.3-vts.driver_genc++"],
     46     generated_headers: ["android.hardware.camera.device (a] 3.3-vts.driver_genc++_headers"],
     47     export_generated_headers: ["android.hardware.camera.device (a] 3.3-vts.driver_genc++_headers"],
     48     shared_libs: [
     49         "libcamera_metadata",
     50         "libcutils",
     51         "libfmq",
     52         "libhidlbase",
     53         "libhidltransport",
     54         "libhwbinder",
     55         "liblog",
     56         "libprotobuf-cpp-full",
     57         "libutils",
     58         "libvts_common",
     59         "libvts_datatype",
     60         "libvts_drivercomm",
     61         "libvts_measurement",
     62         "libvts_multidevice_proto",
     63         "android.hidl.allocator (a] 1.0",
     64         "android.hardware.camera.device (a] 3.3",
     65         "android.hardware.camera.common (a] 1.0",
     66         "android.hardware.camera.common (a] 1.0-vts.driver",
     67         "android.hardware.camera.device (a] 3.2",
     68         "android.hardware.camera.device (a] 3.2-vts.driver",
     69         "android.hardware.graphics.common (a] 1.0",
     70         "android.hardware.graphics.common (a] 1.0-vts.driver",
     71     ],
     72     export_shared_lib_headers: [
     73         "android.hardware.camera.common (a] 1.0",
     74         "android.hardware.camera.common (a] 1.0-vts.driver",
     75         "android.hardware.camera.device (a] 3.2",
     76         "android.hardware.camera.device (a] 3.2-vts.driver",
     77         "android.hardware.graphics.common (a] 1.0",
     78         "android.hardware.graphics.common (a] 1.0-vts.driver",
     79     ],
     80     cflags: [
     81         "-Wall",
     82         "-Werror",
     83 
     84         // These warnings are in code generated with vtsc
     85         // b/31362043
     86         "-Wno-duplicate-decl-specifier",
     87         "-Wno-implicitly-unsigned-literal",
     88     ],
     89 }
     90 
     91 // Build VTS profiler.
     92 genrule {
     93     name: "android.hardware.camera.device (a] 3.3-vts.profiler_genc++",
     94     tools: ["hidl-gen", "vtsc"],
     95     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device (a] 3.3 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/camera/device/3.3/ $(genDir)/android/hardware/camera/device/3.3/",
     96     srcs: [
     97         ":android.hardware.camera.device (a] 3.3_hal",
     98     ],
     99     out: [
    100         "android/hardware/camera/device/3.3/CameraDeviceSession.vts.cpp",
    101         "android/hardware/camera/device/3.3/types.vts.cpp",
    102     ],
    103 }
    104 
    105 genrule {
    106     name: "android.hardware.camera.device (a] 3.3-vts.profiler_genc++_headers",
    107     tools: ["hidl-gen", "vtsc"],
    108     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device (a] 3.3 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/camera/device/3.3/ $(genDir)/android/hardware/camera/device/3.3/",
    109     srcs: [
    110         ":android.hardware.camera.device (a] 3.3_hal",
    111     ],
    112     out: [
    113         "android/hardware/camera/device/3.3/CameraDeviceSession.vts.h",
    114         "android/hardware/camera/device/3.3/types.vts.h",
    115     ],
    116 }
    117 
    118 cc_library_shared {
    119     name: "android.hardware.camera.device (a] 3.3-vts.profiler",
    120     generated_sources: ["android.hardware.camera.device (a] 3.3-vts.profiler_genc++"],
    121     generated_headers: ["android.hardware.camera.device (a] 3.3-vts.profiler_genc++_headers"],
    122     export_generated_headers: ["android.hardware.camera.device (a] 3.3-vts.profiler_genc++_headers"],
    123     shared_libs: [
    124         "libbase",
    125         "libcutils",
    126         "libfmq",
    127         "libhidlbase",
    128         "libhidltransport",
    129         "libvts_common",
    130         "libvts_profiling",
    131         "libvts_multidevice_proto",
    132         "libprotobuf-cpp-full",
    133         "android.hardware.camera.device (a] 3.3",
    134         "android.hardware.camera.common (a] 1.0",
    135         "android.hardware.camera.common (a] 1.0-vts.profiler",
    136         "android.hardware.camera.device (a] 3.2",
    137         "android.hardware.camera.device (a] 3.2-vts.profiler",
    138         "android.hardware.graphics.common (a] 1.0",
    139         "android.hardware.graphics.common (a] 1.0-vts.profiler",
    140     ],
    141     cflags: [
    142         "-Wall",
    143         "-Werror",
    144 
    145         // These warnings are in code generated with vtsc
    146         // b/31362043
    147         "-Wno-duplicate-decl-specifier",
    148         "-Wno-implicitly-unsigned-literal",
    149     ],
    150 }
    151 
    152