summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTri Vo2017-02-07 21:13:25 -0600
committerTri Vo2017-02-07 21:13:28 -0600
commitce608bec74a947ebd9875004dc5dc4594629c440 (patch)
tree74ff1a4436fc0e5cffaaa5fe731bb1089a98f35d /media/1.0/Android.bp
parentbd397ba5e12238e098e9d8379f5008952e7a368b (diff)
downloadplatform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.tar.gz
platform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.tar.xz
platform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.zip
Migrate driver/profiler to test/vts-testcase/hal.
Bug: 34893894 Test: mmma hardware/interfaces Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
Diffstat (limited to 'media/1.0/Android.bp')
-rw-r--r--media/1.0/Android.bp102
1 files changed, 7 insertions, 95 deletions
diff --git a/media/1.0/Android.bp b/media/1.0/Android.bp
index 5f81ca09..36e9effe 100644
--- a/media/1.0/Android.bp
+++ b/media/1.0/Android.bp
@@ -1,5 +1,12 @@
1// This file is autogenerated by hidl-gen. Do not edit manually. 1// This file is autogenerated by hidl-gen. Do not edit manually.
2 2
3filegroup {
4 name: "android.hardware.media@1.0_hal",
5 srcs: [
6 "types.hal",
7 ],
8}
9
3genrule { 10genrule {
4 name: "android.hardware.media@1.0_genc++", 11 name: "android.hardware.media@1.0_genc++",
5 tools: ["hidl-gen"], 12 tools: ["hidl-gen"],
@@ -46,98 +53,3 @@ cc_library_shared {
46 "android.hardware.graphics.common@1.0", 53 "android.hardware.graphics.common@1.0",
47 ], 54 ],
48} 55}
49
50genrule {
51 name: "android.hardware.media.vts.driver@1.0_genc++",
52 tools: ["hidl-gen", "vtsc"],
53 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/media/1.0/ $(genDir)/android/hardware/media/1.0/",
54 srcs: [
55 "types.hal",
56 ],
57 out: [
58 "android/hardware/media/1.0/types.vts.cpp",
59 ],
60}
61
62genrule {
63 name: "android.hardware.media.vts.driver@1.0_genc++_headers",
64 tools: ["hidl-gen", "vtsc"],
65 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/media/1.0/ $(genDir)/android/hardware/media/1.0/",
66 srcs: [
67 "types.hal",
68 ],
69 out: [
70 "android/hardware/media/1.0/types.vts.h",
71 ],
72}
73
74cc_library_shared {
75 name: "android.hardware.media.vts.driver@1.0",
76 generated_sources: ["android.hardware.media.vts.driver@1.0_genc++"],
77 generated_headers: ["android.hardware.media.vts.driver@1.0_genc++_headers"],
78 export_generated_headers: ["android.hardware.media.vts.driver@1.0_genc++_headers"],
79 shared_libs: [
80 "libhidlbase",
81 "libhidltransport",
82 "libhwbinder",
83 "liblog",
84 "libutils",
85 "libcutils",
86 "libvts_common",
87 "libvts_datatype",
88 "libvts_measurement",
89 "libvts_multidevice_proto",
90 "libcamera_metadata",
91 "libprotobuf-cpp-full",
92 "android.hardware.graphics.common@1.0",
93 "android.hardware.media@1.0",
94 ],
95 export_shared_lib_headers: [
96 "libhidlbase",
97 "libhidltransport",
98 "libhwbinder",
99 "libutils",
100 "android.hardware.graphics.common@1.0",
101 ],
102}
103
104genrule {
105 name: "android.hardware.media@1.0-vts.profiler_genc++",
106 tools: ["hidl-gen", "vtsc"],
107 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/media/1.0/ $(genDir)/android/hardware/media/1.0/",
108 srcs: [
109 "types.hal",
110 ],
111 out: [
112 "android/hardware/media/1.0/types.vts.cpp",
113 ],
114}
115
116genrule {
117 name: "android.hardware.media@1.0-vts.profiler_genc++_headers",
118 tools: ["hidl-gen", "vtsc"],
119 cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.media@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/media/1.0/ $(genDir)/android/hardware/media/1.0/",
120 srcs: [
121 "types.hal",
122 ],
123 out: [
124 "android/hardware/media/1.0/types.vts.h",
125 ],
126}
127
128cc_library_shared {
129 name: "android.hardware.media@1.0-vts.profiler",
130 generated_sources: ["android.hardware.media@1.0-vts.profiler_genc++"],
131 generated_headers: ["android.hardware.media@1.0-vts.profiler_genc++_headers"],
132 export_generated_headers: ["android.hardware.media@1.0-vts.profiler_genc++_headers"],
133 shared_libs: [
134 "libbase",
135 "libhidlbase",
136 "libhidltransport",
137 "libvts_profiling",
138 "libvts_multidevice_proto",
139 "libprotobuf-cpp-full",
140 "android.hardware.graphics.common@1.0",
141 "android.hardware.media@1.0",
142 ],
143}