Home | History | Annotate | Download | only in 2.0
      1 // This file is autogenerated by hidl-gen. Do not edit manually.
      2 
      3 filegroup {
      4     name: "android.hardware.light (a] 2.0_hal",
      5     srcs: [
      6         "types.hal",
      7         "ILight.hal",
      8     ],
      9 }
     10 
     11 genrule {
     12     name: "android.hardware.light (a] 2.0_genc++",
     13     tools: ["hidl-gen"],
     14     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.light (a] 2.0",
     15     srcs: [
     16         ":android.hardware.light (a] 2.0_hal",
     17     ],
     18     out: [
     19         "android/hardware/light/2.0/types.cpp",
     20         "android/hardware/light/2.0/LightAll.cpp",
     21     ],
     22 }
     23 
     24 genrule {
     25     name: "android.hardware.light (a] 2.0_genc++_headers",
     26     tools: ["hidl-gen"],
     27     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.light (a] 2.0",
     28     srcs: [
     29         ":android.hardware.light (a] 2.0_hal",
     30     ],
     31     out: [
     32         "android/hardware/light/2.0/types.h",
     33         "android/hardware/light/2.0/hwtypes.h",
     34         "android/hardware/light/2.0/ILight.h",
     35         "android/hardware/light/2.0/IHwLight.h",
     36         "android/hardware/light/2.0/BnHwLight.h",
     37         "android/hardware/light/2.0/BpHwLight.h",
     38         "android/hardware/light/2.0/BsLight.h",
     39     ],
     40 }
     41 
     42 cc_library {
     43     name: "android.hardware.light (a] 2.0",
     44     defaults: ["hidl-module-defaults"],
     45     generated_sources: ["android.hardware.light (a] 2.0_genc++"],
     46     generated_headers: ["android.hardware.light (a] 2.0_genc++_headers"],
     47     export_generated_headers: ["android.hardware.light (a] 2.0_genc++_headers"],
     48     vendor_available: true,
     49     vndk: {
     50         enabled: true,
     51     },
     52     shared_libs: [
     53         "libhidlbase",
     54         "libhidltransport",
     55         "libhwbinder",
     56         "liblog",
     57         "libutils",
     58         "libcutils",
     59     ],
     60     export_shared_lib_headers: [
     61         "libhidlbase",
     62         "libhidltransport",
     63         "libhwbinder",
     64         "libutils",
     65     ],
     66 }
     67