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.vibrator (a] 1.2-vts.spec",
      7     hidl_gen_args: "-r android.hardware:hardware/interfaces",
      8     srcs: [
      9         ":android.hardware.vibrator (a] 1.2_hal",
     10     ],
     11     out: [
     12         "android/hardware/vibrator/1.2/Vibrator.vts",
     13         "android/hardware/vibrator/1.2/types.vts",
     14     ],
     15 }
     16 
     17 // Build VTS driver.
     18 genrule {
     19     name: "android.hardware.vibrator (a] 1.2-vts.driver_genc++",
     20     tools: ["hidl-gen", "vtsc"],
     21     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.vibrator (a] 1.2 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/vibrator/1.2/ $(genDir)/android/hardware/vibrator/1.2/",
     22     srcs: [
     23         ":android.hardware.vibrator (a] 1.2_hal",
     24     ],
     25     out: [
     26         "android/hardware/vibrator/1.2/Vibrator.vts.cpp",
     27         "android/hardware/vibrator/1.2/types.vts.cpp",
     28     ],
     29 }
     30 
     31 genrule {
     32     name: "android.hardware.vibrator (a] 1.2-vts.driver_genc++_headers",
     33     tools: ["hidl-gen", "vtsc"],
     34     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.vibrator (a] 1.2 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/vibrator/1.2/ $(genDir)/android/hardware/vibrator/1.2/",
     35     srcs: [
     36         ":android.hardware.vibrator (a] 1.2_hal",
     37     ],
     38     out: [
     39         "android/hardware/vibrator/1.2/Vibrator.vts.h",
     40         "android/hardware/vibrator/1.2/types.vts.h",
     41     ],
     42 }
     43 
     44 cc_library_shared {
     45     name: "android.hardware.vibrator (a] 1.2-vts.driver",
     46     generated_sources: ["android.hardware.vibrator (a] 1.2-vts.driver_genc++"],
     47     generated_headers: ["android.hardware.vibrator (a] 1.2-vts.driver_genc++_headers"],
     48     export_generated_headers: ["android.hardware.vibrator (a] 1.2-vts.driver_genc++_headers"],
     49     defaults: ["VtsHalDriverDefaults"],
     50     shared_libs: [
     51         "android.hardware.vibrator (a] 1.0-vts.driver",
     52         "android.hardware.vibrator (a] 1.1-vts.driver",
     53     ],
     54     static_libs: [
     55         "android.hardware.vibrator (a] 1.0",
     56         "android.hardware.vibrator (a] 1.1",
     57         "android.hardware.vibrator (a] 1.2",
     58     ],
     59 }
     60 
     61 // Build VTS profiler.
     62 genrule {
     63     name: "android.hardware.vibrator (a] 1.2-vts.profiler_genc++",
     64     tools: ["hidl-gen", "vtsc"],
     65     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.vibrator (a] 1.2 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/vibrator/1.2/ $(genDir)/android/hardware/vibrator/1.2/",
     66     srcs: [
     67         ":android.hardware.vibrator (a] 1.2_hal",
     68     ],
     69     out: [
     70         "android/hardware/vibrator/1.2/Vibrator.vts.cpp",
     71         "android/hardware/vibrator/1.2/types.vts.cpp",
     72     ],
     73 }
     74 
     75 genrule {
     76     name: "android.hardware.vibrator (a] 1.2-vts.profiler_genc++_headers",
     77     tools: ["hidl-gen", "vtsc"],
     78     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.vibrator (a] 1.2 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/vibrator/1.2/ $(genDir)/android/hardware/vibrator/1.2/",
     79     srcs: [
     80         ":android.hardware.vibrator (a] 1.2_hal",
     81     ],
     82     out: [
     83         "android/hardware/vibrator/1.2/Vibrator.vts.h",
     84         "android/hardware/vibrator/1.2/types.vts.h",
     85     ],
     86 }
     87 
     88 cc_library_shared {
     89     name: "android.hardware.vibrator (a] 1.2-vts.profiler",
     90     generated_sources: ["android.hardware.vibrator (a] 1.2-vts.profiler_genc++"],
     91     generated_headers: ["android.hardware.vibrator (a] 1.2-vts.profiler_genc++_headers"],
     92     export_generated_headers: ["android.hardware.vibrator (a] 1.2-vts.profiler_genc++_headers"],
     93     defaults: ["VtsHalProfilerDefaults"],
     94     shared_libs: [
     95         "android.hardware.vibrator (a] 1.0-vts.profiler",
     96         "android.hardware.vibrator (a] 1.1-vts.profiler",
     97     ],
     98     static_libs: [
     99         "android.hardware.vibrator (a] 1.0",
    100         "android.hardware.vibrator (a] 1.1",
    101         "android.hardware.vibrator (a] 1.2",
    102     ],
    103 }
    104 
    105