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.nfc (a] 1.0-vts.spec",
      7     srcs: [
      8         ":android.hardware.nfc (a] 1.0_hal",
      9     ],
     10     out: [
     11         "android/hardware/nfc/1.0/Nfc.vts",
     12         "android/hardware/nfc/1.0/NfcClientCallback.vts",
     13         "android/hardware/nfc/1.0/types.vts",
     14     ],
     15 }
     16 
     17 // Build VTS driver.
     18 genrule {
     19     name: "android.hardware.nfc (a] 1.0-vts.driver_genc++",
     20     tools: ["hidl-gen", "vtsc"],
     21     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
     22     srcs: [
     23         ":android.hardware.nfc (a] 1.0_hal",
     24     ],
     25     out: [
     26         "android/hardware/nfc/1.0/Nfc.vts.cpp",
     27         "android/hardware/nfc/1.0/NfcClientCallback.vts.cpp",
     28         "android/hardware/nfc/1.0/types.vts.cpp",
     29     ],
     30 }
     31 
     32 genrule {
     33     name: "android.hardware.nfc (a] 1.0-vts.driver_genc++_headers",
     34     tools: ["hidl-gen", "vtsc"],
     35     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
     36     srcs: [
     37         ":android.hardware.nfc (a] 1.0_hal",
     38     ],
     39     out: [
     40         "android/hardware/nfc/1.0/Nfc.vts.h",
     41         "android/hardware/nfc/1.0/NfcClientCallback.vts.h",
     42         "android/hardware/nfc/1.0/types.vts.h",
     43     ],
     44 }
     45 
     46 cc_library_shared {
     47     name: "android.hardware.nfc (a] 1.0-vts.driver",
     48     generated_sources: ["android.hardware.nfc (a] 1.0-vts.driver_genc++"],
     49     generated_headers: ["android.hardware.nfc (a] 1.0-vts.driver_genc++_headers"],
     50     export_generated_headers: ["android.hardware.nfc (a] 1.0-vts.driver_genc++_headers"],
     51     shared_libs: [
     52         "libhidlbase",
     53         "libhidltransport",
     54         "libhwbinder",
     55         "liblog",
     56         "libutils",
     57         "libcutils",
     58         "libvts_common",
     59         "libvts_datatype",
     60         "libvts_drivercomm",
     61         "libvts_measurement",
     62         "libvts_multidevice_proto",
     63         "libcamera_metadata",
     64         "libprotobuf-cpp-full",
     65         "android.hardware.nfc (a] 1.0",
     66         "android.hidl.base (a] 1.0",
     67     ],
     68     export_shared_lib_headers: [
     69         "android.hidl.base (a] 1.0",
     70     ],
     71 }
     72 
     73 // Build VTS profiler.
     74 genrule {
     75     name: "android.hardware.nfc (a] 1.0-vts.profiler_genc++",
     76     tools: ["hidl-gen", "vtsc"],
     77     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
     78     srcs: [
     79         ":android.hardware.nfc (a] 1.0_hal",
     80     ],
     81     out: [
     82         "android/hardware/nfc/1.0/Nfc.vts.cpp",
     83         "android/hardware/nfc/1.0/NfcClientCallback.vts.cpp",
     84         "android/hardware/nfc/1.0/types.vts.cpp",
     85     ],
     86 }
     87 
     88 genrule {
     89     name: "android.hardware.nfc (a] 1.0-vts.profiler_genc++_headers",
     90     tools: ["hidl-gen", "vtsc"],
     91     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/",
     92     srcs: [
     93         ":android.hardware.nfc (a] 1.0_hal",
     94     ],
     95     out: [
     96         "android/hardware/nfc/1.0/Nfc.vts.h",
     97         "android/hardware/nfc/1.0/NfcClientCallback.vts.h",
     98         "android/hardware/nfc/1.0/types.vts.h",
     99     ],
    100 }
    101 
    102 cc_library_shared {
    103     name: "android.hardware.nfc (a] 1.0-vts.profiler",
    104     generated_sources: ["android.hardware.nfc (a] 1.0-vts.profiler_genc++"],
    105     generated_headers: ["android.hardware.nfc (a] 1.0-vts.profiler_genc++_headers"],
    106     export_generated_headers: ["android.hardware.nfc (a] 1.0-vts.profiler_genc++_headers"],
    107     shared_libs: [
    108         "libbase",
    109         "libhidlbase",
    110         "libhidltransport",
    111         "libvts_profiling",
    112         "libvts_multidevice_proto",
    113         "libprotobuf-cpp-full",
    114         "android.hardware.nfc (a] 1.0",
    115         "android.hidl.base (a] 1.0",
    116     ],
    117 }
    118 
    119