]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/blob - broadcastradio/1.0/Android.bp
Update for Soong java makefiles.
[android/platform-hardware-interfaces.git] / broadcastradio / 1.0 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
3 filegroup {
4     name: "android.hardware.broadcastradio@1.0_hal",
5     srcs: [
6         "types.hal",
7         "IBroadcastRadio.hal",
8         "IBroadcastRadioFactory.hal",
9         "ITuner.hal",
10         "ITunerCallback.hal",
11     ],
12 }
14 genrule {
15     name: "android.hardware.broadcastradio@1.0_genc++",
16     tools: ["hidl-gen"],
17     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.0",
18     srcs: [
19         ":android.hardware.broadcastradio@1.0_hal",
20     ],
21     out: [
22         "android/hardware/broadcastradio/1.0/types.cpp",
23         "android/hardware/broadcastradio/1.0/BroadcastRadioAll.cpp",
24         "android/hardware/broadcastradio/1.0/BroadcastRadioFactoryAll.cpp",
25         "android/hardware/broadcastradio/1.0/TunerAll.cpp",
26         "android/hardware/broadcastradio/1.0/TunerCallbackAll.cpp",
27     ],
28 }
30 genrule {
31     name: "android.hardware.broadcastradio@1.0_genc++_headers",
32     tools: ["hidl-gen"],
33     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.0",
34     srcs: [
35         ":android.hardware.broadcastradio@1.0_hal",
36     ],
37     out: [
38         "android/hardware/broadcastradio/1.0/types.h",
39         "android/hardware/broadcastradio/1.0/hwtypes.h",
40         "android/hardware/broadcastradio/1.0/IBroadcastRadio.h",
41         "android/hardware/broadcastradio/1.0/IHwBroadcastRadio.h",
42         "android/hardware/broadcastradio/1.0/BnHwBroadcastRadio.h",
43         "android/hardware/broadcastradio/1.0/BpHwBroadcastRadio.h",
44         "android/hardware/broadcastradio/1.0/BsBroadcastRadio.h",
45         "android/hardware/broadcastradio/1.0/IBroadcastRadioFactory.h",
46         "android/hardware/broadcastradio/1.0/IHwBroadcastRadioFactory.h",
47         "android/hardware/broadcastradio/1.0/BnHwBroadcastRadioFactory.h",
48         "android/hardware/broadcastradio/1.0/BpHwBroadcastRadioFactory.h",
49         "android/hardware/broadcastradio/1.0/BsBroadcastRadioFactory.h",
50         "android/hardware/broadcastradio/1.0/ITuner.h",
51         "android/hardware/broadcastradio/1.0/IHwTuner.h",
52         "android/hardware/broadcastradio/1.0/BnHwTuner.h",
53         "android/hardware/broadcastradio/1.0/BpHwTuner.h",
54         "android/hardware/broadcastradio/1.0/BsTuner.h",
55         "android/hardware/broadcastradio/1.0/ITunerCallback.h",
56         "android/hardware/broadcastradio/1.0/IHwTunerCallback.h",
57         "android/hardware/broadcastradio/1.0/BnHwTunerCallback.h",
58         "android/hardware/broadcastradio/1.0/BpHwTunerCallback.h",
59         "android/hardware/broadcastradio/1.0/BsTunerCallback.h",
60     ],
61 }
63 cc_library {
64     name: "android.hardware.broadcastradio@1.0",
65     defaults: ["hidl-module-defaults"],
66     generated_sources: ["android.hardware.broadcastradio@1.0_genc++"],
67     generated_headers: ["android.hardware.broadcastradio@1.0_genc++_headers"],
68     export_generated_headers: ["android.hardware.broadcastradio@1.0_genc++_headers"],
69     vendor_available: true,
70     vndk: {
71         enabled: true,
72     },
73     shared_libs: [
74         "libhidlbase",
75         "libhidltransport",
76         "libhwbinder",
77         "liblog",
78         "libutils",
79         "libcutils",
80     ],
81     export_shared_lib_headers: [
82         "libhidlbase",
83         "libhidltransport",
84         "libhwbinder",
85         "libutils",
86     ],
87 }
89 // This package is not java compatible. Not creating java target.
91 // This package does not export any types. Not creating java constants export.
94 genrule {
95     name: "android.hardware.broadcastradio@1.0-adapter-helper_genc++",
96     tools: ["hidl-gen"],
97     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.0",
98     srcs: [
99         ":android.hardware.broadcastradio@1.0_hal",
100     ],
101     out: [
102         "android/hardware/broadcastradio/1.0/ABroadcastRadio.cpp",
103         "android/hardware/broadcastradio/1.0/ABroadcastRadioFactory.cpp",
104         "android/hardware/broadcastradio/1.0/ATuner.cpp",
105         "android/hardware/broadcastradio/1.0/ATunerCallback.cpp",
106     ],
109 genrule {
110     name: "android.hardware.broadcastradio@1.0-adapter-helper_genc++_headers",
111     tools: ["hidl-gen"],
112     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.0",
113     srcs: [
114         ":android.hardware.broadcastradio@1.0_hal",
115     ],
116     out: [
117         "android/hardware/broadcastradio/1.0/ABroadcastRadio.h",
118         "android/hardware/broadcastradio/1.0/ABroadcastRadioFactory.h",
119         "android/hardware/broadcastradio/1.0/ATuner.h",
120         "android/hardware/broadcastradio/1.0/ATunerCallback.h",
121     ],
124 cc_library {
125     name: "android.hardware.broadcastradio@1.0-adapter-helper",
126     defaults: ["hidl-module-defaults"],
127     generated_sources: ["android.hardware.broadcastradio@1.0-adapter-helper_genc++"],
128     generated_headers: ["android.hardware.broadcastradio@1.0-adapter-helper_genc++_headers"],
129     export_generated_headers: ["android.hardware.broadcastradio@1.0-adapter-helper_genc++_headers"],
130     vendor_available: true,
131     shared_libs: [
132         "libhidlbase",
133         "libhidltransport",
134         "libhwbinder",
135         "liblog",
136         "libutils",
137         "libcutils",
138         "libhidladapter",
139         "android.hardware.broadcastradio@1.0",
140         "android.hidl.base@1.0-adapter-helper",
141     ],
142     export_shared_lib_headers: [
143         "libhidlbase",
144         "libhidltransport",
145         "libhwbinder",
146         "libutils",
147         "libhidladapter",
148         "android.hardware.broadcastradio@1.0",
149         "android.hidl.base@1.0-adapter-helper",
150     ],
153 genrule {
154     name: "android.hardware.broadcastradio@1.0-adapter_genc++",
155     tools: ["hidl-gen"],
156     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.broadcastradio@1.0",
157     out: ["main.cpp"]
160 cc_test {
161     name: "android.hardware.broadcastradio@1.0-adapter",
162     defaults: ["hidl-module-defaults"],
163     shared_libs: [
164         "libhidladapter",
165         "libhidlbase",
166         "libhidltransport",
167         "libutils",
168         "android.hardware.broadcastradio@1.0",
169         "android.hardware.broadcastradio@1.0-adapter-helper",
170     ],
171     generated_sources: ["android.hardware.broadcastradio@1.0-adapter_genc++"],