Home | History | Annotate | Download | only in build
      1 // This file was auto-generated. Do not edit manually.
      2 // Use launch_hal_test.py or update_makefiles.py in test/vts-testcase/hal/script/ to generate this file.
      3 
      4 // Generate .vts spec files.
      5 hal2vts {
      6     name: "android.hardware.camera.device (a] 3.2-vts.spec",
      7     hidl_gen_args: "-r android.hardware:hardware/interfaces",
      8     srcs: [
      9         ":android.hardware.camera.device (a] 3.2_hal",
     10     ],
     11     out: [
     12         "android/hardware/camera/device/3.2/CameraDevice.vts",
     13         "android/hardware/camera/device/3.2/CameraDeviceCallback.vts",
     14         "android/hardware/camera/device/3.2/CameraDeviceSession.vts",
     15         "android/hardware/camera/device/3.2/types.vts",
     16     ],
     17 }
     18 
     19 // Build VTS driver.
     20 genrule {
     21     name: "android.hardware.camera.device (a] 3.2-vts.driver_genc++",
     22     tools: ["hidl-gen", "vtsc"],
     23     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.camera.device (a] 3.2 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/camera/device/3.2/ $(genDir)/android/hardware/camera/device/3.2/",
     24     srcs: [
     25         ":android.hardware.camera.device (a] 3.2_hal",
     26     ],
     27     out: [
     28         "android/hardware/camera/device/3.2/CameraDevice.vts.cpp",
     29         "android/hardware/camera/device/3.2/CameraDeviceCallback.vts.cpp",
     30         "android/hardware/camera/device/3.2/CameraDeviceSession.vts.cpp",
     31         "android/hardware/camera/device/3.2/types.vts.cpp",
     32     ],
     33 }
     34 
     35 genrule {
     36     name: "android.hardware.camera.device (a] 3.2-vts.driver_genc++_headers",
     37     tools: ["hidl-gen", "vtsc"],
     38     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.camera.device (a] 3.2 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/camera/device/3.2/ $(genDir)/android/hardware/camera/device/3.2/",
     39     srcs: [
     40         ":android.hardware.camera.device (a] 3.2_hal",
     41     ],
     42     out: [
     43         "android/hardware/camera/device/3.2/CameraDevice.vts.h",
     44         "android/hardware/camera/device/3.2/CameraDeviceCallback.vts.h",
     45         "android/hardware/camera/device/3.2/CameraDeviceSession.vts.h",
     46         "android/hardware/camera/device/3.2/types.vts.h",
     47     ],
     48 }
     49 
     50 cc_library_shared {
     51     name: "android.hardware.camera.device (a] 3.2-vts.driver",
     52     generated_sources: ["android.hardware.camera.device (a] 3.2-vts.driver_genc++"],
     53     generated_headers: ["android.hardware.camera.device (a] 3.2-vts.driver_genc++_headers"],
     54     export_generated_headers: ["android.hardware.camera.device (a] 3.2-vts.driver_genc++_headers"],
     55     defaults: ["VtsHalDriverDefaults"],
     56     shared_libs: [
     57         "android.hardware.camera.common (a] 1.0-vts.driver",
     58         "android.hardware.graphics.common (a] 1.0-vts.driver",
     59     ],
     60     static_libs: [
     61         "android.hardware.camera.common (a] 1.0",
     62         "android.hardware.camera.device (a] 3.2",
     63         "android.hardware.graphics.common (a] 1.0",
     64     ],
     65 }
     66 
     67 // Build VTS profiler.
     68 genrule {
     69     name: "android.hardware.camera.device (a] 3.2-vts.profiler_genc++",
     70     tools: ["hidl-gen", "vtsc"],
     71     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.camera.device (a] 3.2 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/camera/device/3.2/ $(genDir)/android/hardware/camera/device/3.2/",
     72     srcs: [
     73         ":android.hardware.camera.device (a] 3.2_hal",
     74     ],
     75     out: [
     76         "android/hardware/camera/device/3.2/CameraDevice.vts.cpp",
     77         "android/hardware/camera/device/3.2/CameraDeviceCallback.vts.cpp",
     78         "android/hardware/camera/device/3.2/CameraDeviceSession.vts.cpp",
     79         "android/hardware/camera/device/3.2/types.vts.cpp",
     80     ],
     81 }
     82 
     83 genrule {
     84     name: "android.hardware.camera.device (a] 3.2-vts.profiler_genc++_headers",
     85     tools: ["hidl-gen", "vtsc"],
     86     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.camera.device (a] 3.2 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/camera/device/3.2/ $(genDir)/android/hardware/camera/device/3.2/",
     87     srcs: [
     88         ":android.hardware.camera.device (a] 3.2_hal",
     89     ],
     90     out: [
     91         "android/hardware/camera/device/3.2/CameraDevice.vts.h",
     92         "android/hardware/camera/device/3.2/CameraDeviceCallback.vts.h",
     93         "android/hardware/camera/device/3.2/CameraDeviceSession.vts.h",
     94         "android/hardware/camera/device/3.2/types.vts.h",
     95     ],
     96 }
     97 
     98 cc_library_shared {
     99     name: "android.hardware.camera.device (a] 3.2-vts.profiler",
    100     generated_sources: ["android.hardware.camera.device (a] 3.2-vts.profiler_genc++"],
    101     generated_headers: ["android.hardware.camera.device (a] 3.2-vts.profiler_genc++_headers"],
    102     export_generated_headers: ["android.hardware.camera.device (a] 3.2-vts.profiler_genc++_headers"],
    103     defaults: ["VtsHalProfilerDefaults"],
    104     shared_libs: [
    105         "android.hardware.camera.common (a] 1.0-vts.profiler",
    106         "android.hardware.graphics.common (a] 1.0-vts.profiler",
    107     ],
    108     static_libs: [
    109         "android.hardware.camera.common (a] 1.0",
    110         "android.hardware.camera.device (a] 3.2",
    111         "android.hardware.graphics.common (a] 1.0",
    112     ],
    113 }
    114 
    115