OSDN Git Service

98a509bb5a4a98f4edf99fbc0a60bf6aa283cd08
[android-x86/hardware-interfaces.git] / graphics / mapper / 2.0 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
2
3 filegroup {
4     name: "android.hardware.graphics.mapper@2.0_hal",
5     srcs: [
6         "types.hal",
7         "IMapper.hal",
8     ],
9 }
10
11 genrule {
12     name: "android.hardware.graphics.mapper@2.0_genc++",
13     tools: ["hidl-gen"],
14     cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.0",
15     srcs: [
16         ":android.hardware.graphics.mapper@2.0_hal",
17     ],
18     out: [
19         "android/hardware/graphics/mapper/2.0/types.cpp",
20         "android/hardware/graphics/mapper/2.0/MapperAll.cpp",
21     ],
22 }
23
24 genrule {
25     name: "android.hardware.graphics.mapper@2.0_genc++_headers",
26     tools: ["hidl-gen"],
27     cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.0",
28     srcs: [
29         ":android.hardware.graphics.mapper@2.0_hal",
30     ],
31     out: [
32         "android/hardware/graphics/mapper/2.0/types.h",
33         "android/hardware/graphics/mapper/2.0/hwtypes.h",
34         "android/hardware/graphics/mapper/2.0/IMapper.h",
35         "android/hardware/graphics/mapper/2.0/IHwMapper.h",
36         "android/hardware/graphics/mapper/2.0/BnHwMapper.h",
37         "android/hardware/graphics/mapper/2.0/BpHwMapper.h",
38         "android/hardware/graphics/mapper/2.0/BsMapper.h",
39     ],
40 }
41
42 cc_library_shared {
43     name: "android.hardware.graphics.mapper@2.0",
44     generated_sources: ["android.hardware.graphics.mapper@2.0_genc++"],
45     generated_headers: ["android.hardware.graphics.mapper@2.0_genc++_headers"],
46     export_generated_headers: ["android.hardware.graphics.mapper@2.0_genc++_headers"],
47     shared_libs: [
48         "libhidlbase",
49         "libhidltransport",
50         "libhwbinder",
51         "liblog",
52         "libutils",
53         "libcutils",
54         "android.hardware.graphics.allocator@2.0",
55         "android.hardware.graphics.common@1.0",
56         "android.hidl.base@1.0",
57     ],
58     export_shared_lib_headers: [
59         "libhidlbase",
60         "libhidltransport",
61         "libhwbinder",
62         "libutils",
63         "android.hardware.graphics.allocator@2.0",
64         "android.hardware.graphics.common@1.0",
65         "android.hidl.base@1.0",
66     ],
67 }