blob: 171ea84758af9874715d7a6393227c2f506b0bd0 [file] [log] [blame]
Dan Willemsen242b34e2016-09-28 16:12:24 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3genrule {
4 name: "android.hardware.tests.foo@1.0_genc++",
Colin Crossb785f5b2016-11-04 15:02:42 -07005 tools: ["hidl-gen"],
Yifan Hong50183942016-11-28 16:09:37 -08006 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.tests.foo@1.0",
Dan Willemsen242b34e2016-09-28 16:12:24 -07007 srcs: [
8 "types.hal",
9 "IFoo.hal",
10 "IFooCallback.hal",
Yifan Hong799ebcb2016-10-05 12:15:51 -070011 "IMyTypes.hal",
Andreas Huber847b1452016-10-19 14:10:55 -070012 "ISimple.hal",
Yifan Hong799ebcb2016-10-05 12:15:51 -070013 "ITheirTypes.hal",
Dan Willemsen242b34e2016-09-28 16:12:24 -070014 ],
15 out: [
16 "android/hardware/tests/foo/1.0/types.cpp",
17 "android/hardware/tests/foo/1.0/FooAll.cpp",
18 "android/hardware/tests/foo/1.0/FooCallbackAll.cpp",
Yifan Hong799ebcb2016-10-05 12:15:51 -070019 "android/hardware/tests/foo/1.0/MyTypesAll.cpp",
Andreas Huber847b1452016-10-19 14:10:55 -070020 "android/hardware/tests/foo/1.0/SimpleAll.cpp",
Yifan Hong799ebcb2016-10-05 12:15:51 -070021 "android/hardware/tests/foo/1.0/TheirTypesAll.cpp",
Dan Willemsen242b34e2016-09-28 16:12:24 -070022 ],
23}
24
25genrule {
26 name: "android.hardware.tests.foo@1.0_genc++_headers",
Colin Crossb785f5b2016-11-04 15:02:42 -070027 tools: ["hidl-gen"],
Yifan Hong50183942016-11-28 16:09:37 -080028 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.tests.foo@1.0",
Dan Willemsen242b34e2016-09-28 16:12:24 -070029 srcs: [
30 "types.hal",
31 "IFoo.hal",
32 "IFooCallback.hal",
Yifan Hong799ebcb2016-10-05 12:15:51 -070033 "IMyTypes.hal",
Andreas Huber847b1452016-10-19 14:10:55 -070034 "ISimple.hal",
Yifan Hong799ebcb2016-10-05 12:15:51 -070035 "ITheirTypes.hal",
Dan Willemsen242b34e2016-09-28 16:12:24 -070036 ],
37 out: [
38 "android/hardware/tests/foo/1.0/types.h",
39 "android/hardware/tests/foo/1.0/IFoo.h",
40 "android/hardware/tests/foo/1.0/IHwFoo.h",
41 "android/hardware/tests/foo/1.0/BnFoo.h",
42 "android/hardware/tests/foo/1.0/BpFoo.h",
43 "android/hardware/tests/foo/1.0/BsFoo.h",
44 "android/hardware/tests/foo/1.0/IFooCallback.h",
45 "android/hardware/tests/foo/1.0/IHwFooCallback.h",
46 "android/hardware/tests/foo/1.0/BnFooCallback.h",
47 "android/hardware/tests/foo/1.0/BpFooCallback.h",
48 "android/hardware/tests/foo/1.0/BsFooCallback.h",
Yifan Hong799ebcb2016-10-05 12:15:51 -070049 "android/hardware/tests/foo/1.0/IMyTypes.h",
50 "android/hardware/tests/foo/1.0/IHwMyTypes.h",
51 "android/hardware/tests/foo/1.0/BnMyTypes.h",
52 "android/hardware/tests/foo/1.0/BpMyTypes.h",
53 "android/hardware/tests/foo/1.0/BsMyTypes.h",
Andreas Huber847b1452016-10-19 14:10:55 -070054 "android/hardware/tests/foo/1.0/ISimple.h",
55 "android/hardware/tests/foo/1.0/IHwSimple.h",
56 "android/hardware/tests/foo/1.0/BnSimple.h",
57 "android/hardware/tests/foo/1.0/BpSimple.h",
58 "android/hardware/tests/foo/1.0/BsSimple.h",
Yifan Hong799ebcb2016-10-05 12:15:51 -070059 "android/hardware/tests/foo/1.0/ITheirTypes.h",
60 "android/hardware/tests/foo/1.0/IHwTheirTypes.h",
61 "android/hardware/tests/foo/1.0/BnTheirTypes.h",
62 "android/hardware/tests/foo/1.0/BpTheirTypes.h",
63 "android/hardware/tests/foo/1.0/BsTheirTypes.h",
Dan Willemsen242b34e2016-09-28 16:12:24 -070064 ],
65}
66
67cc_library_shared {
68 name: "android.hardware.tests.foo@1.0",
69 generated_sources: ["android.hardware.tests.foo@1.0_genc++"],
70 generated_headers: ["android.hardware.tests.foo@1.0_genc++_headers"],
71 export_generated_headers: ["android.hardware.tests.foo@1.0_genc++_headers"],
72 shared_libs: [
Yifan Hong6b920e42016-11-16 14:17:58 -080073 "libhidlbase",
74 "libhidltransport",
Dan Willemsen242b34e2016-09-28 16:12:24 -070075 "libhwbinder",
Steven Morelandf8d68ec2016-11-21 16:28:54 -080076 "liblog",
Dan Willemsen242b34e2016-09-28 16:12:24 -070077 "libutils",
78 "libcutils",
Yifan Hong50183942016-11-28 16:09:37 -080079 "android.hidl.base@1.0",
Dan Willemsen242b34e2016-09-28 16:12:24 -070080 ],
Steven Moreland79820582016-11-01 13:04:54 -070081 export_shared_lib_headers: [
Yifan Hong6b920e42016-11-16 14:17:58 -080082 "libhidlbase",
83 "libhidltransport",
Steven Moreland79820582016-11-01 13:04:54 -070084 "libhwbinder",
85 "libutils",
Yifan Hong50183942016-11-28 16:09:37 -080086 "android.hidl.base@1.0",
Steven Morelandce977942016-10-21 13:40:54 -070087 ],
Dan Willemsen242b34e2016-09-28 16:12:24 -070088}